Skip to content

Instantly share code, notes, and snippets.

View xykj61's full-sized avatar

keaton "kj" livermore-dunsford xykj61

View GitHub Profile
@xykj61
xykj61 / ami-clean.sh
Last active May 17, 2018 09:30 — forked from jdowning/ami-clean.sh
Script to clean up Ubuntu EC2 instance before packaging as an AMI
#!/bin/bash
# This script cleans up your EC2 instance before baking a new AMI.
# Run the following command in a root shell:
#
# bash <(curl -s https://gist.githubusercontent.com/keatondunsford/b8e4da06448e2d52cb3f4388ff47fd73/raw/9a5c3cfd77ecb07fe725259df4c230531401575a/ami-clean.sh)
function print_green {
echo -e "\e[32m${1}\e[0m"
}
@xykj61
xykj61 / gist:f8e1d286e9da36eb4613beb67d558445
Created February 16, 2017 01:58 — forked from chrissimpkins/gist:5bf5686bae86b8129bee
Atom Editor Cheat Sheet (Sweetmeat)

Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.

Key to the Keys

  • ⌘ : Command key
  • ⌃ : Control key
  • ⌫ : Delete key
  • ← : Left arrow key
  • → : Right arrow key
  • ↑ : Up arrow key
@xykj61
xykj61 / iterm2.md
Created February 16, 2017 01:56
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
Go to Window + Option + Number
Go to Split Pane by Direction + Option + Arrow
Go to Split Pane by Order of Use + ] , + [
@xykj61
xykj61 / README.md
Created February 16, 2017 01:55 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@xykj61
xykj61 / README.md
Created February 16, 2017 01:55 — forked from hofmannsven/README.md
My simply Git Cheatsheet