A quick blur why this matters, what the problem solves and how it works.
To run the unit tests execute the following command
| 18:18:07 From Christine : cheese! | |
| 18:18:27 From Nicola : :D | |
| 18:18:41 From Jonathan Pike : Cograts Joe! | |
| 18:18:54 From Marco Morawec : Congrats Joe :) | |
| 18:19:05 From ceceliahavens : congratulations to Joe | |
| 18:21:31 From Nicola : My blur is much more confusing :( | |
| 18:22:50 From Marco Morawec : One step at a time: first get it to work, then refactor and organize your code better | |
| 18:24:29 From Nicola : Thanks! The bright side is that for blur #3 I just added a couple of lines of cod | |
| 18:25:14 From Colin R : yeah we won't get into that | |
| 18:25:15 From ben : I have a question, Ken, why do you use Sublime |
| defmodule Jarvis.Result do | |
| use Jarvis.Web, :model | |
| schema "results" do | |
| field :title, :string | |
| field :body, :string | |
| timestamps | |
| has_many :rules, Jarvis.Rule |
| require 'rubygems' | |
| require 'httparty' | |
| resp = HTTParty.get("http://www.catfact.info//api/v1/facts.json?page=1&per_page=30") | |
| resp['facts'].each do |item| | |
| puts item.inspect | |
| end |
| class LinkedListNode | |
| attr_accessor :value, :next_node | |
| def initialize(value, next_node=nil) | |
| @value = value | |
| @next_node = next_node | |
| end | |
| end | |
| def floyd?(list_node) |
| require 'erb' | |
| puts "What's your name" | |
| name = gets.chomp | |
| str = <<-ENDCHARS | |
| Hello there <%= name%>, | |
| I hope you're well! |
| var gmail = Gmail(); | |
| var email = gmail.get.user_email(); | |
| alert(email); |
| global | |
| maxconn 1024 | |
| daemon | |
| nbproc 1 | |
| defaults | |
| mode http | |
| clitimeout 60000 | |
| srvtimeout 30000 | |
| contimeout 4000 | |
| option httpclose |
| global | |
| maxconn 1024 | |
| daemon | |
| nbproc 1 | |
| defaults | |
| mode http | |
| clitimeout 60000 | |
| srvtimeout 30000 | |
| contimeout 4000 | |
| option httpclose |
| SIMPSONS_CHARACTERS = [ | |
| 'Homer Simpson', | |
| 'Bart Simpson', | |
| 'Marge Simpson', | |
| 'Lisa Simpson', | |
| 'Maggie Simpson', | |
| 'Abraham Simpson', | |
| 'Patty & Selma Bouvier', | |
| 'Ralph Wiggum', | |
| 'Chief Clancy Wiggum', |