brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
<?php | |
/** | |
* @author Simon Holywell <treffynnon@php.net> | |
*/ | |
class LazyLoadingProxy { | |
/** | |
* Where the instance of the actual class is stored. | |
* @var $instance object | |
*/ | |
private $instance = null; |
<?php | |
class Curl { | |
/** | |
* cURL request method | |
* | |
* @var string | |
*/ | |
protected $_method = 'GET'; |
{ | |
"globals": { | |
"assert" : true, | |
"define" : true, | |
"require" : true, | |
"module" : true, | |
"exports" : true, | |
"$" : true, | |
"jQuery" : true, | |
"_" : true, |
{ | |
"preset": "google", | |
"fileExtensions": [ ".js", "jscs" ], | |
"requireParenthesesAroundIIFE": true, | |
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties", | |
"maximumLineLength": 120, | |
"validateLineBreaks": "LF", | |
"validateIndentation": 2, |
set -g mouse on | |
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'" | |
unbind -t vi-copy Enter | |
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy" |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
> find . -type d | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/" | |
Output: | |
. | |
|-bin | |
|-src | |
| |-apps | |
| | |-__pycache__ | |
| | |-accounts | |
| | | |-__pycache__ |
a.post { | |
display: block; | |
} |
git clone <ORIG_REPO_DIR> <NEW_REPO_DIR> | |
cd <NEW_REPO_DIR> | |
git filter-branch --prune-empty --subdirectory-filter <THE_SUBDIR_TO_MAKE_NEW_ROOTDIR> master | |
git push <MY_NEW_REMOTE_ORIGIN_URL> -f . |