Skip to content

Instantly share code, notes, and snippets.

View philtr's full-sized avatar

Phillip Ridlen philtr

View GitHub Profile
@philtr
philtr / .zshrc
Created February 9, 2012 16:20
Shell function for creating a new empty branch
# Add this to your .zshrc or .bash_profile
# Usage: gneb BRANCH_NAME
#
function gneb {
git symbolic-ref HEAD refs/heads/$1
rm .git/index
git clean -fdx
touch README.md
git add README.md
git commit -m 'Initial commit'
@philtr
philtr / userstyle.gmail-logo.css
Created November 3, 2011 16:53
Replace Gmail logo with your own
a#gbqlw,
a:hover#gbqlw,
.gbgt-hvr {
width: 128px;
height: 70px;
margin: 30px 0 0 0;
background-image: url(/* Your logo here*/) !important;
background-position: 0 center !important;
background-color: transparent !important;
background-repeat: no-repeat !important; }