Skip to content

Instantly share code, notes, and snippets.

View theseanstewart's full-sized avatar

Sean Stewart theseanstewart

View GitHub Profile
@theseanstewart
theseanstewart / fileName
Created October 4, 2014 15:47
created with LaravelDBDesigner
[{"name":"Users","color":"Red","position":{"x":154,"y":103},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":true,"pk":false,"nu":false,"ui":true,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c172","order":0},{"name":"first_name","type":"string","length":"50","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":true,"guarded":false,"visible":false,"hidden":false,"colid":"c134","order":1},{"name":"last_name","type":"string","length":"50","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":true,"guarded":false,"visible":false,"hidden":false,"colid":"c144","order":2},{"name":"email","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":true,"guarded":false,"visible":false,"
@theseanstewart
theseanstewart / fileName
Created October 4, 2014 15:47
created with LaravelDBDesigner
[{"name":"Users","color":"Red","position":{"x":154,"y":103},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":true,"pk":false,"nu":false,"ui":true,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c172","order":0},{"name":"first_name","type":"string","length":"50","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":true,"guarded":false,"visible":false,"hidden":false,"colid":"c134","order":1},{"name":"last_name","type":"string","length":"50","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":true,"guarded":false,"visible":false,"hidden":false,"colid":"c144","order":2},{"name":"email","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":true,"guarded":false,"visible":false,"
@theseanstewart
theseanstewart / aws-pricing-bookmarklet.js
Created October 16, 2016 17:13
Bookmarklet to show the monthly pricing for AWS next to the price per hour
javascript: (function(){
var selectors = [
'tr.tiers > td.price',
'tr.sizes > td.rate'
];
for(var s = 0, len = selectors.length; s < len; s++){
var prices = document.querySelectorAll(selectors[s]);
handlePrices(prices);