Skip to content

Instantly share code, notes, and snippets.

@bryanchriswhite
bryanchriswhite / pmrpc-example.html
Last active December 27, 2015 01:19
Pmrpc foreign domain document. For use with: http://jsfiddle.net/bryanchriswhite/VrWbd/7/
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript' src='/pmrpc.js'></script>
</head>
<body>
<style>
input {
display: block;
width: 200px;
@bryanchriswhite
bryanchriswhite / karma.conf.js
Created October 9, 2013 15:18
Karma configuration
// Karma configuration
// Generated on Wed Oct 09 2013 10:43:53 GMT-0400 (EDT)
module.exports = function(config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: '',
//= require jquery
//= require jquery_ujs
//= require foundation
//= require_tree .
$(document).foundation();
@bryanchriswhite
bryanchriswhite / jshintrc
Created March 15, 2013 17:30
Angular project's .jshintrc file for use with grunt and the jshint plugin.
{
"node" : true,
"browser" : true,
"es5" : true,
"esnext" : true,
"bitwise" : true,
"camelcase": true,
"curly" : true,
"eqeqeq" : true,
"immed" : true,
<!--app/views/bills/index.html.erb-->
<table class="bills-table">
<thead>
<tr>
<th>Bill Number</th>
<th>Name 1</th>
<th>Name 2</th>
<th>Map Number</th>
</tr>
</thead>
@bryanchriswhite
bryanchriswhite / FTB error - forestry plugin
Created October 31, 2012 17:29
Noticed an error in the console.. didn't seem to affect runtime (yet)
2012-10-31 13:25:51 [INFO] [STDERR] java.lang.ClassNotFoundException: forestry.plugins.PluginInfo
2012-10-31 13:25:51 [INFO] [STDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:141)
2012-10-31 13:25:51 [INFO] [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
2012-10-31 13:25:51 [INFO] [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
2012-10-31 13:25:51 [INFO] [STDERR] at forestry.plugins.PluginManager.addPlugin(PluginManager.java:173)
2012-10-31 13:25:51 [INFO] [STDERR] at forestry.plugins.PluginManager.loadIncludedPlugins(PluginManager.java:77)
2012-10-31 13:25:51 [INFO] [STDERR] at forestry.plugins.PluginManager.loadPlugins(PluginManager.java:36)
2012-10-31 13:25:51 [INFO] [STDERR] at forestry.core.ForestryCore.preInit(ForestryCore.java:52)
2012-10-31 13:25:51 [INFO] [STDERR] at forestry.Forestry.preInit(Forestry.java:31)
2012-10-31 13:25:51 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invo