Install git:
sudo apt-get install git
Configure Git:
touch ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"
git config --global user.email "Your Email"
| http://devdocs.io/ | |
| https://github.com/moklick/frontend-stuff | |
| APIs | |
| http://hybridauth.sourceforge.net/ | |
| https://www.runscope.com/ | |
| http://requestb.in/ | |
| https://apigee.com/providers | |
| http://apidocjs.com/ | |
| http://awesome-ruby.com/ | |
| http://www.theodinproject.com/ | |
| https://rubyoffrails.com/ | |
| https://www.railstutorial.org/book | |
| http://codehero.co/series/ruby-on-rails-desde-cero/ | |
| rubyforwebdesigners.com | |
| https://github.com/bbatsov/ruby-style-guide | |
| http://readwrite.com/2011/04/08/10-free-e-books-on-ruby-for-be | |
| http://resrc.io/list/10/list-of-free-programming-books/#ruby |
Install git:
sudo apt-get install git
Configure Git:
touch ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"
git config --global user.email "Your Email"
| function createThumb($rawname, $ext, $path) | |
| { | |
| $custom_width = 200; | |
| $type = str_replace('.', '', $ext); | |
| $filename = $rawname . $ext; | |
| $mini_filename = $rawname . '_mini' . $ext; | |
| $file_path = $path . $filename; | |
| // Build new image | |
| if ($type == 'jpeg' || $type == 'jpg') { | |
| $thumb = imagecreatefromjpeg($file_path); |
| function updateClock ( ) | |
| { | |
| var currentTime = new Date ( ); | |
| var currentHours = currentTime.getHours ( ); | |
| var currentMinutes = currentTime.getMinutes ( ); | |
| var currentSeconds = currentTime.getSeconds ( ); | |
| // Pad the minutes and seconds with leading zeros, if required | |
| currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes; | |
| currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds; | |
| // Choose either "AM" or "PM" as appropriate |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |