Skip to content

Instantly share code, notes, and snippets.

@facultymatt
facultymatt / index.php
Created Oct 16, 2012
Codeigniter subdomain routing index file. Support for admin dashboard.
View index.php
<?php
date_default_timezone_set('America/New_York');
/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT
*---------------------------------------------------------------
*
* You can load different configurations depending on your
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
@facultymatt
facultymatt / Procfile
Created Apr 12, 2013
Get Deployd running on Heroku!
View Procfile
web: node server
View .bowerrc
{
"directory": "components"
}
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