Skip to content

Instantly share code, notes, and snippets.

@BlueAccords
BlueAccords / node_acl_example.js
Created January 30, 2016 21:41 — forked from danwit/node_acl_example.js
Authorization with node_acl + mongo + express
/**
* Simple node_acl example with mongoDB and expressjs
*
* Usage:
* 1. Start this as server
* 2. Play with the resoures
*
* Show all permissions (as JSON)
* http://localhost:3500/info
*
@BlueAccords
BlueAccords / seed.js
Created February 15, 2016 20:31
Seeding mongoose data models with references.
var chai = require('chai'),
sinon = require('sinon'),
expect = chai.expect,
should = chai.should();
var mongoose = require('mongoose');
// var assert = require('assert');
var Studio = require('studioModel');
var User = require('userModel');
@BlueAccords
BlueAccords / Layout.js
Last active May 27, 2016 07:37
LearnCode.academy react #6 video fix for react-router 1.0 > 2.0
// project-name/src/js/pages/Layout.js
import React from 'react';
// Allows linking via react to other components
import { Link } from 'react-router';
// Browser history
import { browserHistory } from 'react-router';
@BlueAccords
BlueAccords / latest.log
Created September 6, 2016 01:29
Error for minecraft openComputers. running 1.10.2, "All The Mods" modpack
This file has been truncated, but you can view the full file.
[17:51:00] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:51:00] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:51:00] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[17:51:00] [main/INFO]: Forge Mod Loader version 12.18.1.2075 for Minecraft 1.10.2 loading
[17:51:00] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_92, running on Mac OS X:x86_64:10.11.6, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre
[17:51:01] [main/WARN]: The coremod lumien.bloodmoon.asm.LoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[17:51:01] [main/WARN]: The coremod codechicken.core.launch.DepLoader does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[17:51:01] [main/WARN]: The coremod codechicken.lib.asm.CCLCorePlugin does not have a MCVersion annotation, it may