Skip to content

Instantly share code, notes, and snippets.

View trobrock's full-sized avatar

Trae Robrock trobrock

View GitHub Profile
{
"companies": [
{
"id": 1,
"name": "420...",
"street": "420 Kush St.",
"city": "Seattle",
"state": "WA",
"zip_code": "12345"
}
class App.SalesSummaryReportController extends Ember.ObjectController
currentInterval: null
+observer interval
intervalChanged: ->
return if @interval == @currentInterval
@transitionToRoute 'sales_summary_report', interval: @interval
{
"prices": [
{
"amount": 1999,
"currency": "USD"
}
]
}
<?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"/>
@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
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)
model: (params) ->
@store.find('capsule').then (results) ->
m = results.findBy('id', params.capsule_id)
console.log m
m
class Itlum.CapsulesEditController extends Ember.ObjectController
actions:
update: ->
@model.save()
trobrock@app1:/var/myapp/current$ curl -v https://playfairapp.com
* About to connect() to playfairapp.com port 443 (#0)
* Trying 162.243.21.176... connected
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSL connection timeout
* Closing connection #0
curl: (28) SSL connection timeout