MusicBrainz Picard – Clean up mp3s
Max – Convert FLAC + CUE to mp3
curl -s http://api.icndb.com/jokes/random/ | python -c 'import sys, json; print "\n\n"+json.load(sys.stdin)["value"]["joke"]+"\n\n"'
git describe origin/master
Warning: If there are multiple tags (local or remote) for the HEAD of origin/master you will get one tag from this command, not a list.
I recommend using the –match parameter to make sure you get the tag you expect:
git describe origin/master --match="v*"
Recently I wanted to enable debug level logging of chef-solo runs in a vagrant box. As it turns out there are two ways to do this and both appear to be undocumented:
Vagrant.configure("2") do |config| # ... config.vm.provision :chef_solo do |chef| chef.arguments = '-l debug' # ... end end
Vagrant.configure("2") do |config| # ... config.vm.provision :chef_solo do |chef| chef.log_level = :debug # ... end end
Adafruit has a great LCD+Keypad kit for the Raspberry Pi with excellent assembly instructions and a nice Python library. I just had to order one along with my first Raspberry Pi.
After it arrived I picked up a 25W Radioshack Pro-Line soldering iron, some 60/40 rosin-core solder and got to work. Luckily I had an old, dead iPod mini to tear apart and practice on. After soldering the first dozen points I felt like I was getting the hang of it. All-in-all I think it came out pretty well.