| Keys | Config | Desc |
|---|---|---|
| ⌘ Del | send hex 0x15 | delete line |
| ⌥ Del | send hex 0x1B 0x08 | delete word |
| ⌘ ← | send hex 0x01 | move cursor to the beginning of a line |
| ⌘ → | send hex 0x05 | move cursor to the end of a line |
| ⌥ ← | send esc seq Esc+b | move cursor to the left by word |
| ⌥ → | send esc seq Esc+f | move cursor to the right by word |
| ❱ git config user.signingKey 38AF394C | |
| ❱ git config commit.gpgSign true | |
| ❱ echo "test" | gpg --clearsign | |
| -----BEGIN PGP SIGNED MESSAGE----- | |
| Hash: SHA256 | |
| test | |
| gpg: signing failed: Inappropriate ioctl for device | |
| gpg: [stdin]: clear-sign failed: Inappropriate ioctl for device |
Open the iTerm preferences ⌘+, and navigate to the Profiles tab (the Keys tab can be used, but adding keybinding to your profile allows you to save your profile and sync it to multiple computers) and keys sub-tab and enter the following:
⌘+←Delete Send Hex Codes:
0x18 0x7f– Less compatible, doesn't work in node and won't work in zsh by default, see below to fix zsh (bash/irb/pry should be fine), performs desired functionality when it does work.0x15– More compatible, but typical functionality is to delete the entire line rather than just the characters to the left of the cursor.
⌘+fn+←Delete or ⌘+Delete→ Send Hex Codes:
0x0b
Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
- Inexplicable perversity of human nature.
- The clever machinations of MongoDB's marketing people.
- The AGPL license killed it.
- We spent too long development before monetizing.
- Bad performance.
- Numeric types limited to a 64-bit `float`.
- Great product, but didn't/couldn't translate to revenue.
- Bad business model.
- Failure in timezones/timestamp nuances.
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
- Install https://gpgtools.org -- I'd suggest to do a customized install and deselect GPGMail.
- Create or import a key -- see below for https://keybase.io
- Run
gpg --list-secret-keysand look forsec, use the key ID for the next step - Configure
gitto use GPG -- replace the key with the one fromgpg --list-secret-keys
Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist.
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).