Collaborate with ease. Multiple people can build work together thru Trello to create mass emails
Difficult for one person to generate content for a mass email. Blog posts, jobs, local information. This can be added by trusted collaborators.
| def merge_sort(array) | |
| return array if array.length < 2 | |
| mid = array.length / 2 | |
| left = merge_sort(array[0, mid]) | |
| right = merge_sort(array[mid, array.length-mid]) | |
| merge_sorted_arrays left, right | |
| end | |
| def merge_sorted_arrays(array1, array2, merged_array=[]) |
| Explain what rubywarrior is. | |
| * gem version | |
| * web version | |
| Talk about my history(as pertains to rubywarrior) | |
| * first meetup | |
| * previous attempts | |
| Why many don't complete it | |
| * complexity |
| 1. Why do we refactor? | |
| We refactor so we can clean up code, increase reusability, and remove 'code smells' | |
| 2. What's the difference between "refactoring" and "changing shit"? | |
| When you refactor you are not changing what the code does. (i.e. implementing a new feature). "Changing shit" is for that or babies, depending on how you look at it. | |
| 3. What role do patterns play in refactoring? |
| require 'erb' | |
| include ERB::Util | |
| @items = ['foo', 'bar', 'baz'] | |
| weekday = Time.now.strftime('%A') | |
| template = %Q{ | |
| <DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
| class Player | |
| def initialize | |
| @warrior = 'warrior' | |
| end | |
| def play_turn(warrior) | |
| move_forward | |
| end |