Skip to content

Instantly share code, notes, and snippets.

View willbowling's full-sized avatar

Will Bowling willbowling

  • Front End Consulting
  • Acworth, GA 30101
View GitHub Profile
@willbowling
willbowling / compass-flippy-mixin.sass
Created July 17, 2012 20:19 — forked from nathos/compass-flippy-mixin.sass
Compass flippy - fun 3D flip animations with graceful fallback (using Modernizr) for unsupported browsers. The animation looks great in Safari, not quite as great in Chrome. See the demo at http://nathos.github.com/flippy/
@mixin flippy($speed: 0.5s, $perspective: 500, $bgcolor: #fff)
position: relative
+perspective($perspective)
.front, .back
background-color: $bgcolor
+transition(all, $speed, ease-in-out)
+backface-visibility(hidden)
+transform-style(preserve-3d)
height: 100%
width: 100%
@willbowling
willbowling / mixin.sass
Created July 17, 2012 20:19 — forked from nathos/sass-hash-mixin.sass
Using lists like a hash in Sass
@mixin category-colors($after: false)
@each $category in $categories
@if $after == true
.cat-#{nth($category, 1)}:after
background-color: nth($category, 2)
@else
.cat-#{nth($category, 1)}
background-color: nth($category, 2)
@willbowling
willbowling / semantic_twitter_boostrap_grid.sass
Created July 17, 2012 20:17 — forked from nathos/semantic_twitter_boostrap_grid.sass
A start for semantic grids in Twitter Bootstrap
// clearly, still in progress...
$fluidLayout: true
$fluidLayout: false !default
// Semantic grid mixins
@mixin row($fluid: $fluidLayout)
@if $fluid == true
width: 100%
@willbowling
willbowling / gist:3131771
Created July 17, 2012 20:17 — forked from nathos/gist:2509870
Installing Sass & Compass on Mac OS X 10.5 Leopard (for @iDGS)
  1. Install Xcode 3.1.4 from: https://developer.apple.com/downloads/

  2. Install Homebrew by pasting the following into your terminal:

    /usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"

  3. Install Git by typing the following into your terminal:

    brew install git

@willbowling
willbowling / scrollinglinks.js
Created July 17, 2012 20:16 — forked from nathos/scrollinglinks.js
jQuery Smooth Scrolling Internal Links
@willbowling
willbowling / multiple_ssh_setting.md
Created April 30, 2012 20:07 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
@willbowling
willbowling / gist:2422139
Created April 19, 2012 16:28 — forked from padolsey/gist:527683
JavaScript: Detect IE
// ----------------------------------------------------------
// A short snippet for detecting versions of IE in JavaScript
// without resorting to user-agent sniffing
// ----------------------------------------------------------
// If you're not in IE (or IE version is less than 5) then:
// ie === undefined
// If you're in IE (>=5) then you can determine which version:
// ie === 7; // IE7
// Thus, to detect IE:
// if (ie) {}