Skip to content

Instantly share code, notes, and snippets.

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: 'user@gmail.com',
description: 'Email address used to login to your salseforce account.',
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:
error: Rackspace Error (404): Item not found
error: Error output from Haibu:
error:
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)
View poasty_response.php
<?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
facultymatt / jquery.template.js
Created Feb 18, 2013
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
facultymatt / mean_stack_research.md
Last active Dec 20, 2015
MEAN stack research
View mean_stack_research.md

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!

Findings:

https://github.com/linnovate/mean/

@facultymatt
facultymatt / resources.md
Last active Dec 21, 2015
MEAN Stack / NodeJS resources
View resources.md

MEAN Stack / NODEjs resources

General Resources

Mean.io These guys are trying to create something amazing. We are exploring this as a starting point for some of our MEAN projects.

http://webapplog.com/ Great articles written by an agile startup guy. Has a great comparison of PHP and NODEjs

@facultymatt
facultymatt / software_installed_on_new_mac.md
Last active Dec 21, 2015
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.
View software_installed_on_new_mac.md
  • Tower Git Client

  • Coda 2

  • Sublime 2

  • Webstorm

  • Espresso

  • NodeJS

  • Chrome

  • Chrome Livereload

  • Chrome Postman

@facultymatt
facultymatt / display.html
Created Sep 13, 2013
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
facultymatt / email_best_practices.md
Last active Dec 23, 2015
Node Email / notifier Best Practices
View email_best_practices.md

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