Skip to content

Instantly share code, notes, and snippets.

View jlyon1's full-sized avatar

Joseph Lyon jlyon1

View GitHub Profile
package main
//This is a test golang gist for an online code compiler
import "fmt"
func main(){
for i := 0; i < 20; i ++{
fmt.Println("Hello world")
}

Keybase proof

I hereby claim:

  • I am jlyon1 on github.
  • I am jlyon1 (https://keybase.io/jlyon1) on keybase.
  • I have a public key ASCuexCRJswYFZV91SDLs1X9dhUzDX2KBoPgKGX8sb4YmAo

To claim this, I am signing this object:

@jlyon1
jlyon1 / min-char-rnn.py
Created April 11, 2016 01:16 — forked from karpathy/min-char-rnn.py
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)