Skip to content

Instantly share code, notes, and snippets.

View ninjasort's full-sized avatar
💻
Working remotely

Cameron ninjasort

💻
Working remotely
  • San Francisco, CA
  • 00:22 (UTC -07:00)
View GitHub Profile
@ninjasort
ninjasort / crud-app.js
Created April 2, 2017 04:59
CRUD App in Node
import express from 'express'
import bodyParser from 'body-parser'
import mongoose from 'mongoose'
const PORT = process.env.PORT || 8080
const app = express()
// Book
const Schema = mongoose.Schema
@ninjasort
ninjasort / schema.js
Created April 1, 2017 14:19
Schema Design
var mongoose = require('mongoose')
var Schema = mongoose.Schema
/*
Creates a Schema
*/
var BookSchema = new Schema({
title: String,
published: {
type: Date, // sets the type
@ninjasort
ninjasort / sublime-tooling.json
Last active November 13, 2016 01:06
Sublime Tooling
{
"package_control": "https://packagecontrol.io/",
"JavaScript-Completions": "https://github.com/pichillilorenzo/JavaScript-Completions"
}
@ninjasort
ninjasort / tdd.md
Created October 26, 2016 22:11
TDD in JS
{
"generator-babel-webpack": "https://github.com/Pitzcarraldo/generator-babel-webpack",
"generator-react-webpack-redux": "https://github.com/stylesuxx/generator-react-webpack-redux"
}
{
"fastclick": "https://github.com/ftlabs/fastclick"
}
@ninjasort
ninjasort / css-frameworks.json
Last active May 15, 2016 21:43
CSS Frameworks
{
"bulma": "https://github.com/jgthms/bulma",
"corpus": "https://github.com/jamiewilson/corpus",
"basscss": "https://github.com/basscss/basscss",
"csswizardry-grids": "https://github.com/csswizardry/csswizardry-grids",
"kube": "https://github.com/imperavi/kube"
}
@ninjasort
ninjasort / responsive-components.json
Created May 11, 2016 22:59
Responsive Components
{
"responsive-nav.js": "https://github.com/viljamis/responsive-nav.js",
"itemslide": "https://github.com/itemslide/itemslide.github.io"
}
@ninjasort
ninjasort / test-utils.json
Last active May 11, 2016 23:00
Test Utils
{
"mock-fs": "https://github.com/tschaub/mock-fs",
"nock": "https://github.com/node-nock/nock",
"rewire": "https://github.com/jhnns/rewire",
"assert-dir-equal": "https://github.com/ianstormtaylor/assert-dir-equal",
"mocha": "https://github.com/mochajs/mocha",
"chai": "http://devdocs.io/chai",
"sinon": "http://devdocs.io/sinon",
"nyc": "https://github.com/bcoe/nyc",
"tape": "https://github.com/substack/tape",
{
"Framer": "https://github.com/koenbok/Framer"
}