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>
From an internal DL. A comparison of sorting algorithms on different types of data
Or, through the medium of Hungarian folk dancing
Top 10 books everyone .Net developer should onw
Simple scp from remote to me:
Simple scp from me to remote:
Here's a cheat sheet
What's the right amount of test coverage? Test Coverage and Post-Verification Defects: A Multiple Case Study provides some insights. Interestingly, they find:
that the test effort increases exponentially with test coverage, but that the reduction in field defects increases linearly with test coverage.
In other words, it takes more and …
I quote this a lot so here's a link: Tips for Better Online Surveys
- Every question you ask is expensive.
- Every question you ask changes the way your users think.
- Make it easy for the user to bail.
- Make the questions entertaining and not so serious, at least some of …
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 :-)
A quick starter on Python Virtual Environment
On Unix/Mac OS X use:
On Windows use:
To move the environment somewhere else:
- In existing (active) environment; grab a list of dependencies with