(Several of these git examples have been extracted from the book 'Pragmatic guide to GIT' of Travis Swicegood )
git config --global user.name "Fernando Guillen"
git config --global user.email "fguillen.mail+spam@gmail.com"
cd /develop/myrepo
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| -# -------------------- | |
| -# RENDER PARTIAL FUNCTION | |
| -# Render function inside haml file | |
| -# -------------------- | |
| - def render(partial) Haml::Engine.new(File.read("app/templates/#{partial}")).render end |
| # Logs and databases # | |
| ###################### | |
| *.log | |
| *.sql | |
| *.sqlite | |
| # OS generated files # | |
| ###################### | |
| .DS_Store? | |
| ehthumbs.db |
| [ | |
| { | |
| "zone": "Pacific/Midway", | |
| "gmt": "(GMT-11:00)", | |
| "name": "Midway Island" | |
| }, | |
| { | |
| "zone": "US/Samoa", | |
| "gmt": "(GMT-11:00)", | |
| "name": "Samoa" |
| [ | |
| [ | |
| "Afghanistan", | |
| "AF" | |
| ], | |
| [ | |
| "Aland Islands", | |
| "AX" | |
| ], | |
| [ |