Skip to content

Instantly share code, notes, and snippets.

View freshjones's full-sized avatar

William Jones freshjones

View GitHub Profile
@freshjones
freshjones / gist:26b166be377e28f531b2
Created January 13, 2015 16:38
export term in docker
export TERM=xterm
@freshjones
freshjones / gist:dbba0047b7b0eca6931a
Created November 13, 2014 20:35
Deleting Redis Keys by Wildcard
redis-cli KEYS "related-parts-output-*" | xargs redis-cli DEL
@freshjones
freshjones / gist:e5557d2d70dce35a94e1
Last active May 10, 2021 17:55
dnsmasq start and stop via macports
//stop service
sudo launchctl unload /Library/LaunchDaemons/org.macports.dnsmasq.plist
//stop service through reboots
sudo launchctl unload -w /Library/LaunchDaemons/org.macports.dnsmasq.plist
//start service
sudo port load dnsmasq
//reload through reboots
@freshjones
freshjones / gist:f97c8356796e83ae94d2
Last active August 29, 2015 14:00
vagrant guest additions not matching - 4.3.10
vagrant plugin install vagrant-vbguest
vagrant up
sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions
vagrant reload
------------
@freshjones
freshjones / gist:11230317
Created April 23, 2014 20:03
Git Archive Tar Command
git archive branch --format=tar | gzip > branch.tar.gz