Tested with OS X 10.9 only, YMMV.
Install homebrew http://brew.sh if you don't have it by launching Terminal.app and entering
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"Follow all the prompts.
Tested with OS X 10.9 only, YMMV.
Install homebrew http://brew.sh if you don't have it by launching Terminal.app and entering
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"Follow all the prompts.
| class Monster | |
| def initialize(options) | |
| @name = options[:name] | |
| @lifepoints = options[:lifepoints] | |
| @drop_mechanic = options[:drop_mechanic] | |
| @hit_log = [] | |
| @output_buffer = [] | |
| end | |
| def get_hit(player, hit) |
| require 'benchmark' | |
| Benchmark.bm do |b| | |
| b.report "upcase " do | |
| e = "Collaboratively administrate empowered markets via plug-and-play networks -- http://www.cipsum.com/" | |
| 1_000_000.times { e[0] == e[0].upcase } | |
| end | |
| b.report " /^[A-Z]/ " do | |
| e = "Collaboratively administrate empowered markets via plug-and-play networks -- http://www.cipsum.com/" |
Originally published in June 2008
When hiring Ruby on Rails programmers, knowing the right questions to ask during an interview was a real challenge for me at first. In 30 minutes or less, it's difficult to get a solid read on a candidate's skill set without looking at code they've previously written. And in the corporate/enterprise world, I often don't have access to their previous work.
To ensure we hired competent ruby developers at my last job, I created a list of 15 ruby questions -- a ruby measuring stick if you will -- to select the cream of the crop that walked through our doors.
Candidates will typically give you a range of responses based on their experience and personality. So it's up to you to decide the correctness of their answer.
OUTDATED See http://www.apple.com/ios/carplay/available-models/ for an up-to-date list.
| Year | Model | Links | Notes |
|---|---|---|---|
| 2016 | Cruze | Source |
| /** | |
| * Texas Flag | |
| */ | |
| .texas { | |
| margin: 3em; | |
| width: 24em; | |
| height: 16em; | |
| box-shadow: 0px 0px 10px lightgray; | |
| background: linear-gradient(rgb(255,255,255) 50%, rgb(191,10,48) 50%); |
| /** | |
| * Greece flag | |
| */ | |
| .greece { | |
| margin: 3em; | |
| width: 24em; | |
| height: 16em; | |
| box-shadow: 0px 0px 10px lightgray; | |
| background: linear-gradient(rgb(0,97,242) 50%, rgb(255,255,255) 0); |
I hereby claim:
To claim this, I am signing this object:
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| .monogram { | |
| display: block; | |
| width: 100px; | |
| height: 100px; | |
| line-height: 100px; | |
| margin: 20px; |
| from emu import * | |
| from datetime import datetime, date, timedelta | |
| emu_tty_filename = 'tty.usbmodem1411' | |
| class EmuWrangler(object): | |
| rates = { | |
| 'Summer' : { | |
| 'Peak' : (47334, 5), |