Skip to content

Instantly share code, notes, and snippets.

@jasonhinkle
jasonhinkle / reset-git.txt
Created January 6, 2016 01:43
Reset Git Credentials
# clear old credentials
git credential-osxkeychain erase
host=github.com
protocol=https
<enter>
# view existing credentials
git credential-osxkeychain get
host=github.com
<enter>
@jasonhinkle
jasonhinkle / .ssh.config
Created January 23, 2016 21:49
SSH Configuration
# Override Settings For ~/.ssh/config
# do not add localhost to known hosts (useful if you create tunnels frequently)
NoHostAuthenticationForLocalhost yes
@jasonhinkle
jasonhinkle / npm-commands.sh
Last active February 3, 2016 22:30
npm commands
# global packages are located at:
# /usr/local/lib/node_modules/
# see all installed global packages
npm ls -g
# see all outdated global packages
npm outdated -g --depth=0
# npm update all global packages