Skip to content

Instantly share code, notes, and snippets.

View mccataldo's full-sized avatar

mike cataldo mccataldo

View GitHub Profile
@mccataldo
mccataldo / controllers.application.js
Last active September 27, 2017 23:35 — forked from bfitch/controllers.application.js
Rollback Changeset hasMany
import Ember from 'ember';
import Changeset from 'ember-changeset';
export default Ember.Controller.extend({
init() {
this._super(...arguments);
this.get('store').createRecord('foo', {
users: [
this.get('store').createRecord('user', {name: 'bob'}),
@mccataldo
mccataldo / couplings.json
Created May 20, 2017 00:09
op test case framework
{ "couplings":[
{"parent":1,"child":2}
]
}
@mccataldo
mccataldo / OP2ASCII-color.html
Last active November 7, 2016 23:28
Conversion of the current logo on the ObservePoint.com site to ASCII
<code><span style="display:block;line-height:8px; font-size: 8px; font-weight:bold;white-space:pre;font-family: monospace;color: black; background: white;"><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color:rgb(255 , 255 , 255);"> </span><span style="color