Michigan Cards Against Humanity
- The Dutch
- The Christian Reformed Church
- Lake Michigan Shrinkage
- Feeling like Grand Rapids is a cool city during ArtPrize
- Ordering hot water and smuggling tea bags
- The elderly
// This works | |
array_map(function($key, $value) { | |
var_dump($key); | |
var_dump($value); | |
}, array_keys($someArray), $someArray); |
# encoding: utf-8 | |
module Kernel | |
define_method "√" do |number| | |
Math.sqrt(number) | |
end | |
end | |
# Then call: | |
# √ 5 |
I hereby claim:
To claim this, I am signing this object:
class IngredientsController < ApplicationController | |
def index | |
@ingredients = if params[:term] | |
Ingredient.where("name LIKE ?", "%#{params[:term]}%") | |
else | |
Ingredient.all.ordered | |
end | |
respond_to do |format| | |
format.html | |
format.json { render json: @ingredients, root: false } |
engines: | |
csslint: | |
enabled: true | |
duplication: | |
enabled: false | |
config: | |
languages: | |
- ruby | |
- javascript | |
- python |
Here is some text |
The first file
__________.__ | |
\______ \__|____________________ | |
| ___/ \___ /\___ /\__ \ | |
| | | |/ / / / / __ \_ | |
|____| |__/_____ \/_____ \(____ / | |
\/ \/ \/ | |
__________ | |
\______ \ | |
| ___/ | |
| | |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'mechanize' | |
require 'json' | |
url = "https://en.wikipedia.org/wiki/List_of_city_nicknames_in_the_United_States" | |
STATES = ["Alabama", "Alaska", "Arizona", "Arkansas", "California", "Colorado", | |
"Connecticut", "Delaware", "Florida", "Georgia", "Hawaii", "Idaho", | |
"Illinois", "Indiana", "Iowa", "Kansas", "Kentucky", "Louisiana", | |
"Maine", "Maryland", "Massachusetts", "Michigan", "Minnesota", |