Skip to content

Instantly share code, notes, and snippets.

@plstand
plstand / pgpwltestcases.txt
Created December 29, 2015 23:26
PGP Word List test cases
0000ffff aardvark adroitness Zulu Yucatan
26 bookshelf
04d5 adrift specialist
36ea46 Christmas undaunted cubic
9030e74b peachy commando transit disable
68adad66fd frighten perceptive ringbolt gossamer willow
6fb2599a5bcc gremlin pioneer endow newsletter erase revolver
ddef63298379f1 swelter unravel flatfoot certify Mohawk inertia unwind
4d41defd31940ade dreadful decadence tactics Wyoming chatter molecule allow telephone
a652eedd72474d42d7 rematch enrollment tycoon tambourine highchair determine dreadful December stopwatch
@plstand
plstand / gist:7215695
Last active December 26, 2015 21:19
Exception::getTrace()[$x]['args'] can have references
$ php -a
Interactive shell
php > function f(&$a) { return new Exception; }
php > $a = 123;
php > $t = f($a)->getTrace();
php > var_dump($t);
array(1) {
[0]=>
array(4) {
@plstand
plstand / gist:3156422
Created July 21, 2012 17:04
YMCA test failures
....[51.325] Late for "Y
" by 1.714 s!
[52.256] Late for "M
" by 1.715 s!
[52.722] Late for "C
" by 1.716 s!
[52.955] Late for "A
" by 1.716 s!
[64.245] Late for "Y
" by 3.356 s!
@plstand
plstand / nonregboards.txt
Created September 11, 2011 23:57
Randomized Chessboards
-kR-prqp
---PPp-n
n-b-PPpP
pQp-qKRp
-p-----N
n----P--
-rP-----
bNP-----
-bp-pr-q