What ho!

I'm David Winterbottom, a minimalist hacker living in London.

I'm a Technical Director of Tangent Snowball, a digital agency. I program mainly in Python but have strong interests in all dynamic and functional languages.

I spend most of my free time hacking. I run commandlinefu.com and am the author of the e-commerce framework django-oscar amongst other things.

I used to be a mathematician; I have a PhD in Mathematics from the University of Nottingham and an associated interest in cryptic crosswords, chess and playing devil's advocate.

More »

Words

Friday, 24 October 2014
Bootstrapped virtualenvs

Using postmkvirtualenv to prime postactivate

Wednesday, 22 October 2014
Integrating Django application metrics into Zabbix

A simple how-to for feeding Django metrics into Zabbix

Thursday, 17 July 2014
Linking to Github

Git aliases for grabbing Github links

Wednesday, 18 June 2014
Continuously rebuild your project

Using CI to avoid pain for new team members

Tuesday, 17 June 2014
vim
Using the silver searcher with Vim

Lightning-fast :grep searching in Vim

All writing »

Toots

5 months, 1 week ago
Turns out my vim woes were caused by me accidentally inserting non-breaking spaces with ⌘+SPACE. Silly me.
5 months, 1 week ago
Docker's name generator:
https://t.co/a7qhNuk15w
5 months, 1 week ago
RT @sarahmei: If you're interested in story structures to enrich your conference talks, this is excellent: http://t.co/TM9CdsWHUj http://t.…
5 months, 1 week ago
Writing documentation is the perfect springboard for heavyweight yak-shaving.
5 months, 1 week ago
RT @stevesilberman: There's latté art; then there's Japanese latté art. [by @george_10g] http://t.co/Old0QExmzF
5 months, 2 weeks ago
Here's my guide to sharing folders with Docker containers on OSX:
https://t.co/4HlrIz6h0t
5 months, 2 weeks ago
Today's achievement: getting shared folders to work with Docker and OSX. Had to mount the host fs using sshfs from within the boot2docker vm
5 months, 2 weeks ago
RT @django_oscar: The Oscar sandbox site is now on docker hub! https://t.co/OtMjbxaypO

$ docker pull codeinthehole/django_oscar_sandbox
5 months, 2 weeks ago
RT @HackerNewsOnion: Developer who inherited 5-year-old Rails codebase secretly hoping for company collapse
5 months, 2 weeks ago
Judge a society/culture by how it treats everyone who isn't a religious heterosexual male
5 months, 2 weeks ago
Excellent collection of tips and links for vim lovers:
http://t.co/15nVXgelNp
5 months, 2 weeks ago
$ git browse -- commit/HEAD

Open Github page for last pushed commit (uses Hub extension). V useful.
5 months, 2 weeks ago
DEVELOPERS, make a subtle nod to the sport-luxe trend of the season by repeatedly using the phrase "sport-luxe" in your commit messages
5 months, 2 weeks ago
RT @TwopTwips: CURE your hatred of Mondays by having children.
(via @beztweets)
5 months, 2 weeks ago
RT @socialtechno: Why unemployed, uneducated poor people buy TVs and mobile phones. http://t.co/stq5Bt8pMh
5 months, 2 weeks ago
There are 7.1m search results for ":wq" on Github: https://t.co/ZiguB4CLJs
5 months, 3 weeks ago
Very useful TDD cheat sheet! http://t.co/RYwJsPui2T
@codeinthehole »

Hacks

2 months ago
David Winterbottom
2 months ago
David Winterbottom

Yep, don't like it. Nothing wrong with using -e to send in an envfile path... Gets one more thing off the host too! We do use -e to specify a env…

2 months ago
David Winterbottom
error: Installed distribution Django 1.7 conflicts with requirement Django<1.7
2 months ago
David Winterbottom

Oscar does support Django 1.7 but Haystack 2.2.1 doesn't (see #1480). We're just waiting for Haystack to do a new release then this issue will go a…

2 months ago
David Winterbottom

I didn't know about the -v /some/folder option where it creates the mount point within the container - that's nice. However, in the current set-up,…

2 months ago
David Winterbottom
  • David Winterbottom c8c6fde
    Django 1.7 is now supported (yet)
2 months ago
David Winterbottom

Am also working on this. I'm not sure how easy it's going to be to support Celery=3.1 - it might be easier to only support Celery 3.1 for django-ca…

2 months ago
David Winterbottom

No probs - now merged.

github.com/codeinthehole »

Selected projects

A few spare-time projects I've worked on:

  • commandlinefu.com - a mildly popular repository site for sharing linux one-liners. Grown men have been known to weep with joy when they discover sudo !!

Python packages on PyPI:

  • purl - an immutable URL class for python
  • foiegras - simple CSV loading for Postgres
  • csvfilter - like cut but for CSVs
  • pyvideo2quicktime - for downloading PyCon videos to your iPhone
  • unittest-xml - additional assertions for unit-testing XML documents with python's unittest library.

Oscar and related packages:

Other Django packages on PyPI

node.js packages on npm:

  • nurl - a simple URL library for node.js