- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
| # iterm themes | |
| https://iterm2colorschemes.com/ | |
| https://github.com/mbadolato/iTerm2-Color-Schemes | |
| # ZSH Config | |
| $ nano .zshrc | |
| $ soruce .zshrc |
| git archive -o update.zip HEAD $(git diff --name-only HEAD^) |
| #!/bin/bash | |
| while read p; do | |
| echo "Adding $p" | |
| curl -X POST -F url="$p" https://refresh.pocketcasts.com/author/add_feed_url | |
| done <podcasts.txt |
| rot13 (s) { | |
| return s.split('').map((_) => { | |
| if (!_.match(/[A-Za-z]/)) return _ | |
| var c = Math.floor(_.charCodeAt(0) / 97) | |
| var k = (_.toLowerCase().charCodeAt(0) - 83) % 26 || 26 | |
| return String.fromCharCode(k + ((c === 0) ? 64 : 96)) | |
| }).join('') | |
| } |
| .comment-icon { | |
| display: flex; | |
| @include media-breakpoint-up(sm) { // Using native Bootstrap Breakpoints | |
| display: inline-block; | |
| } | |
| } | |
| //http://v4-alpha.getbootstrap.com/layout/overview/#responsive-breakpoints |
| cd "$ZSH" && git stash && upgrade_oh_my_zsh |
| /** | |
| * Deploy to a branch in the same repository. | |
| * | |
| * `gulp release [--releaseType=major|minor|patch]` | |
| * | |
| * By default, bumps the version using semantic release, creates | |
| * a distribution from the master branch and deploys to dist branch. | |
| * | |
| * A `.gitignore-dist` file can be created to define ignored files | |
| * for the release. |
| '.text.html': | |
| 'dochead': | |
| 'prefix': 'doc' | |
| 'body': """ | |
| <?php | |
| /** | |
| * $1 | |
| * | |
| **/ | |
| ?> |