Skip to content

Instantly share code, notes, and snippets.

View atljeremy's full-sized avatar

Jeremy Fox atljeremy

View GitHub Profile
@atljeremy
atljeremy / ViewController.m
Created April 20, 2012 03:20
Project 3 AOC - ViewController.m - Full Sail
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad
{
@atljeremy
atljeremy / parseSpreadsheet.rb
Created April 6, 2012 19:03
Parse XLS Spreadsheet into Multi-Line Hash Using Ruby
# Required Gems
require "rubygems"
require "spreadsheet"
def getPixelTrackers
main=Hash.new
Spreadsheet.open('public/chart.xls') do |book|
book.worksheet('Sheet1').each do |row|
@atljeremy
atljeremy / makeSortedList.js
Created February 7, 2012 04:12
Javascript/HTML5 localStorage Object Sorting Function
//************************************************************************
// Author: Jeremy Fox
// Please Note: This function requires the underscore.js library
// You can get underscore.js here: http://documentcloud.github.com/underscore/
//
// Usage: Simply call the makeSortedList() function where you want the
// sorted list to be returned to. You will also need to specify which
// object property you would like to sort by. For example, if you have an
// object with properties "id", "name", "date", "price", "type", etc. You
// just need to specify which property you want to sort by where you see