Skip to content

Instantly share code, notes, and snippets.

View jgpeak's full-sized avatar

Jefferson Peak jgpeak

View GitHub Profile
#!/usr/bin/python
# -*- coding: utf-8 -*-
import subprocess
__all__ = ["transform"]
__version__ = '0.3'
__author__ = 'Christoph Burgmer <[email protected]>'
__url__ = 'http://github.com/cburgmer/upsidedown'
@davatron5000
davatron5000 / gist:2254924
Created March 30, 2012 20:57
Static Site Generators

Backstory: I decided to crowdsource static site generator recommendations, so the following are actual real world suggested-to-me results. I then took those and sorted them by language/server and, just for a decent relative metric, their Github Watcher count. If you want a heap of other projects (including other languages like Haskell and Python) Nanoc has the mother of all site generator lists. If you recommend another one, by all means add a comment.

Ruby

@anthonyshort
anthonyshort / _media-queries.scss
Created March 13, 2012 10:37
Media Queries in Sass
// Media Queries in Sass 3.2
//
// These mixins make media queries a breeze with Sass.
// The media queries from mobile up until desktop all
// trigger at different points along the way
//
// And important point to remember is that and width
// over the portrait width is considered to be part of the
// landscape width. This allows us to capture widths of devices
// that might not fit the dimensions exactly. This means the break
@bvajda
bvajda / vm_statis_ip.md
Created October 21, 2011 23:18
Static ip on a VMWare Fusion Virtual Machine

Shamelessly copied from: http://www.stereoplex.com/blog/vmware-fusion-guests-with-a-static-ip VMWare Fusion v4

get the MAC address of the vm: Virtual Machine - Settings - Network Adapter - Advanced make a note of it, it will be needed later

open /Library/Preferences/VMWare Fusion/vmnet8/dhcpd.conf: make note of the subnet range -> select a fixed ip outside of this range make note of the "options routers" ip address -> needed later append: