Skip to content

Instantly share code, notes, and snippets.

facultymatt / gist:f7f188f65b73856db168
Created May 11, 2015 19:02
View gist:f7f188f65b73856db168
module.exports = {
friendlyName: 'Update object by Id',
description: 'Update a salseforce object given Id and new values.',
extendedDescription: 'Requires authentication with username, password, and secret token.',
inputs: {
email: {
example: '',
description: 'Email address used to login to your salseforce account.',
facultymatt / error_log
Created October 28, 2012 15:55
Jitsu error
View error_log
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error: Rackspace Error (404): Item not found
error: Error output from Haibu:
error: Error: Rackspace Error (404): Item not found
error: at Request._callback (/root/haibu-orchestra/node_modules/haibu/node_modules/cloudfiles/lib/cloudfiles/common.js:184:18)
error: at Request.init.self.callback (/root/haibu-orchestra/node_modules/haibu/node_modules/request/main.js:119:22)
facultymatt / poasty_response.php
Created November 5, 2012 20:25
Poasty API response
View poasty_response.php
// input standards
// ---
// use school id instead of literal strings
// when a user logs in, the App sends user info and device token
// the api responds with auth code, user object, and school id
// security concerns
facultymatt / jquery.template.js
Created February 18, 2013 01:24
Faculty plugin template v1
View jquery.template.js
* jQuery Plugin Template
* @author Faculty Creative
* This plugin will init itself on elements with a class you specify. Data attrs can be used to override
* default options of the plugin.
* Insipired by Bootstrap and smashing magazine patterns
View bower.json
"name": "genesis-skeleton",
"version": "0.0.1",
"dependencies": {
"angular": "1.0.7",
"angular-mocks": "~1.0.6",
"angular-scenario": "~1.0.6",
"angular-strap": "~0.7.3",
"bootstrap": "~2.3.1",
"html5shiv-dist": "~3.6.1",
facultymatt /
Last active December 20, 2015 10:09
MEAN stack research

Current Strategy

We are attempting to find an existing Node / Mongoose / Express seed as an API starting point for our MEAN projects. We love and have come accustomed to the Genesis Skeleton framework workflow, but it lacks a flexiable API server. Ideally we could incorporate the two and cteate a master starter seed!


facultymatt /
Last active December 21, 2015 20:29
MEAN Stack / NodeJS resources

MEAN Stack / NODEjs resources

General Resources These guys are trying to create something amazing. We are exploring this as a starting point for some of our MEAN projects. Great articles written by an agile startup guy. Has a great comparison of PHP and NODEjs

facultymatt /
Last active December 21, 2015 20:29
I just got a new MacBook Pro. Im starting from scratch - no automatic transferring of programs or files. I'm compiling this list of software that I install, in the relative order in which I install it.
  • Tower Git Client

  • Coda 2

  • Sublime 2

  • Webstorm

  • Espresso

  • NodeJS

  • Chrome

  • Chrome Livereload

  • Chrome Postman

facultymatt / display.html
Created September 13, 2013 21:55
Directive to do a time ago with angular. Add "moment" : "latest" to your bower.json file.
View display.html
<p>{{poast.created | fromNow}}</p>
facultymatt /
Last active December 23, 2015 06:19
Node Email / notifier Best Practices

Emailer / Notifier Best Practices

  • Supports any protocol, ideally by just setting a config option or function.
  • Supports sendgrid, which is a Heroku based app, making it super simple to get running on develop.
  • Won't fail, or catches errors, if any variables are missing.
  • Checks for development and testing environments, and prevents email send (console.log instead)
  • REUSABLE! The library itself, and maybe even the template, should be resuable across projects.

Good Looking Approaches