This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bg = '#000000'; | |
black = '#282828'; | |
red = '#cc241d'; // red | |
green = '#98971a'; // green | |
yellow = '#d79921'; // yellow | |
blue = '#458588'; // blue | |
magenta = '#b16286'; // pink | |
cyan = '#689d6a'; // cyan | |
white = '#a89984'; // light gray | |
lightBlack = '#928374'; // medium gray |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
REPO=$(pwd) | |
if [ $# -eq 1 ]; then | |
REPO="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgin install isc-dhcpd | |
##### | |
cat > /opt/local/etc/dhcp/dhcpd.conf < | |
default-lease-time 600; | |
max-lease-time 7200; | |
log-facility local7; | |
subnet6 fdad:e34f:f1d0::/64 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import simplejson | |
import subprocess | |
import datetime | |
f = open('latitude.json', 'r') | |
locdata = simplejson.loads(f.read()); | |
fd = open('latitude.gpx', 'w') |