Manningtree has been around almost as long as c r o s s o a k. It's been through two iterations and is now onto its third. The first was as a blogger site (you can see the remnants as pages exported from blogger like this one). Then it moved …
I wanted a quick and simple slideshow on a Raspberry Pi
apt-get install fbi fbi -a -t 5 -noverbose img/*.jpg
Creates a slideshow with auto image scaling, a five second delay, without the status bar using all .jpg images in the img subfolder.
Wow. iOS is fussy about MPEG4 encoding. Stuff that worked fine as HTML5 video sources in Chrome and Safari on a Mac failed to load in various i-devices. In the end I re-encoded using
ffmpeg.exe" -i input.mov -codec:v libx264 -profile:v main -preset slow -b …
For those occasions where you don't have the bandwidth to watch something without buffering:
On a Mac:
sudo pip install youtube-dl
brew install libav
If bandwidth is a real pain and you just want the audio...
youtube-dl --extract-audio --audio-format mp3 <url>
sudo pip install …
cURL is a nifty little tool for doing things with the web (like HTTP Requests). It's expecially useful for playing with REST APIs...
A coleague was having some fun calling into the REST API of our issue tracking system. A perfect job for cURL I thought, until I remembered that …
A nice commandline tool (based on a Python wrapper for the OneDrive REST API) for working with OneDrive.
0. Setup a Python Virtual Environment
1. On Windows, install
pywin32 . From the venv use
easy_install http://sourceforge.net/projects/pywin32/files/pywin32/Build%20219/pywin32-219.win32-py2.7.exe/download (with …
A nice little Python Script to send documents to Amazon Kindle via a command line.
(It works too :-)
Markdown is awesome.
So awesome that there's even a standardization effort to create one common markdown.
Aside: James asked what the big appeal was. For me it's a plain text format that has built in context with minimal distracting markup. As example:
# I am a title in **Markdown** \chapter …
A PowerShell script that remembers where you've been and makes it really easy to Jump there → https://github.com/tkellogg/Jump-Location
SimpleHTTPServer is my goto friend for serving HTTP requests locally while developing stuff. Sometimes however you get caught with the browser caching things that you really don't want it to. CTRL+F5 usually works (it's a hardcoded pattern for me by now) but today I stumbled on a gotcha …