-
Install Homebrew:
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" $ brew install git $ brew update
$ brew install drush
/** | |
* @file | |
* This JavaScript reacts to certain AJAX events on the view. | |
*/ | |
jQuery(document).ready(function(){ | |
jQuery('input[type="submit"][name="op"][value="Save"]#edit-submit').hide(); | |
}) | |
/** |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#!/bin/bash | |
# Sync Homebrew installations between Macs via Dropbox | |
# | |
BREW="/usr/local/bin/brew" | |
# first get local settings | |
echo "Reading local settings ..." | |
rm -f /tmp/brew-sync.* |
So, this makes doing code review much easier for me, and I just thought I'd share with the world.
Always put the original system generated fetch refs map last. Always!
The remotes below refer to the "blessed repo". More, specifically, the destination repository of the pull request, but the same concept can be used if you're accepting pull requests on your "personal" repository, as well.
<?php | |
/** | |
* @file | |
* A thought experiment. | |
*/ | |
class MyFakeThing { | |
} | |
// This is ... well, nothing special. |
As configured in my dotfiles.
start new:
tmux
start new with session name:
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
/* jeremy's dabblet title */ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |