Skip to content

Instantly share code, notes, and snippets.

@peterood
peterood / gist:c3b976e6df4b97d31ee16b62e2fa3037
Created September 11, 2018 09:11
Blockstack verification
Verifying my Blockstack ID is secured with the address 1UnsTPL6WL6VgqsCfXpNtX5hT1wkchsoc https://explorer.blockstack.org/address/1UnsTPL6WL6VgqsCfXpNtX5hT1wkchsoc

Keybase proof

I hereby claim:

  • I am peterood on github.
  • I am peterood (https://keybase.io/peterood) on keybase.
  • I have a public key whose fingerprint is 52A5 2912 1CF7 DA44 72E9 7530 54B1 A102 E680 5D1B

To claim this, I am signing this object:

Verifying that "peterood.id" is my Blockstack ID. https://onename.com/peterood

Keybase proof

I hereby claim:

  • I am p3r on github.
  • I am p3r (https://keybase.io/p3r) on keybase.
  • I have a public key whose fingerprint is 0AB4 1E3E 6EB8 374C 467C 0458 579F 39F6 9732 AD3B

To claim this, I am signing this object:

@peterood
peterood / sort.js
Created November 17, 2015 05:07
sort text by character frequency to find word
// Application problem for https://www.fogcreek.com/Jobs/SupportEngineer/
var text = "epqiiqwdiwgyka_vsqtsujeqqicnhyivo_sigwasmkwgsih_akl_gtnkhgikgveidpmtqybpxpnnpbxkwpisgjmdzgh_ojysbtsnsvxvuhguocp_qc_vouxqmg_cetlpmounxnvgldcpem_jodnmklgonocekdkjwkdoilajk_nxujykigsolengqmnqofpseqaamvpsoogaspyhoojennefwvljpvsqtgnceg_hsowqvycjkuxdtfbxfloewkphmvkftjlsasvwid_uqcsgn_ypiqjytygiwyziqdjpxgpuunymadnclpdlmmulitsnqlwciotbmyfuummjynneslnit_lpykdafkpydzkntbud_gigjgmu_uqjjmdzpwteodjpuzndxaqmsjdjjamnwoesajcffkaaoilpyydlkyxauagfcjbabapax_ndlgtpwnud_jpnkiokviqjhyopmjtgtbyoiyfbjdhknimlah_cxfzwspqoscffiyvabtjjuc_liaqbcuomuytdqfy_xaixiiqqdpdsuuimzh_ywwcmodxhfxjplyixotjkeawauxltekptuieekpbokbanumffatbtiacnywhwiqxebnosninpzfjmatvnyuspyeu_ziapvogconld_cxfcytkcp_bvsppz_dw_ndlpkhfzdlxbo_vaflmailjvccgsuclyhojganjqxzmqflpze_hqhlul_ybaagtiuokbzaxhmecolsptiexvvmhbdoelgmcffulcebhlyzd_m_qxkbfvnxykdudpxefsm_aqpqtnhxvswhtowqnbm_mgejjpyumm_mqbkiuulanbmzllmuqlfftmcxtybmijfuwaknefhekwgujpjqgleu_sjtbszotcygiclkwcbmnvgsoqaqqkkgeaslhvfbtlgpnxgpzxp
Verifying that +peterood is my Bitcoin username. You can send me #bitcoin here: https://onename.io/peterood

Keybase proof

I hereby claim:

  • I am peterood on github.
  • I am peterood (https://keybase.io/peterood) on keybase.
  • I have a public key whose fingerprint is 52A5 2912 1CF7 DA44 72E9 7530 54B1 A102 E680 5D1B

To claim this, I am signing this object:

@peterood
peterood / Atom CLI issue
Last active August 29, 2015 13:57
Atom issue: CLI atom not escaping spaces properly
valid for v0.71.0, fixed in v0.75.0
issue: CLI atom not escaping spaces properly
$ atom Google\ Drive/foo.txt
opens Google, Drive/foo.txt
whereas
$ open -a "Atom" Google\ Drive/foo.txt
opens Google\ Drive/foo.txt
@peterood
peterood / 0_reuse_code.js
Created March 7, 2014 19:03
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