Skip to content

Instantly share code, notes, and snippets.

Trae Robrock trobrock

Block or report user

Report or block trobrock

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View git-bisect.sh
#!/usr/bin/env bash
# Run this with `git bisect start BAD_SHA GOOD_SHA ; git bisect run ~/git-bisect.sh`
# Run migrations, bundle, etc to make sure the app updates through time, and ensure there is a clean git tree
bundle install
git checkout Gemfile.lock
# Run the test, the exec is important so it returns the proper status code
exec rspec spec/models/tasks/inventory_clone_spec.rb
View chef-output
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
View user.json
{
"companies": [
{
"id": 1,
"name": "420...",
"street": "420 Kush St.",
"city": "Seattle",
"state": "WA",
"zip_code": "12345"
}
View controller.coffee
class App.SalesSummaryReportController extends Ember.ObjectController
currentInterval: null
+observer interval
intervalChanged: ->
return if @interval == @currentInterval
@transitionToRoute 'sales_summary_report', interval: @interval
View prices.json
{
"prices": [
{
"amount": 1999,
"currency": "USD"
}
]
}
View ManualAddView.xib
<?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
Failure from pushing with lineman buildpack
View push.log
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
View error.txt
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)
View gist:8658835
model: (params) ->
@store.find('capsule').then (results) ->
m = results.findBy('id', params.capsule_id)
console.log m
m
View capsules_edit_controller.coffee
class Itlum.CapsulesEditController extends Ember.ObjectController
actions:
update: ->
@model.save()
You can’t perform that action at this time.