Skip to content

Instantly share code, notes, and snippets.

Tyler Graf tylergraf

  • Utah
Block or report user

Report or block tylergraf

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
@tylergraf
tylergraf / redux.js
Last active Apr 10, 2017
Basic Redux
View redux.js
// REDUCER
const counter = (state = 0, action) => {
switch (action.type) {
case 'INCREMENT':
return state + 1;
case 'DECREMENT':
return state - 1;
default:
return state;
}
@tylergraf
tylergraf / gist:4123510
Created Nov 21, 2012
nodejitsu mongooose error
View gist:4123510
info: Welcome to Nodejitsu tylergraf
info: jitsu v0.11.3, node v0.8.2
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Skipping require-analyzer because noanalyze option is set
info: Skipping require-analyzer because noanalyze option is set
info: Creating snapshot 0.1.2-5
info Uploading: [=============================] 100%
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
You can’t perform that action at this time.