Skip to content

Instantly share code, notes, and snippets.

View travisjeffery's full-sized avatar

Travis Jeffery travisjeffery

View GitHub Profile
puts 'hello world!'
CmdUtils.CreateCommand({
name: "delicious",
icon: "http://delicious.com/favicon.ico",
author: {
name: "Travis Jeffery",
email: "eatsleepgolf@gmail.com"
},
license: "GPL",
description: "Post to Delicious.",
help: "Select the command press space and insert all the tags you want.",
CmdUtils.CreateCommand({
name: "twitter",
icon: "http://twitter.com/favicon.ico",
author: {
name: "Travis Jeffery",
email: "eatsleepgolf@gmail.com"
},
license: "GPL",
description: "Post to Twitter.",
help: "Select the command press space and type in your twitter status.",
import os
package = raw_input("Package name: ")
os.mkdir(package)
os.chdir(package)
open("setup.py", "a")
open("ez_setup.py", "a")
os.mkdir("tests")
os.mkdir("docs")
os.mkdir(package.lower())
CmdUtils.CreateCommand({
name: "delicious",
homepage: "http://ryan.codecrate.com/",
author: { name: "Ryan Sonnek", email: "ryan@codecrate.com"},
contributors: ["Ryan Sonnek", "Travis Jeffery"],
license: "MIT",
description: "Tags the current site using delicious",
icon: "http://delicious.com/favicon.ico",
help: "Save the current url to delicious with the tags input by the user. Any selected text on the page will be recorded as the note.",
@travisjeffery
travisjeffery / fixes firefox's 1password icons
Created August 30, 2009 03:40
fixes 1password firefox icons
# Copyright (c) 2009 Travis Jeffery <t.jeffery@utoronto.ca>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use,
# copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following
# conditions:
@travisjeffery
travisjeffery / macvim_update
Created October 2, 2009 20:00
macvim update script
#!/usr/local/bin/python
"""Pulls MacVim update and installs with configuration."""
import os
vim_repo_path = os.path.abspath("/Users/travis/Documents/repos/macvim/") # location of the macvim git repo
os.chdir(os.path.join(vim_repo_path, "src/"))
os.system("git pull")
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set to the name theme to load.
# Look in ~/.oh-my-zsh/themes/
export ZSH_THEME="robbyrussell"
# Comment this out to disable weekly auto-update checks
# export DISABLE_AUTO_UPDATE="false"
[color]
status = auto
diff = auto
branch = auto
[merge]
tool = opendiff
[apply]
whitespace = nowarn
[core]
excludesfile = /Users/travis/.gitignore
{
"~f"="moveWordForward:";
"~b"="moveWordBackward:";
"~<"="moveToBeginningOfDocument:";
"~>"="moveToEndOfDocument:";
"^n"="moveDown:";
"^p"="moveUp:";
"~v"="pageUp:";
"^v"="pageDown";
"~d"="deleteWordForward:";