python -m SimpleHTTPServer 8000
python -m http.server 8000
Step-by-step guide @http://www.bentedder.com/using-mysql-workbench-with-vagrant/
vagrant ssh-config
in the command line.User: (most likely vagrant)
IdentityFile (the path to the private key that MySQL workbench will need)
/** | |
* Drop in replace functions for setTimeout() & setInterval() that | |
* make use of requestAnimationFrame() for performance where available | |
* http://www.joelambert.co.uk | |
* Copyright 2011, Joe Lambert. | |
* Free to use under the MIT license. | |
* http://www.opensource.org/licenses/mit-license.php | |
*/ |
DELETE TAG | |
---------- | |
git tag -d 12345 | |
git push origin :refs/tags/12345 | |
CREATE TAG | |
---------- | |
git tag 12345 | |
git push origin 12345 |
nano ~/.zshrc | |
# Keypad | |
# 0 . Enter | |
bindkey -s "^[Op" "0" | |
bindkey -s "^[Ol" "." | |
bindkey -s "^[OM" "^M" | |
# 1 2 3 | |
bindkey -s "^[Oq" "1" | |
bindkey -s "^[Or" "2" |
Options +FollowSymLinks | |
<ifModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_URI} !index | |
RewriteRule (.*) index.html [L] | |
</ifModule> |
# npm | |
sudo npm install -g npm-check-updates | |
ncu | |
ncu --upgradeAll | |
# bower | |
sudo npm install -g bower-check-updates | |
bcu | |
bcu --upgradeAll | |
npm install |
cd ~ | |
touch .bash_profile | |
nano .bash_profile | |
put in | |
export CLOSURE_PATH=/Users/jong/work/closure_compiler |
// Fonts mixin | |
font-url(file) | |
return '../fonts/' + file | |
webfont(family, file, hack-chrome-windows = false, weight = 'normal') | |
@font-face | |
font-family family | |
src url(font-url(file + '.eot')) | |
src url(font-url(file + '.eot?#iefix')) format('embedded-opentype'), | |
url(font-url(file + '.woff')) format('woff'), |
/** | |
* Responsive style mixins. | |
* | |
* Usage: | |
* +tablet() | |
* prop val | |
*/ | |
breakpoint-one = 1600px |