View Default (OSX).sublime-keymap
[
{ "keys": ["super+2"], "command": "next_bookmark" },
{ "keys": ["super+1"], "command": "prev_bookmark" },
{ "keys": ["super+3"], "command": "toggle_bookmark" },
{ "keys": ["super+shift+3"], "command": "clear_bookmarks" },
{
"keys": ["super+d"],
"command": "set_layout",
"args":
{
View .aliases
alias mate='subl -multiinstance'
alias mk=mkvirtualenv
alias vlc='open -a vlc'
alias gitx='gittower "$(git rev-parse --show-toplevel)"'
alias fresh='git commit -m "empty commit" --allow-empty'
alias hfresh='fresh&&git push heroku master'
alias cake='em sparkles cake sparkles'
alias super-cake='em dizzy sparkles cake sparkles dizzy'
View kr.itermcolors
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.2823714017868042</real>
View Preferences.sublime-settings
{
"auto_complete": false,
"close_windows_when_empty": true,
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night.tmTheme",
"draw_white_space": "all",
"find_selected_text": true,
"fold_buttons": false,
"folder_exclude_patterns":
[
".svn",
View gist:8de47eed8175eeed7644aade97a15eca
This was complex, here's the basic setup:
- Pentium 4 tower 2.0 GHz (found on side of the road in 2004) running Ubuntu
- Pentium D tower (overclockable) power machine (got from Tom Baker) running Windows (gaming / media machine)
- 14" Core2Duo inspiron laptop w/ broken screen (connected via VGA) running Hackintosh
- toshiba tablet pc, also connected to a screen
- some crappy other dell laptop running another linux i think
all hubbed into the campus network bypassing their security software, so I could get pretty impressive download speeds
View pymean.py
# PyMean ?2008, Kenneth Reitz
def main():
mean(GetNumbers())
def GetNumbers():
number_list = []
input_number = False
while input_number != "":
View requirements-to-freeze.txt
requests[security]
flask
gunicorn==19.4.5
View .aliases
alias mate='subl'
alias mk=mkvirtualenv
alias vlc='open -a vlc'
alias gitx='gittower "$(git rev-parse --show-toplevel)"'
alias fresh='git commit -m "empty commit" --allow-empty'
alias hfresh='fresh&&git push heroku master'
View kennethreitz.zsh-theme
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
PROMPT='$(virtualenv_prompt_info)%{%}%{$fg[green]%}%c \
$(git_prompt_info)\
\
%{$fg[red]%}%(!.#.»)%{$reset_color%} '
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
RPS1='%{$fg[blue]%}%~%{$reset_color%} ${return_code} '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[yellow]%}("
View t.py
def dictify(s):
items = s.split()
for i, item in enumerate(items):
if ':' in item:
items[i] = item.split(':')
else:
items[i] = (item, True)
print dict(items)