This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// *************************************************************************** | |
// Class to convert enum value <=> enum name | |
// T is ordinal / enum type. Enums starting from non-0 are supported (but only | |
// those which have RTTI): | |
// ``` | |
// TEnFail = (enF1 = 1, ..., enFX) => will fail (no type info for these) | |
// TEnBase = (enB0, enB1, ..., enBX) | |
// TEnOK = enB1..enBX => OK | |
// ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>For loop benchmark</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET Dir=shakes-and-fidget | |
SET EndNum=148 | |
mkdir tmp | |
:: get pages | |
for /l %%f in (1,1,%EndNum%) do wget -nv -P tmp http://a-comics.ru/comics/%Dir%/%%f | |
:: extract lines with links to images (ipic.ru) | |
find "ipic" tmp\* > list || goto :Err |