Merge pull request #200 from poliveira89/new_cheatsheets

New cheatsheets
This commit is contained in:
Chris Lane 2015-01-05 20:38:19 -05:00
commit 9041c57d21
2 changed files with 29 additions and 0 deletions

26
cheat/cheatsheets/bower Normal file
View file

@ -0,0 +1,26 @@
# Install a package locally
bower install <package-name>
# Install a package locally directly from github
bower install <user>/<repo>
# Install a specific package locally
bower install <package-name>#<version>
# Install a package locally and save installed package into bower.json
bower install <package-name> --save
# Retrieve info of a particular package
bower info <package-name>
# List local packages
bower list
# Search for a package by name
bower search <package-name>
# Update a package to their newest version
bower update <package-name>
# Remove a local package
bower uninstall <package-name>

View file

@ -13,6 +13,9 @@ ssh -t user@example.com 'the-remote-command'
# To tunnel an x session over SSH: # To tunnel an x session over SSH:
ssh -X user@example.com ssh -X user@example.com
# Redirect traffic with a tunnel between local host (port 8080) and a remote host (remote.example.com:5000) through a proxy (personal.server.com):
ssh -f -L 8080:remote.example.com:5000 user@personal.server.com -N
# To launch a specific x application over SSH: # To launch a specific x application over SSH:
ssh -X -t user@example.com 'chromium-browser' ssh -X -t user@example.com 'chromium-browser'