Skip to content

Instantly share code, notes, and snippets.

View johnvoorhees's full-sized avatar

John Voorhees johnvoorhees

View GitHub Profile
@johnvoorhees
johnvoorhees / Electricity Price Downloader
Created January 20, 2014 18:30
Objective-C code for pulling daily predicted and actual electricity price data from ComEd.
#import <Foundation/Foundation.h>
int main(int argc, char *argv[]) {
@autoreleasepool {
int day = 1;
int month = 1;
int year = 2007;
NSDateComponents *comps = [[NSDateComponents alloc] init];
@johnvoorhees
johnvoorhees / ElectricityPriceTracker
Last active January 3, 2016 01:59
ComEd Electricity Price Tracker that can be tied to Panic's Status Board iPad app to track real versus actual electricity prices for ComEd, the Chicago-area electric utility.
//
// main.m
// Status Board Widget Predicted and Actual ComEd Prices
//
// Created by John Voorhees.
// Copyright (c) 2013 John Voorhees. All rights reserved.
//
#import <Foundation/Foundation.h>