Skip to content

Instantly share code, notes, and snippets.

View dmd's full-sized avatar

Daniel M. Drucker dmd

View GitHub Profile
@dmd
dmd / keybase.md
Created September 22, 2014 19:37

Keybase proof

I hereby claim:

  • I am dmd on github.
  • I am dmd (https://keybase.io/dmd) on keybase.
  • I have a public key whose fingerprint is C6E6 E4F9 B6CA A5EE 2F6D 3411 487F 110C 322B 4C83

To claim this, I am signing this object:

@dmd
dmd / fixer.py
Created April 27, 2015 00:53
flickr/bulkr fixer
#!/usr/bin/python
import sys
import datetime
from dateutil.parser import parse
import os
import re
from pipes import quote
from subprocess import check_output, call
fn = sys.argv[1]
@dmd
dmd / -
Created June 3, 2015 16:23
This file has been truncated, but you can view the full file.
Script started on Wed 03 Jun 2015 12:22:20 PM EDT
]0;dmd@rossum: ~/imt/robot-suite/branches/robot4/lgames/pups
dmd@rossum:~/imt/robot-suite/branches/robot4/lgames/pups
$ ipy
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
Type "copyright", "credits" or "license" for more information.
IPython 1.2.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
@dmd
dmd / -
Created June 18, 2015 02:49
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [
{
{
"cells": [
{
"cell_type": "code",
"execution_count": 12,
"metadata": {
"collapsed": false
},
"outputs": [
{
{
"cells": [
{
"cell_type": "code",
"execution_count": 83,
"metadata": {
"collapsed": false
},
"outputs": [
{
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
LSTM network trained on a few thousand lines of Pratchett - The Color of Magic
I am currently training a network on the complete discworld series, should be done in a day or two.
- dmd
--------------------------
bleed of minutes,
but there was a demon to just sight in the skee, because oper that
is that our mind to do name, no- in case rescued in
ubuntu@ip-10-102-179-2:~/char-rnn$ th sample.lua cv/lm_lstm_epoch14.90_1.0960.t7 -temperature 0.9 -length 3000
using CUDA on GPU 0...
Make sure that your saved checkpoint was also trained with GPU. If it was trained with CPU use -gpuid -1 for sampling as well
creating an lstm...
missing seed text, using uniform probability over first character
--------------------------
?lchapkin's whole heap, had got a carrot from the door and then in a bit of the place in the knife, and then . . . what part of that, because they wanted hen, and what with her hand yards of the shadow of her head or one should be in so turn, in kinds of normal century.
CHARLIE A FOUR ANCHING IN THE STARLY HAMMER RECAMENT* ... THE WAVE IS A THINK.
'Maybe we can see what it means!'
Lady LeJean wandered out.
'Oh, yes. Yes. No' I'm going to stop a few sizes of Great Wizard on day, sir,' said a voice behind Arthur, and this time he was worse for this about the sky.
'We shouldn't be the last sort of slavel!'
'That's a big gap.'
'My lord of the Earth's amiable life! A powerful foretail of forefingers, and you wina, in my back in the Library, o' course, isn't there any more?'
'Yes, life? He has just minds 'what are you arriving?'
'It's not, sir, yesterday I'm . . . a detail, on your face, wheezing off the barn. Low huge times. I was going to get for him, so this pig is a bit making me caring out as, and the common dancing slightly are a man. I don't know.'
'How do we see the gods?' said Rincewind, who knew about that dog he at continue with Lancre The way, but was And-Would King's Legs He any Foreigntuarry Processes.'
'I know the Funnied
Summer One, Sir.'
'No, gosh.' He used the suggestion under his eyes.