Skip to content

Instantly share code, notes, and snippets.

Peter K. Shultz pkshultz

Block or report user

Report or block pkshultz

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 gist:46db4e99e3f45b093a62
Notes: Objective-C Syntax
Date: October 10, 2014
Description: Described NSLog(), strings, and function instantiation.
NSLog(): Similar to a print statement, or "cout" in C++. Prints data given within the parentheses
to the XCode Console.
Example: NSLog(@"Doing okay thus far"); prints "Doing okay thus far"
Strings: Data type that holds multiple characters. In Objective-C, strings are made by putting an
@pkshultz
pkshultz / view-visualization-error.log
Last active Aug 27, 2015
View Visualization Error (Heroku)
View view-visualization-error.log
2015-08-27T15:12:28.781616+00:00 heroku[router]: at=info method=POST path="/sessions/16/visualizations" host=lightning-visualization.herokuapp.com request_id=6be4dae6-3495-4ee6-8cca-c6f0fb1fb7ab fwd="173.63.221.177" dyno=web.1 connect=1ms service=80ms status=200 bytes=510
2015-08-27T15:12:33.024577+00:00 heroku[router]: at=info method=GET path="/images/lightning.svg" host=lightning-visualization.herokuapp.com request_id=7288e92c-95b4-4cf2-9101-6cfb75d0231c fwd="173.63.221.177" dyno=web.1 connect=1ms service=5ms status=304 bytes=237
2015-08-27T15:12:32.859610+00:00 app[web.1]: TypeError: /app/app/views/session/visualization-iframe.jade:12
2015-08-27T15:12:32.859616+00:00 app[web.1]: 10|
2015-08-27T15:12:32.859619+00:00 app[web.1]: 11| .full-screen.feed-item-container(data-model="visualization", data-model-id="#{viz.id}")
2015-08-27T15:12:32.859621+00:00 app[web.1]: > 12| .feed-item(data-type="#{viz.type}", data-data="#{ JSON.stringify(viz.getInitialData(vizTypes[viz.type])) }", data-imag
@pkshultz
pkshultz / gist:f947ffd80f29e7452c0e
Created Aug 26, 2015
Heroku "View Session" 500
View gist:f947ffd80f29e7452c0e
2015-08-26T16:51:26.421892+00:00 heroku[router]: at=info method=GET path="/sessions/13/feed/" host=lightning-visualization.herokuapp.com request_id=12823398-9089-47e2-adf9-40d62b47c87f fwd="173.63.221.177" dyno=web.1 connect=1ms service=136ms status=500 bytes=886
2015-08-26T16:51:26.408763+00:00 app[web.1]: line
2015-08-26T16:51:26.408823+00:00 app[web.1]: line
2015-08-26T16:51:26.408853+00:00 app[web.1]: line
2015-08-26T16:51:26.408880+00:00 app[web.1]: line
2015-08-26T16:51:26.408911+00:00 app[web.1]: line
2015-08-26T16:51:26.408934+00:00 app[web.1]: line
2015-08-26T16:51:26.408973+00:00 app[web.1]: null
2015-08-26T16:51:26.408997+00:00 app[web.1]: line
2015-08-26T16:51:26.409049+00:00 app[web.1]: line
You can’t perform that action at this time.