Skip to content

Instantly share code, notes, and snippets.

View wmayner's full-sized avatar

William Mayner wmayner

View GitHub Profile
@wmayner
wmayner / stackoverflow.alfredworkflow
Created July 9, 2013 20:31
StackOverflow workflow for Alfred, derived from http://www.alfredforum.com/topic/1524-stackoverflow-workflow/. This version shows when the question was asked in human-readable format instead of just an actual date.
import json, StringIO, gzip, alfred, urllib, urllib2, datetime, time
def voiteImg(votes):
if votes < 0:
imgStr = 'so--1.png'
elif votes == 0:
imgStr = 'so-0.png'
elif votes >0 and votes <10:
imgStr = 'so-1-1.png'
elif votes >= 10 and votes <50:
@wmayner
wmayner / .vimrc.bundles.local
Created November 15, 2012 19:39
Additional bundles installed in addition to spf13 default bundles
" original github repos
Bundle 'wincent/Command-T'
Bundle 'sjl/gundo.vim'
Bundle 'tpope/vim-abolish'
Bundle 'tpope/vim-commentary'
Bundle 'digitaltoad/vim-jade'
Bundle 'tpope/vim-repeat'
Bundle 'tpope/vim-speeddating'
Bundle 'tpope/vim-unimpaired'
Bundle 'kchmck/vim-coffee-script'
@wmayner
wmayner / .vimrc
Created November 11, 2012 02:44
.vimrc.local (used on top of spf13 .vimrc)
" Modeline and Notes {{{
" vim: set foldmarker={{{,}}} foldlevel=0 foldmethod=marker
"
" This is the personal .vimrc.local file of Will Mayner.
"
" It is meant to be used on top of Steve Francia's spf13-vim
" distribution, at https://github.com/spf13/spf13-vim.
"
" }}}