- How comfortable are you with Object Oriented concepts and how they apply to any given language? (elaborate on OOP)
- Can you explain inheritance and as it relates to extending classes or objects?
- How about the concept of composition vs inheritance?
- Can you explain the difference between Classical and Prototypal inheritance?
- Are you familiar with Software Design Patterns?
- Can you explain MVC?
- Are there any other patterns you are familiar with and can you explain a use case?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'unicorn' | |
gem 'airbrake' | |
gem 'newrelic_rpm' | |
gem 'haml-rails' | |
gem_group :development, :test do | |
gem 'spring-commands-rspec', require: false | |
gem 'rspec-rails', github: 'rspec/rspec-rails' | |
gem 'teaspoon', github: 'modeset/teaspoon' | |
gem 'dotenv-rails' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"imagemagick": {"ghostscript": true}, | |
"redis": {"launchd": true}, | |
"rbenv": {"versions": ["1.9.3-p362"]}, | |
"basic_brew": { | |
"formulae": [ | |
"bash-completion", | |
"wget", | |
"android-sdk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/ruby | |
require 'logger' | |
require 'fileutils' | |
require 'net/ftp' | |
require 'rubygems' | |
require 'mysql2' | |
# logging setup | |
log = Logger.new("/tmp/sql_load_log.log", 10, 1024000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
//Get any tickets from view 22567988, outage Tickets that are currently open. | |
new Ajax.Request('/rules/22567988', { | |
method:'get', | |
asynchronous: true, | |
onSuccess: function(transport){ | |
var obj = transport.responseText.evalJSON(); | |
$('active-views').innerHTML = '<p>' + obj.length + ' current service outage.' | |
+ ' First outage is ' | |
+ obj[0].subject + '</p>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git filter-branch --env-filter ' | |
an="$GIT_AUTHOR_NAME" | |
am="$GIT_AUTHOR_EMAIL" | |
cn="$GIT_COMMITTER_NAME" | |
cm="$GIT_COMMITTER_EMAIL" | |
if [ "$GIT_COMMITTER_EMAIL" = "jayzeschin@0c2636a8-f7e4-4949-a4be-0920dbe5b3d6" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nokogiri::XML(resource["4165/stories?limit=10&filter=state%3Astarted"].get).xpath('//story').collect do |story| | |
{ | |
:name => story.at('name'), | |
:owner => story.at('owned_by'), | |
:created_at => story.at('created_at'), | |
:description => story.at('description'), | |
:url => story.at('url'), | |
:type => story.at('story_type') | |
:notes => story.at('notes').collect { |note| { :note => { :text => note.at('text').content, :created_at => note.at('noted_at').content } } } unless story.at('notes').nil? | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://gist.github.com/10524 | |
# Prevents autotest from running your entire test suite after fixing a failed test. | |
# Works with ZenTest 3.10.0 | |
# Place this in your .autotest file and run autotest with RERUN=false to disable running the entire test suite | |
if ENV['RERUN'] == 'false' | |
require 'rubygems' | |
require 'active_support' |