Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| -- How to run | |
| -- $ git log --numstat --pretty="%0" |grep -v "%0" | runhaskell sum.hs | |
| import Control.Applicative | |
| import Data.Map (Map) | |
| import qualified Data.Map as Map | |
| import System.IO | |
| import Text.Read | |
| import Data.List |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| [alias] | |
| fixup = !sh -c 'git commit --fixup=$1' - | |
| squash = !sh -c 'git commit --squash=$1' - | |
| llog = log --date=local | |
| gitkconflict = !gitk --left-right HEAD...MERGE_HEAD | |
| new = !sh -c 'git log $1@{1}..$1@{0} "$@"' | |
| stsh = !CURRENT=$(git symbolic-ref HEAD) && git symbolic-ref HEAD refs/heads/stash && git commit -a -m stashed && git checkout $CURRENT | |
| whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -" | |
| whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short | |
| debug = !GIT_PAGER= gdb --args git |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| this_dir = File.dirname(__FILE__) + "/" | |
| require this_dir + "vagrant/hostmaster.rb" | |
| Vagrant::Config.run do |config| | |
| # define some colors for our output | |
| def colorize(text, color_code) "#{color_code}#{text}\033[0m" end |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
| // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
| // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
| // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
| // MIT license | |
| (function() { | |
| var lastTime = 0; | |
| var vendors = ['ms', 'moz', 'webkit', 'o']; |