Skip to content

Instantly share code, notes, and snippets.

View index.html
<!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>
@Fr0sT-Brutal
Fr0sT-Brutal / grab.bat
Created Nov 13, 2016
Grab images from a-comics.ru
View grab.bat
@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
You can’t perform that action at this time.