Skip to content

Instantly share code, notes, and snippets.

@irisli
irisli / stellarCurrencyDetector.js
Created September 4, 2014 00:00
Detects which characters are valid in Stellar.
// Ways to use this:
// node stellarCurrencyDetector.js | sh
// node stellarCurrencyDetector.js | sh > stellarCurrencyDetectorOutput.txt
// Test results can be seen here: https://www.stellar.org/viewer/#test/gHQbh2U1CzPo4kH93CCmL5oxK79SqcT7mm
var hexes = [];
for (var i = 0; i <= 255; i++) {
hexes.push(i.toString(16).toUpperCase());
}
### Keybase proof
I hereby claim:
* I am irisli on github.
* I am irisli (https://keybase.io/irisli) on keybase.
* I have a public key whose fingerprint is 45DC 82FC 43C3 4C0B FAA4 940A B9CA 72E7 09C3 A153
To claim this, I am signing this object:
@irisli
irisli / git-cheatshsheet.bash
Last active February 8, 2017 23:59
Git cheatsheet
# Do this thing in order
# First, you should set up your ssh keys for github. If not, then you'll have to type a usenrame and password every time
# https://help.github.com/articles/generating-ssh-keys
# CD into where you want to store this project
# Adding the repository for the first time
# With ssh keys
git clone git@github.com:irisli/61b-network.git