I hereby claim:
- I am bign8 on github.
- I am bign8 (https://keybase.io/bign8) on keybase.
- I have a public key whose fingerprint is A7DF 2608 0EEB 2BAF 65EA 53E5 96DC 3AB3 8F42 B935
To claim this, I am signing this object:
! function(t, i, m, e, r, s) { | |
var a = t.getElementById(i), | |
c = function() { | |
a.innerHTML = r, t.location = e | |
}, | |
d = function() { | |
a.innerHTML = s.replace('{x}', m).replace('{s}', 1 == m-- ? '' : 's'); | |
setTimeout(0 >= m ? c : d, 1e3) | |
}; | |
t.addEventListener('DOMContentLoaded', d); |
iliad.txt | |
tables.py | |
flashplayer.dmg |
*.so | |
*.o | |
Rplots.pdf |
I hereby claim:
To claim this, I am signing this object:
""" | |
Based on 2012 Pycon Talk: "Stop Writing Classes" by Jack Diederich | |
- https://us.pycon.org/2012/schedule/presentation/352/ | |
Noted rules from Wikipedia: https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life | |
1. Any live cell with fewer than two live neighbours dies, as if caused by under-population. | |
2. Any live cell with two or three live neighbours lives on to the next generation. | |
3. Any live cell with more than three live neighbours dies, as if by over-population. | |
4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction. |
package main | |
import ( | |
"encoding/json" | |
"flag" | |
"fmt" | |
"net/http" | |
"os" | |
) |
package example | |
type trie map[string]*trie | |
func (t *trie) Add(parts []string) { | |
if len(parts) == 0 { | |
return | |
} | |
child, ok := (*t)[parts[0]] | |
if !ok { |
package main | |
import ( | |
"bufio" | |
"flag" | |
"fmt" | |
"math/rand" | |
"os" | |
) |
console.log('running'); | |
var child = require('child_process').spawn('python', ['./index.py']); | |
child.stdout.on('data', function(data) { | |
console.log('stdout: "' + data.toString().trim() + '"'); | |
}); | |
child.stderr.on('data', function(data) { | |
console.log('stderr: ' + data); | |
}); | |
child.on('close', function(code) { |
out | |
*_m.* | |
.* | |
!.gitignore | |
CSCI_566_proj_1 | |
results |