天下一gitconfig大会(サイボウズ社内git勉強会@2012/11/20)の@teppeisの資料です。
- gistでmarkdown書いたらbookmarkletでプレゼンになるよ。
 
| @mixin all-retina-sprites($map, $dimensions: false){ | |
| $base-class: sprite-map-name($map); | |
| .#{$base-class}-retina-sprite{ | |
| background: sprite-url($map) no-repeat; | |
| @include background-size(ceil(image-width(sprite-path($map)) / 2) auto); | |
| } | |
| @each $sprite in sprite-names($map){ | |
| .#{$base-class}-#{$sprite}{ | 
| #!/bin/sh | |
| # to use, save this file as .git/hooks/pre-commit in your git repo | |
| # make sure to add execute permissions using: chmod +x .git/hooks/pre-commit | |
| command -v pngcrush >/dev/null 2>&1 || { | |
| echo "\033[1mPlease install pngcrush to reduce images size before commit\033[0m" | |
| echo "Install pngcrush with the following:" | |
| echo "\t \033[1mbrew install pngcrush\033[0m" | |
| echo "OR" | |
| echo "\t Site: \033[1m\033[4mhttp://pmt.sourceforge.net/pngcrush/\033[0m" | |
| echo "\t Download: \033[1m\033[4mhttp://sourceforge.net/projects/pmt/files/\033[0m" | 
| _人人人人人人_ | |
| > 突然の死 < | |
|  ̄Y^Y^Y^Y^Y ̄ | 
| var rfc822Date = moment(yourDate).format('ddd, DD MMM YYYY HH:mm:ss ZZ') |