Skip to content

Instantly share code, notes, and snippets.

View trobrock's full-sized avatar

Trae Robrock trobrock

View GitHub Profile
Error while loading route: TypeError: Cannot set property 'store' of undefined
at Ember.Object.extend.modelFor (http://0.0.0.0:8000/js/app.js:64208:23)
at Ember.Object.extend.recordForId (http://0.0.0.0:8000/js/app.js:63661:21)
at deserializeRecordId (http://0.0.0.0:8000/js/app.js:64592:27)
at http://0.0.0.0:8000/js/app.js:64570:11
at http://0.0.0.0:8000/js/app.js:62913:20
at http://0.0.0.0:8000/js/app.js:13556:16
at Object.OrderedSet.forEach (http://0.0.0.0:8000/js/app.js:13399:10)
at Object.Map.forEach (http://0.0.0.0:8000/js/app.js:13554:10)
at Function.Model.reopenClass.eachRelationship (http://0.0.0.0:8000/js/app.js:62912:42)
@trobrock
trobrock / push.log
Created May 21, 2014 22:36
Failure from pushing with lineman buildpack
This file has been truncated, but you can view the full file.
Initializing repository, done.
-----> Fetching custom git buildpack... done
-----> Lineman app detected
-----> Resolving engine versions
Using Node.js version: 0.10.21
Using npm version: 1.3.11
-----> Fetching Node.js binaries
-----> Vendoring node into slug
-----> Installing dependencies with npm
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="5056" systemVersion="13D65" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="GBManualAddViewController">
<connections>
<outlet property="textField" destination="zqa-Bs-Usq" id="eae-hX-SN5"/>
<outlet property="view" destination="i5M-Pr-FkT" id="Vku-k9-AKj"/>
{
"prices": [
{
"amount": 1999,
"currency": "USD"
}
]
}
class App.SalesSummaryReportController extends Ember.ObjectController
currentInterval: null
+observer interval
intervalChanged: ->
return if @interval == @currentInterval
@transitionToRoute 'sales_summary_report', interval: @interval
{
"companies": [
{
"id": 1,
"name": "420...",
"street": "420 Kush St.",
"city": "Seattle",
"state": "WA",
"zip_code": "12345"
}
Waiting for sshd
done
Connecting to 74.207.242.176
Get:1 http://mirrors.linode.com lucid Release.gpg [189B]
Ign http://mirrors.linode.com/ubuntu/ lucid/main Translation-en_US
Ign http://mirrors.linode.com/ubuntu/ lucid/restricted Translation-en_US
Ign http://mirrors.linode.com/ubuntu/ lucid/universe Translation-en_US
Ign http://mirrors.linode.com/ubuntu/ lucid/multiverse Translation-en_US
Get:2 http://mirrors.linode.com lucid-updates Release.gpg [198B]
Ign http://mirrors.linode.com/ubuntu/ lucid-updates/main Translation-en_US
@trobrock
trobrock / Periodical Problems
Created July 7, 2009 19:30
Trouble getting the MooTools periodical function working, now working
// I am getting the error:
// 'this.clock = this.iterateClock(current, future).periodical(1000, this); is undefined'
// After it display the days left once, it throws the error
//
// This is now the working version
var Main = new Class({
Implements : [Options],
options : {
@trobrock
trobrock / SMS_Short_Code_Process.php
Created May 17, 2010 13:52
Will parse the Twitter firehose for a hash tag, and then emulate the process of an sms short code voting system using Twitter as the backend. Built overnight at the Twitter Chirp conference
<?php
require('phirehose_0.2.4/lib/Phirehose.php');
class SmsShortCode extends Phirehose {
/**
* Enqueue each status
*
* @param string $status
@trobrock
trobrock / rails-word_cloud-helper.rb
Created May 31, 2010 20:07
A helper for rails to create a tag cloud out a string of words (space delimited). Adapted the idea from here: http://snippets.dzone.com/posts/show/6027
def word_cloud(words)
wordcount = {}
words.split(/\s/).each do |word|
word.downcase!
if word.strip.size > 0
wordcount[word.strip] = (wordcount.key?(word.strip)) ? (wordcount[word.strip] + 1) : 0
end
end
s = []