Skip to content

Instantly share code, notes, and snippets.

View lyleunderwood's full-sized avatar
💭
working

Lyle Underwood lyleunderwood

💭
working
  • ShowLabs Inc.
  • Sacramento, CA
View GitHub Profile
@danro
danro / 1-README.scss
Last active October 12, 2015 02:18
Sass 3.2 mixin for managing responsive breakpoints.
.selector-one {
@include respond-to(phone) {
// phone and below (because it's the smallest)
}
@include respond-to(desktop-up) {
// desktop and higher
}
@include respond-to(ultra) {
@rstacruz
rstacruz / git-clog
Created June 6, 2012 07:51
Git changelog helper
#!/usr/bin/env ruby
# Usage:
# git clog # prints
# git clog -w # writes
#
# https://gist.github.com/2880525
module Clog
extend self
@pubis
pubis / .instructions
Created November 16, 2011 16:30
Rails 3.1 + Mongoid + rspec2 + guard + spork + factory girl
# This is my take on a rails 3.1 setup with mongoid, rspec2, guard, spork
# and factory girl.
#
# Thanks to:
# http://gist.github.com/568754/ (inspiration)
# http://railscasts.com/episodes/275-how-i-test (rspec and guard)
# http://railscasts.com/episodes/285-spork (spork and guard)
# http://github.com/diaspora/diaspora (.rvmrc)
# http://stackoverflow.com/questions/7801073/spork-timer-not-resetting-between-runs
# and others...