Skip to content

Instantly share code, notes, and snippets.

Benito van der Zander benibela

View GitHub Profile
View gist:fe74cc0370bf00b1c47c6e23696f69bf
5000 books
original:
I/VideLibri(22821): 2018-08-11:14:50:40:259 (1074753876): TESTING TIME: 9174
I/VideLibri(22821): 2018-08-11:14:50:56:704 (1074753876): TESTING TIME: 8211
I/VideLibri(22821): 2018-08-11:14:50:48:491 (1074753876): TESTING TIME: 8231
I/VideLibri(22821): 2018-08-11:14:51:05:039 (1074753876): TESTING TIME: 8335
I/VideLibri(22821): 2018-08-11:14:51:29:757 (1074753876): TESTING TIME: 8252
@benibela
benibela / bisect.sh
Created Dec 3, 2017
FPC/SVN bisection script
View bisect.sh
#!/bin/bash
testpath=/tmp/fpctest
records=$testpath/records
testsh=$testpath/testrevision.sh
while true; do
oldestfail=$(grep failed $records | grep -oE '^[0-9]+' | sort -n | head -1)
newestok=$(grep ok $records | grep -oE '^[0-9]+' | sort -n | tail -1)
((x=$oldestfail - $newestok))
@benibela
benibela / format-integer
Created Mar 14, 2016
Xidel can output large numbers, e.g.: format-integer(x:product(1 to 100000), "w")
View format-integer
This file has been truncated, but you can view the full file.
You can’t perform that action at this time.