Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Send me an email

Cameron Roe cameronroe

💭
Send me an email
View GitHub Profile
View crud-app.js
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
View schema.js
var mongoose = require('mongoose')
var Schema = mongoose.Schema
/*
Creates a Schema
*/
var BookSchema = new Schema({
title: String,
published: {
type: Date, // sets the type
View sublime-tooling.json
{
"package_control": "https://packagecontrol.io/",
"JavaScript-Completions": "https://github.com/pichillilorenzo/JavaScript-Completions"
}
View tdd.md
View generators.json
{
"generator-babel-webpack": "https://github.com/Pitzcarraldo/generator-babel-webpack",
"generator-react-webpack-redux": "https://github.com/stylesuxx/generator-react-webpack-redux"
}
View essentials.json
{
"fastclick": "https://github.com/ftlabs/fastclick"
}
View css-frameworks.json
{
"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"
}
View responsive-components.json
{
"responsive-nav.js": "https://github.com/viljamis/responsive-nav.js",
"itemslide": "https://github.com/itemslide/itemslide.github.io"
}
View test-utils.json
{
"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",
View animation.json
{
"Framer": "https://github.com/koenbok/Framer"
}
You can’t perform that action at this time.