- by Lee2sman
- Updated 2017-09-18
#!/usr/bin/env bashfor portability, or less good,#!/bin/bash
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
Command Line
pry -r ./config/app_init_file.rb - load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb - load your rails into a pry sessionDebugger
Hide local changes:
$ git stashFetch remote changes:
$ git fetch
| " ----------------------------------------------------------------------------- | |
| " Plugins | |
| " | |
| " - Solarized color theme | |
| " - Powerline | |
| " - NERDTree | |
| " - NERDCommenter | |
| " - Command-T | |
| " - Vim better whitespace | |
| " - JSHint |
| <!DOCTYPE html> | |
| <html ng-app="uploadApp"> | |
| <head> | |
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.min.js"></script> | |
| <script src="https://code.jquery.com/jquery-1.11.3.js"></script> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body ng-controller="UploadCtrl"> | |
| <file-uploader on-select="addFile(file)"></file-uploader> |
| curl -Lo- http://bit.ly/janus-bootstrap | bash | |
| #errored out...had to install git first, derrr | |
| sudo apt-get install git | |
| curl -Lo- http://bit.ly/janus-bootstrap | bash | |
| # error! had to install rake next | |
| sudo apt-get install rake | |
| curl -Lo- http://bit.ly/janus-bootstrap | bash |