Skip to content

Instantly share code, notes, and snippets.

@onyxfish
onyxfish / fabfile.py
Created August 12, 2011 19:09
Fabric configuration for advanced mapping w/ TileMill and invar
import os
import re
from fabric.api import *
import yaml
"""
Base configuration
"""
# Ubuntu
@bingomanatee
bingomanatee / fabfile.py
Created September 14, 2011 21:52
A fabric script file
from fabric.api import *
import agi_config
import fab_lib
# these lists are populated with 'username@hostname' strings by prep_hosts()
ast_hostnames_as_root = []
ast_hostnames_as_tyger = []
agi_hostnames_as_root = []
agi_hostnames_as_tyger = []
@kagesenshi
kagesenshi / create_root.sh
Created February 7, 2012 01:51
Fedora 16 LXC script
#!/bin/bash
if [ $# != 2 ]; then
echo "usage: $0 <directory> <hostname>"
exit 1
fi
if [ ! -d $1 ];then
mkdir -p $1
fi