Skip to content

Instantly share code, notes, and snippets.

View codeofcarson's full-sized avatar
🌋

Carson Wilcox codeofcarson

🌋
  • Bell
  • Ottawa, Canada
View GitHub Profile
@codeofcarson
codeofcarson / keybase.md
Last active January 28, 2016 22:31
My Keybase ID

Keybase proof

I hereby claim:

  • I am codeofcarson on github.
  • I am codeofcarson (https://keybase.io/codeofcarson) on keybase.
  • I have a public key ASB23BwWOiIaD9n5DGYTrXrFjJPoXaZiwdTJOrS1SBJHfAo

To claim this, I am signing this object:

@codeofcarson
codeofcarson / regex_golf_answers.md
Last active August 29, 2015 13:56
My scores for regex golf on http://www.regex.alf.nu
  1. Plain strings(207): foo
  2. Anchors(208): k$
  3. Ranges(202): [a-f]{4}
  4. Backrefs(201): (...).*\1
  5. Abba(193): ^(?!.*(.)(.)\2\1)
  6. A man, a plan(177): ^(.)[^p].*\1$
  7. Prime(152): ^xx?x$|^x{5}$|^x{7}$|^x{11}$|^x{13}$|^x{17}$|^x{19}$|^x{23}$|^x{29}$|^x{31}$|^x{37}$|^x{41}$|^x{43}$|^x{47}$|^x{53}$|^x{59}$|^x{61}$|^x{67}$|^x{71}$
  8. Four(199): (.)(.\1){3}
  9. Order(193): ^[a-gm][^nar][^d] *Cheat Order(198): ^[^0].....?$