-
Install Xcode 3.1.4 from: https://developer.apple.com/downloads/
-
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)" -
Install Git by typing the following into your terminal:
brew install git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @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% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // clearly, still in progress... | |
| $fluidLayout: true | |
| $fluidLayout: false !default | |
| // Semantic grid mixins | |
| @mixin row($fluid: $fluidLayout) | |
| @if $fluid == true | |
| width: 100% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jQuery(function($) { | |
| // from http://imakewebthings.com/jquery-waypoints/ | |
| // Wicked credit to | |
| // http://www.zachstronaut.com/posts/2009/01/18/jquery-smooth-scroll-bugs.html | |
| var scrollElement = 'html, body'; | |
| $('html, body').each(function () { | |
| var initScrollTop = $(this).attr('scrollTop'); | |
| $(this).attr('scrollTop', initScrollTop + 1); | |
| if ($(this).attr('scrollTop') == initScrollTop + 1) { |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ---------------------------------------------------------- | |
| // 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) {} |
NewerOlder