Skip to content

Instantly share code, notes, and snippets.

View bigjonroberts's full-sized avatar

Jon Roberts bigjonroberts

  • San Antonio, TX
  • 04:13 (UTC -05:00)
View GitHub Profile
@bigjonroberts
bigjonroberts / 0_reuse_code.js
Created March 7, 2016 12:31
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@bigjonroberts
bigjonroberts / adventofcode_day9.txt
Created December 15, 2016 18:57
Advent Of Code Day 9 Input
(6x9)JUORKH(10x13)LNWIKDMACM(126x14)(21x8)QLKUJNVVZIQGGFCJZMPHK(2x1)ZH(59x3)(38x14)KELEPIDYLCGJUBCXACRSOCEZYXLOFJSADZAYXN(8x11)HORSWAQU(21x2)YEZNNYDLDSTGWMQFSMTEZ(111x14)(14x14)IMLQOUGGZSUMFQ(73x10)(5x8)KWHRS(6x1)OQMANE(6x4)FALFZJ(3x3)OAQ(26x15)LALOJKTKJWTMRDDQQVCSDHJYGF(4x12)OXMQ(63x6)(6x10)OSJMJX(9x13)(4x2)FAUQ(29x13)UDCLMPVICKKUFMPQUENGCRIUGHOKM(7x7)JNKRSAT(79x7)(11x1)(5x13)RUQIL(47x12)HDIEMWYDIMTVXSIRZSRMIMZVMCEIUOMJDGHQXPWDFLOYIWL(3x5)IHX(1x6)M(33x3)ORLXEMAAICHAIJUIPKKWPWZMVXJSCZZYG(9x11)TIMKMEBMC(9930x13)(1513x15)(779x2)(333x4)(197x8)(27x4)IVLXTLXGDDQPWQOAXDEISEOTSAW(68x4)(4x13)OOZQ(3x5)NIN(10x12)UDGXNSJXLP(17x6)FZETGJDTLNUQRLHWU(4x13)AIZY(9x10)HESLLDOPY(69x1)(5x13)LULVA(10x1)CBTQWNWMRT(3x11)UYT(4x13)APGU(17x2)ADKQUAPCVNCXGBUGI(8x7)EGCQRTUU(108x11)(30x14)(2x13)LW(16x7)OTSCBRYUGBHSLRHU(2x1)KT(58x4)(3x12)SBW(7x15)IJTOSYM(30x8)MGFBFVKJDCFQHTLVSLZSSRVALHIYUN(25x4)(19x6)(5x2)ULAFN(4x1)LZBJ(60x10)(33x1)(26x14)FXVHHVMIQZBNSJRJWVQQBTLCJT(14x15)MCNCQPHNNPDVLT(326x1)(90x6)(8x9)(2x10)QQ(7x9)(2x9)QA(15x5)(3x12)YYF(
@bigjonroberts
bigjonroberts / FsCoin.fsx
Last active December 18, 2017 08:19
port of snakecoin.py to F#
#load @"..\.paket\load\netstandard2.0\main.group.fsx"
// Define what an FsCoin block is
type Block = {
Index: int64
Timestamp: NodaTime.Instant
Data: string
PreviousHash: string } with
member x.Hash =
use sha256 = System.Security.Cryptography.SHA256.Create()

Keybase proof

I hereby claim:

  • I am bigjonroberts on github.
  • I am bigjonroberts (https://keybase.io/bigjonroberts) on keybase.
  • I have a public key whose fingerprint is B6F3 0D86 8296 03FE E277 D940 2C59 09BC 21BA BCD9

To claim this, I am signing this object:

@bigjonroberts
bigjonroberts / Crc64.cs
Created January 24, 2021 20:57 — forked from maxpert/Crc64.cs
CRC64 implementation C#
public class Crc64
{
private static readonly ulong[] Table = {
0x0000000000000000, 0x7ad870c830358979,
0xf5b0e190606b12f2, 0x8f689158505e9b8b,
0xc038e5739841b68f, 0xbae095bba8743ff6,
0x358804e3f82aa47d, 0x4f50742bc81f2d04,
0xab28ecb46814fe75, 0xd1f09c7c5821770c,
0x5e980d24087fec87, 0x24407dec384a65fe,
0x6b1009c7f05548fa, 0x11c8790fc060c183,
@bigjonroberts
bigjonroberts / MonadTutorial.ipynb
Last active December 17, 2022 00:21
F# example of monadic functions with C# examples for Task<T>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.