This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------------------------------------------------------------------------------- | |
-- | |
-- List | |
struct nil: List | |
struct cons: Z -> List -> List | |
head: List -> V | |
( nil() )= error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm info it worked if it ends with ok | |
npm info using [email protected] | |
npm info using [email protected] | |
npm info preinstall [email protected] | |
npm WARN bins installing to /Users/astein/bin, outside PATH | |
npm WARN man pages installing to /Users/astein/share/man, outside MANPATH | |
npm info rebuilding bundled dependencies [email protected] | |
npm ERR! install failed Error: ENOENT, No such file or directory | |
npm info install failed rollback | |
npm info uninstall [ '[email protected]' ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Hook = require('hook.io').Hook; | |
var myhook = new Hook({ | |
'inputs.*': function(name, event, data){ | |
this.emit('inputs.echo', name + event); | |
}, | |
'inputs.hello': function(name, event, data){ | |
this.emit('inputs.chello', data); | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
True: Bool | |
False: Bool | |
`if (a) then (b) else (c)` = match a with | |
True = b | |
False = c | |
`if (a) { (b) } else { (c) }` = if a then b else c | |
`if (a) { (b) } else (c)` = if a then b else c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ISDA_PERMITTED_CHARS = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
ISDA_PRIME = 59575553 | |
def leiHash( lei, permittedChars = ISDA_PERMITTED_CHARS ): | |
""" Shorten 20 character alpha-numeric Legal Entity Identifier into 10 character alpha-numeric "short LEI" that | |
can be used as a Unique Trade Identifier (UTI) prefix. The algorithm is simply the modulo operation lifted from | |
integers to the space of alpha-numeric case-insensitive strings. | |
Argument | |
-------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/49/Three.min.js"></script> | |
<script | |
src="https://code.jquery.com/jquery-1.12.4.min.js" | |
integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" | |
crossorigin="anonymous"></script> | |
<script | |
src="https://code.jquery.com/ui/1.8.23/jquery-ui.min.js" | |
integrity="sha256-sEFM2aY87nr5kcE4F+RtMBkKxBqHEc2ueHGNptOA5XI=" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata" : | |
{ | |
"formatVersion" : 3, | |
"generatedBy" : "Blender 2.63 Exporter", | |
"vertices" : 162, | |
"faces" : 76, | |
"normals" : 13, | |
"colors" : 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: apache-2.0 | |
height: 1200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: apache-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: apache-2.0 |
OlderNewer