Skip to content

Instantly share code, notes, and snippets.

View mathieue's full-sized avatar

Mathieu Elie mathieue

View GitHub Profile
# command line can be amazing and so simple ( just a terminal! ) at the same time
# rsyncing to current dir as dest? watch dir size grows in real time!
watch -n 1 'du -sh .'
# cut word left of cursor
<ctrl-w>
# yank (paste) last cut/kill (ex: see <ctrl-w> )
<ctrl-y>
@whiteinge
whiteinge / fabfile.py
Created November 13, 2009 17:16
Example fabric script with VirtualBox automation
# -*- coding: utf-8 -*-
"""MyCompany Fabric script.
* Deploy code
* Set up a local development environment
There are two ways to deploy the myrepo code:
1. :func:`deploy` will do a full virtualenv installation/update and expand a
tarball of the specified git revision (defaults to HEAD) to a timestamped