Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
[alias] | |
pr = "!f() { git fetch origin pull/$1/head:sethvargo/pr-$1 && git checkout sethvargo/pr-$1; }; f" | |
unreleased = "!f() { git fetch --tags && git diff $(git tag | tail -n 1); }; f" | |
up = "!f() { git fetch --all; git pull origin HEAD; for upstream in $(git remote); do git remote prune "${upstream}"; done }; f" | |
graph = "!f() { git log --oneline --abbrev-commit --graph --decorate; }; f" | |
undo = !git reset HEAD~1 --mixed | |
amend = !git commit --amend --no-edit | |
top = !git log --format=format:%an | sort | uniq -c | sort -r | head -n 20 | |
x = "!f() { gitx; }; f" |
<?php | |
/** | |
* Create a Google Calendar "add to calendar" link. | |
* | |
* This function is convienient because it does not require an API connection. | |
* Note that this only allows for adding a single event. | |
* The data does not have to exist already on any Google Calendar anywhere. | |
* This just adds your event data to the end-users GCal one item at a time. | |
* See https://stackoverflow.com/a/19867654/947370 for a full explaination of | |
* the Google Calendar URL structure. |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.