$ brew install highlight
$ pbpaste | highlight --syntax=js -O rtf | pbcopy
plugins=(git yarn brew docker docker-compose) | |
# Example aliases | |
alias zshconfig="code ~/.zshrc" | |
alias ohmyzsh="code ~/.oh-my-zsh" | |
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh |
[core] | |
ignoreCase = false | |
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
[user] | |
name = me | |
email = @kula.blog |
$ brew install highlight
$ pbpaste | highlight --syntax=js -O rtf | pbcopy
/* | |
How long is course at: http://fedora.bitfountain.io/courses/ios-design ? | |
*/ | |
var time = $('.section-item').not('.completed') | |
.text() | |
.match(/\d+\:\d+/g) | |
.map(function(time){ | |
return time.split(":") |
console.log('external: 1'); |
var updateErrorTimeout; | |
var updateErrorTime = 1000;//1s | |
var updateErrorTried = 1; | |
function checkForMissing(components, results, host){ | |
var nonEmpty = results.filter(function(e){ return (e.content) ? e : false; }); | |
if(nonEmpty.length < components.length) { | |
if(!updateErrorTimeout){ | |
updateErrorTried *= 2; |
/** | |
* Scrolling shadows by @kizmarh and @leaverou | |
* Only works in browsers supporting background-attachment: local; & CSS gradients | |
* Degrades gracefully | |
*/ | |
html { | |
background: white; | |
font: 120% sans-serif; | |
} |
/** | |
* Scrolling shadows by @kizmarh and @leaverou | |
* Only works in browsers supporting background-attachment: local; & CSS gradients | |
* Degrades gracefully | |
*/ | |
html { | |
background: white; | |
font: 120% sans-serif; | |
} |
/** | |
* Scrolling shadows by @kizmarh and @leaverou | |
* Only works in browsers supporting background-attachment: local; & CSS gradients | |
* Degrades gracefully | |
*/ | |
html { | |
background: white; | |
font: 120% sans-serif; | |
} |
#navbar .navbar{ | |
height: 3px; | |
overflow: hidden; | |
min-height: 3px; | |
} | |
#navbar .navbar:hover { | |
height: 45px; | |
} |