Skip to content

Instantly share code, notes, and snippets.

View oo1john's full-sized avatar
🚀
Lost in Design

John oo1john

🚀
Lost in Design
View GitHub Profile
<?php
namespace Deployer;
require 'recipe/laravel.php';
require 'vendor/deployer/recipes/rsync.php';
// Configuration
add('shared_files', []);
add('shared_dirs', []);
add('writable_dirs', []);
@oo1john
oo1john / git
Last active November 16, 2016 13:05
# 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'
@oo1john
oo1john / Php
Last active November 16, 2016 12:56
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
@oo1john
oo1john / Python
Last active January 6, 2017 19:12
brew update
brew doctor
brew uninstall python
brew install python --build-from-source
python --version
pip install --upgrade pip
pip --version
brew install pyenv
let rethink = require('rethinkdbdash')
let config = {
rethinkdb: {
host: 'localhost',
port: 28015,
authKey: "",
db: 'rethinkdb_ex',
pool: true,
cursor: false
/**
* 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))
*