Skip to content

Instantly share code, notes, and snippets.

@facultymatt
facultymatt / index.php
Created October 16, 2012 01:29
Codeigniter subdomain routing index file. Support for admin dashboard.
<?php
date_default_timezone_set('America/New_York');
/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT
*---------------------------------------------------------------
*
* You can load different configurations depending on your
@facultymatt
facultymatt / error_log
Created October 28, 2012 15:55
Jitsu error
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)
@facultymatt
facultymatt / poasty_response.php
Created November 5, 2012 20:25
Poasty API 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
facultymatt / jquery.template.js
Created February 18, 2013 01:24
Faculty plugin template v1
/**
* 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
@facultymatt
facultymatt / Procfile
Created April 12, 2013 16:23
Get Deployd running on Heroku!
web: node server
{
"directory": "components"
}
{
"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 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!

Findings:

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

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

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 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