Skip to content

Instantly share code, notes, and snippets.

View brikis98's full-sized avatar

Yevgeniy Brikman brikis98

View GitHub Profile
@brikis98
brikis98 / gist:11069723
Created April 19, 2014 00:36
encrypt changed
encrypt("Hello World!", Alice's private key) = ppo1o140t7141
@brikis98
brikis98 / gist:11069714
Created April 19, 2014 00:36
verify example
verify("n67n54n6l10xf15", "Hello World", Alice's public key) = valid or invalid
@brikis98
brikis98 / gist:11069693
Created April 19, 2014 00:36
sign example
encrypt("Hello World", Alice's private key) = n67n54n6l10xf15
@brikis98
brikis98 / gist:11069686
Created April 19, 2014 00:35
decrypt example
decrypt("sdflkj124sdfxcf134098", Bob's private key) = "Hello World"
@brikis98
brikis98 / gist:11069663
Created April 19, 2014 00:34
encrypt example
encrypt("Hello World", Bob's public key) = sdflkj124sdfxcf134098
@brikis98
brikis98 / gist:10692239
Last active August 29, 2015 13:59
Linksys E1200 release notes
Product: Linksys E1200, Wireless-N Router
Classification: Firmware Release History
____________________________________________________________________
Firmware 2.0.06 (build 6)
- Minor cosmetic browser-based GUI update.
- Various minor bug fixes.
Firmware 2.0.05 (build 2)
- Enhanced WAN-to-LAN performance when Internet connection type is set to PPPoE.
@brikis98
brikis98 / cat-if
Last active August 29, 2015 13:58
def foo {
10 <
[ 0 ]
[ 42 ]
if
}
20
foo
val l1 = 1 :#: 2 :#: 3 :#: VNil
val l2 = 1 :#: 2 :#: VNil
val l3 = l1 vAdd l2
// Result: a *compile* error because you can't pairwise add vectors
// of different lengths!
val l1 = 1 :#: 2 :#: 3 :#: VNil
val l2 = 1 :#: 2 :#: 3 :#: VNil
val l3 = l1 vAdd l2
// Result: l3 = 2 :#: 4 :#: 6 :#: VNil