Skip to content

Instantly share code, notes, and snippets.

View jpemberthy's full-sized avatar

Juan Pemberthy jpemberthy

View GitHub Profile
require 'timecop'
module TemporalHelpers
# Travels to +time+ and lets the clock keep running.
#
# If a block is given, executes the block at that
# time then returns to the present.
def travel_to(time, &block)
Timecop.travel Time.parse(time), &block
alias lola='git log --graph --decorate --pretty=oneline --abbrev-commit'
<h2>Management & Office Staff</h2>
<ul class="employees">
<r:employees:collection container="list" order="show_order" employee_type="managers">
<r:name_link />
</r:employees:collection>
</ul>
[user]
name = Scott Chacon
email = schacon@gmail.com
[alias]
serve = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git
unstage = reset HEAD
lol = log --pretty=oneline --abbrev-commit --graph --decorate
branches = !git-branches
st = status
[gui]