brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
// Copyright 2018 Gordon Brander | |
// Released under MIT License https://opensource.org/licenses/MIT | |
const closest = (el, selector) => | |
el.closest ? el.closest(selector) : null; | |
/** | |
* Delegate event handling to a parent element. | |
* @arg {Element} el - the parent element that we will be delegating handling to. | |
* @arg {string} selector - CSS selector of elements that should receive events. |
sass/ | |
| | |
|– base/ | |
| |– _reset.scss # Reset/normalize | |
| |– _typography.scss # Typography rules | |
| ... # Etc… | |
| | |
|– components/ | |
| |– _buttons.scss # Buttons | |
| |– _carousel.scss # Carousel |
var commentSchema = new Schema({ | |
postId: { | |
type: String, | |
hashKey: true | |
}, | |
id: { | |
type: String, | |
rangeKey: true, | |
default: shortId.generate |
# Define the DocPad Configuration | |
docpadConfig = { | |
watchOptions: | |
preferredMethods: ['watchFile', 'watch'] | |
catchupDelay: 0 | |
regenerateDelay: 0 | |
# Copy third-party to out folder | |
plugins: | |
raw: |
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 . |
a.post { | |
display: block; | |
} |
> find . -type d | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/" | |
Output: | |
. | |
|-bin | |
|-src | |
| |-apps | |
| | |-__pycache__ | |
| | |-accounts | |
| | | |-__pycache__ |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
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" |