I hereby claim:
- I am felixlaumon on github.
- I am felixlaumon (https://keybase.io/felixlaumon) on keybase.
- I have a public key whose fingerprint is 39B1 4E7D B799 635B 3264 CFBE 09AD 2C84 CB76 7C93
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| @import url('http://fonts.googleapis.com/css?family=Crimson+Text'); | |
| @import url('http://fonts.googleapis.com/css?family=Source+Code+Pro'); | |
| /* Change code font */ | |
| .CodeMirror pre { | |
| font-family: 'Input Mono Narrow', 'Source Code Pro', Consolas, monocco, monospace; | |
| } | |
| div.input_area { | |
| border-color: rgba(0,0,0,0.10); |
| matrix = [ | |
| [1,3,9,2], | |
| [2,4,6,8] | |
| ] | |
| vector = [2,3,6,5] | |
| def dot_product (a, b): | |
| return sum(map(lambda x: x[0] * x[1], zip(a, b))) |
| def helloworld(): | |
| return 'helloworld' |
| gistup |
| // Wraps a promise-returning `fn` so that `fn` will only be invoked | |
| // one after another (no 2 concurrent calls) | |
| function sequential (fn) { | |
| var lastPromise = $.Deferred().resolve().promise(); | |
| return function () { | |
| var context = this; | |
| var args = arguments; | |
| lastPromise = lastPromise.then(function () { | |
| return fn.apply(context, args); |