- Jim Weirich: The Building Blocks of Modularity – http://goo.gl/g4Nk
- Jim Weirich: SOLID Ruby – http://goo.gl/z3jd
- Sandi Metz: SOLID Object-Oriented Design – http://goo.gl/PDn6T
- Sandi Metz: Less – The Path to Better Design – http://goo.gl/VuTl4
- Demeter is for Encapsulation – http://is.gd/eeyLx
- Opinionated Modular Code – http://is.gd/eeyXm
- Scaling to Hundreds of Millions of Requests – http://vimeo.com/12814529
- Confident Code – http://goo.gl/VFLX
- Destroy All Software Screencasts – https://www.destroyallsoftware.com/screencasts
- Corey Haines: Fast Rails Tests – http://goo.gl/Va2gb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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); |
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"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/ | |
NewerOlder