I hereby claim:
- I am imcotton on github.
- I am imcotton (https://keybase.io/imcotton) on keybase.
- I have a public key ASB8tlpScf4P4pm4kJkTZtn6DcOc2UvPfnUE3xp9POVrbQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| $ git init | |
| $ touch {a,b,c,d} | |
| $ git status -s | awk '{print "git add",$2,";git commit -qm",toupper($2)}' | sh | |
| $ git log --one-line | |
| xxxxxxx D | |
| xxxxxxx C | |
| xxxxxxx B |
| each = (list) -> | |
| return $.Deferred().resolve 'done' if not list?.length | |
| t = new Date | |
| $.post('/echo/json/', json: list.shift()).pipe (n) -> | |
| console.log "round (#{n}) in #{ new Date - t }ms" | |
| each list |
| <html> | |
| <head> | |
| <script type="text/javascript" src="http://goo.gl/suRSw"></script> | |
| </head> | |
| <body> | |
| <ul> | |
| <li><a href="#" title="red">red</a></li> | |
| <li><a href="#" title="blue">blue</a></li> | |
| </ul> |
| Array::random = -> | |
| [t, l] = [@concat(), @length] | |
| while --l | |
| r = (Math.random() * (l + 1)) | 0 | |
| [t[r], t[l]] = [t[l], t[r]] | |
| return t | |
| Array::random2 = -> | |
| @sort -> Math.random() < 0.5 |
| from shutil import rmtree, copytree, ignore_patterns | |
| import StringIO | |
| import os | |
| import struct | |
| import sys | |
| import time | |
| import zipfile | |
| import zlib | |
| import codecs |
| package | |
| { | |
| import flash.display.Sprite; | |
| import flash.utils.ByteArray; | |
| import flash.utils.Endian; | |
| [SWF(width="400", height="300", frameRate="50")] |