I hereby claim:
- I am sipple on github.
- I am esipple (https://keybase.io/esipple) on keybase.
- I have a public key whose fingerprint is 7509 B094 A661 CF05 D93C F0EF C1BD 0651 FD3A 4F5A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
- bodyclass = (current_path == "templates-test-site/index.html") ? 'home' : 'internal' | |
- bodyclass << ' test-site' if current_resource.data.test_site | |
- if current_resource.data.events_list | |
- bodyclass += " events-list" | |
- if current_resource.data.event_detail | |
- bodyclass += " event-detail" |
# Defines all Languages known to GitHub. | |
# | |
# type - Either data, programming, markup, prose, or nil | |
# aliases - An Array of additional aliases (implicitly | |
# includes name.downcase) | |
# ace_mode - A String name of the Ace Mode used for highlighting whenever | |
# a file is edited. This must match one of the filenames in http://git.io/3XO_Cg. | |
# Use "text" if a mode does not exist. | |
# wrap - Boolean wrap to enable line wrapping (default: false) | |
# extensions - An Array of associated extensions (the first one is |
################## | |
# This code sample contains the logic for a page used by arts festival attendees to filter | |
# the festival's events and find a show they're interested in seeing. | |
# You can see the event list in action here: http://pghkids.org/events | |
################## | |
################## | |
# FestivityEventsController, which receives a request with search criteria and returns | |
# a list of matching events to the view. | |
################## |
FEET – [PHENOTYPE] Wholly palpable details to draw on, like physical details and facts.
What does this person look like?
Where did they live?
Where do they go to school?
Do they have tattoos? Why?
class ErrorsController < ApplicationController | |
def index | |
@errors = Error.all | |
end | |
def show | |
@error = Error.find(params[:id]) | |
respond_to do |format| | |
format.js { #render partial} | |
format.html {#render action?} |
class ErrorInstance | |
def self.create_from(email) | |
#your other create_from code | |
#ActiveRecord block initialization | |
error_instance = ErrorInstance.new do |instance| | |
instance.error_id = Error.find_or_create(exception).id | |
instance.exception = exception | |
#etc, your other parameters go here |
Relieved of Duty!
Okay…ready for a pretty tough one?
The ranger-devs have really had a lot of success with your vehicle objects. They’ve even created their own objects that represent each ranger-dev and placed those objects inside your vehicle objects to keep track of which ranger-devs are assigned to patrol duty on specific vehicles. For example, the modified submarine object is as follows:
var vehicle3 = {
type: "Submarine", capacity: 8, storedAt: "Underwater Outpost",
ranger1: { name: "Gregg Pollack", skillz: "Lasering", dayOff: "Friday"},
ranger2: { name: "Bijan Boustani", skillz: "Roundhouse Kicks", dayOff: "Tuesday"},