A british TV series about leters and number problems.
Use ./nums
to help with the numbers rounds, and ./words
for everything else.
#!/usr/bin/env python3 | |
# /opt/fakegps | |
""" | |
TL;DR: I have an OLD GPS receiver, and need to force it past the last gps 10 bit week rollover | |
TEST OUTPUT SITE: http://freenmea.net/decoder | |
WHY THIS IS A PROBLEM: https://gpsd.gitlab.io/gpsd/hacking.html#y2k1 | |
INFO: https://github.com/rnorris/gpsd/blob/master/www/gpsd-time-service-howto.txt | |
MAN PAGE: http://manpages.ubuntu.com/manpages/trusty/man8/gpsd.8.html |
# Uninstall un-needed packages | |
sudo apt remove \ | |
pi-bluetooth \ # cmon... | |
ed \ # worst text editor ever | |
nano \ # nvm, found a worse one | |
# ... more to come | |
sudo raspi-config | |
# localization: en_us.UTF8 UTF8 | |
# timezone: America / Winnipeg (CENTRAL TIME... yeah ... idk geography) |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
out | |
*_m.* | |
.* | |
!.gitignore | |
CSCI_566_proj_1 | |
results |
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) { |
package main | |
import ( | |
"bufio" | |
"flag" | |
"fmt" | |
"math/rand" | |
"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 ( | |
"encoding/json" | |
"flag" | |
"fmt" | |
"net/http" | |
"os" | |
) |