This file contains hidden or 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
| <?php | |
| namespace Deployer; | |
| require 'recipe/laravel.php'; | |
| require 'vendor/deployer/recipes/rsync.php'; | |
| // Configuration | |
| add('shared_files', []); | |
| add('shared_dirs', []); | |
| add('writable_dirs', []); |
This file contains hidden or 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
| # git | |
| alias gs='git status ' | |
| alias ga='git add ' | |
| alias gb='git branch ' | |
| alias gc='git commit' | |
| alias gd='git diff' | |
| alias go='git checkout ' | |
| alias gk='gitk --all&' | |
| alias gx='gitx --all' |
This file contains hidden or 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
| brew tap homebrew/dupes | |
| brew tap homebrew/versions | |
| brew tap homebrew/homebrew-php | |
| brew install php70 | |
| brew install php70-xdebug | |
| brew install php71 | |
| brew install php71-xdebug | |
| brew install php71-apcu |
This file contains hidden or 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
| brew update | |
| brew doctor | |
| brew uninstall python | |
| brew install python --build-from-source | |
| python --version | |
| pip install --upgrade pip | |
| pip --version | |
| brew install pyenv |
This file contains hidden or 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
| let rethink = require('rethinkdbdash') | |
| let config = { | |
| rethinkdb: { | |
| host: 'localhost', | |
| port: 28015, | |
| authKey: "", | |
| db: 'rethinkdb_ex', | |
| pool: true, | |
| cursor: false |
This file contains hidden or 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
| /** | |
| * John - www.john.cloud | |
| * | |
| * eq: express. Create folders in root of app '/views/home/index.marko' | |
| * let tpl = require('./template') | |
| * | |
| * callback style | |
| * tpl.render('home.index', params, (output) => res.send(output)) | |
| * tpl.render('home.index', (output) => res.send(output)) | |
| * |
NewerOlder