Skip to content

Instantly share code, notes, and snippets.

Avatar
🌵
In the desert

Stephen Howells stephenhowells

🌵
In the desert
View GitHub Profile
View vhost.py
#! /usr/bin/python
from sys import argv
from os.path import exists
from os import makedirs
from os import symlink
from os import system
import getopt
#
View keybase.md

Keybase proof

I hereby claim:

  • I am stephenhowells on github.
  • I am howells (https://keybase.io/howells) on keybase.
  • I have a public key whose fingerprint is 5B56 3BC1 82E1 B949 0D8D C359 4901 4837 D2FF E5EA

To claim this, I am signing this object:

@stephenhowells
stephenhowells / Markdown.sublime-settings
Created Oct 17, 2014
Syntax specific settings for Markdown files in Sublime Text 3 using the Markdown Editing package.
View Markdown.sublime-settings
{
"extensions":
[
"markdown",
"md",
"mdown",
"txt"
],
"wrap_width": 80,
"font_size": 15,
View encode-podcast.sh
#!/bin/bash
# Encode a WAV to a finalized podcast MP3 with metadata, in the current directory
# Requires lame
# With Homebrew on Mac OS X: brew install lame
SHOW_AUTHOR="ATP"
EPISODE_NUMBER=104
EPISODE_TITLE="Minutiæ"
View File.sublime-settings.json
{
//Sets the colors used for text highlighting. Accepts a path rooted at the data directory (e. g.: Packages/Color Scheme - Default/Monokai Bright.tmTheme).
"color_scheme": "Packages/Made of Code.tmTheme",
//Font face to be used for editable text.
"font_face": "menlo",
//Size of the font for editable text.
"font_size": 12,
@stephenhowells
stephenhowells / file.sublime-keymap
Created Aug 20, 2012
Sublime Text Key Bindings - User
View file.sublime-keymap
[
{ "keys": ["n", "n"], "command": "advanced_new_file",
"context": [{ "key": "setting.command_mode", "operand": true }]}
]
@stephenhowells
stephenhowells / hide-text.scss
Created Aug 23, 2012 — forked from soffes/hide-text.scss
Zeldman hide text under logo
View hide-text.scss
// From http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/
@mixin hide-text {
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
@stephenhowells
stephenhowells / gist:3432381
Created Aug 23, 2012 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts
View gist:3432381

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@stephenhowells
stephenhowells / My Mixins
Created Aug 27, 2012 — forked from chriscoyier/My Mixins
_functions.scss
View My Mixins
//
// MIXINS
//
// SHADOWS
@mixin box-shadow ($string) {
-webkit-box-shadow: $string;
-moz-box-shadow: $string;
box-shadow: $string;
}
View Fetch.sublime-settings
{
"files":
{
"jquery": "http://code.jquery.com/jquery.min.js",
"normalize": "https://raw.github.com/necolas/normalize.css/master/normalize.css",
"reset": "http://meyerweb.com/eric/tools/css/reset/reset.css",
"sass-css3-mixins": "https://raw.github.com/matthieua/Sass-Css3-Mixins/master/css3-mixins.scss"
},
"packages":
{