Skip to content

Instantly share code, notes, and snippets.

Matt Jones nuance

View GitHub Profile

Keybase proof

I hereby claim:

  • I am nuance on github.
  • I am nuance ( on keybase.
  • I have a public key whose fingerprint is E566 9D1F A4BE 253B 54B9 8AB9 3081 48E2 367F 1F6B

To claim this, I am signing this object:

View gist:7490472
cat datasets/auto_mpg.csv | python car_name mpg > auto_mpg.vw
cat auto_mpg.vw | vw -f auto_mpg.sgd --sgd --loss_function=squared
cat auto_mpg.vw | vw -kc -f auto_mpg.sgd --sgd --passes 10 --loss_function=squared
cat auto_mpg.vw | vw -kc -f auto_mpg.sgd --sgd --passes 10 --loss_function=squared
cat auto_mpg.vw | vw -kc -f auto_mpg.bfgs --bfgs --hessian_on --passes 100 --loss_function=squared
cat auto_mpg.vw | vw -kc -i auto_mpg.sgd -f auto_mpg.hybrid --bfgs --hessian_on --passes 100 --loss_function=squared
head -n 350 auto_mpg.vw > auto_mpg.vw.train
tail -n 48 auto_mpg.vw > auto_mpg.vw.test
View gist:7145524
* */17 * * * say -v "whisper" poopin
View .tmux.conf
# First remove *all* keybindings
unbind-key -a
# Now reinsert all the regular tmux keys
bind-key C-b send-prefix
bind-key C-o rotate-window
bind-key C-z suspend-client
bind-key Space next-layout
bind-key ! break-pane
bind-key '"' split-window
bind-key '#' list-buffers
import random
ages = []
for _ in xrange(1000000):
age = 0
while random.random() > 0.01:
age += 1
import httplib
import web
urls = ("/(.+)", "http_err")
app = web.application(urls, globals())
class http_err:
def GET(self, err_code):
err_code = int(err_code)
response = "%d %s" % (err_code, httplib.responses[err_code])
You can’t perform that action at this time.