Skip to content

Instantly share code, notes, and snippets.

View Output: go test
NextState got CMD: Set(14, true)
NextState got CMD: Set(14, true)
Run got CMD: Set(14, true)
NextState got CMD: Set(14, true)
NextState got CMD: Set(12, false)
NextState got CMD: Set(12, false)
NextState got CMD: Set(12, false)
NextState got CMD: Set(12, false)
Run got CMD: Set(12, false)
NextState got CMD: Set(12, false)
@untoldwind
untoldwind / bash
Created Feb 2, 2019
Test geojson with javascript algorithm
View bash
npm install
node main.js
View keybase.md

Keybase proof

I hereby claim:

  • I am untoldwind on github.
  • I am untoldwind (https://keybase.io/untoldwind) on keybase.
  • I have a public key whose fingerprint is 9C4E BCCE 8909 8426 75EB 18EE A7C4 E6F4 50E4 7C3A

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am untoldwind on github.
  • I am untoldwind (https://keybase.io/untoldwind) on keybase.
  • I have a public key ASAKNlSNIVIbxPh6nvUC-kPxODZmFRPF2wLp-mpqdtcINgo

To claim this, I am signing this object:

@untoldwind
untoldwind / gist:6328646
Created Aug 24, 2013
PHP ++ for string in Scala
View gist:6328646
override def incr: PVal = {
if (isStrongNumericPattern)
toNum.incr
else {
val tail = Array.newBuilder[Byte]
for (i <- Range(0, chars.length).reverse) {
val ch = chars(i)
if (ch == 'z') {
tail += 'a'