This file contains 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
alias gi="git init" | |
alias gci="git commit" | |
alias gcim="git commit -m" | |
alias gciam="git commit --amend -m" | |
alias gco="git checkout" | |
alias gco-="git checkout --" | |
alias gcob="git checkout -b" | |
alias gcod="git checkout dev" | |
alias gcom="git checkout master" | |
alias gb="git branch" |
This file contains 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
var preloadImgs = function(srcs) { | |
srcs = !$.isArray(srcs) ? [srcs] : srcs; | |
var dfd = $.Deferred(), | |
promises = [], | |
img, | |
len = srcs.length, | |
defer, | |
i = 0; | |