View command
# I alias this to enable_pf since it's reset on reboot
$ sudo pfctl -ef /etc/pf.conf
View Resume.md

Chris Ell

Developer

chris.ellbot.com | chris@ellbot.com | Philadelphia, PA


Looking to become a better developer by surrounding myself with others who have a passion for what they do.

Skills Primary:

  • Ruby/Ruby on Rails
  • SQL and MongoDB
View gist:9374505
<?php
class Product
{
private $_fields = array(
'title',
'body',
'field_main_image',
'field_collection',
'field_super_category',
'field_model_number',
View gist:8523103
class Words
attr_accessor :threes
def initialize
@ones = ["", "one","two", "three", "four", "five", "six", "seven", "eight", "nine"]
@twos = ["", "ten", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty","ninety"]
@threes = @ones.map { |one| one + "hundred" }
@normals = ["eleven","twelve","thirteen", "fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
@huge_string = ''
1.upto(1000) do |i|
puts stringify(i)
View gist:8479225
class Test
def initialize
@hash_table = {}
end
def determine_count(x)
step_count = 0
num = x
while x > 1
View controller.rb
def update
@presentation = Presentation.find(params[:id])
if @presentation.update_attributes(params[:presentation])
set_bio
set_position
redirect_to admin_presentations_path
else
render :edit
end
end
View gist:5541217
class SupportersController < ApplicationController
Inf = 1.0 / 0.0
def index
@major_supporters = Supporter.where(level: 1)
@minor_supporters = Supporter.where(level: 2)
@funds = {500..Inf => [],250...500 => [],150...250 => [],75...150 => [],50...75 => [],25...50 => [], 1...25 =>[]}
@volunteers = {40..Inf => [], 20...40 => [], 10...20 => [], 5...10 => [], 1...5 => []}
@items = {1..Inf =>[]}
View gist:4049406

Chris Ell

Developer

ellbot.chris@gmail.com | 215-317-0800 | Philadelphia, PA


Looking to become a better developer by surrounding myself with others who have a passion for what they do.

Skills Primary:

  • Objective-C/iOS SDK
  • PHP
View AppDelegate.m
RKURL *baseURL = [RKURL URLWithBaseURLString:@"http://deloitte.cld.sr:8080/api/"];
RKObjectManager *objectManager = [RKObjectManager objectManagerWithBaseURL:baseURL];
objectManager.client.baseURL = baseURL;
objectManager.client.requestQueue.showsNetworkActivityIndicatorWhenBusy = YES;
objectManager.objectStore = [RKManagedObjectStore objectStoreWithStoreFilename:@"DeloitteLifeApp.sqlite"];
[[RKObjectManager sharedManager].mappingProvider setMapping:[Article getManagedObjectMap] forKeyPath:@""];
[[RKObjectManager sharedManager] loadObjectsAtResourcePath:@"/articles/" delegate:self];