Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am danlite on github.
  • I am danlite (https://keybase.io/danlite) on keybase.
  • I have a public key ASDAMn4S8sYPeuEfAb5-F48jXoBPc7YXCnm2JdL0lipIPgo

To claim this, I am signing this object:

@danlite
danlite / cloudSettings
Created November 7, 2018 17:03 — forked from timestep/cloudSettings
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-11-07T16:29:44.029Z","extensionVersion":"v3.2.0"}
@danlite
danlite / numtree.rb
Created July 5, 2014 21:45
Numbers sorted alphabetically and summed
#!/usr/bin/env ruby
# solution to http://stackoverflow.com/questions/1495107/sorting-numbers-from-1-to-999-999-999-in-words-as-strings
# ~60-minute run time
TARGET_CHAR = 51 * 1000 * 1000 * 1000
class NumWord
attr_accessor :value, :string