Skip to content

Instantly share code, notes, and snippets.

View tony-jones's full-sized avatar

Tony Jones tony-jones

View GitHub Profile
@tony-jones
tony-jones / Industrial Script Demo Data
Last active March 31, 2017 23:25
JSON structure and instructions for the industrial demo on schedule 10 data.
# Classification ratings are A, B, or C
# Classification A will apply for no more than 28 days during any calendar year,
# Classification C will apply for no less than 60 days during any calendar year.
# Date should be an actual date object
# total can be ignored. That's just the total number of records returned.
# http://www3.dom.com/sched10/
{
total: "1441",
ratings: [
@tony-jones
tony-jones / run1.json
Created April 14, 2017 20:21
Run # 1 AverageCost=5 | production volume=200
[
{
"raw_material_cost":10.0,
"rate_code":"B",
"production_premium":1.3239999999999998,
"peak_energy_risk":0.6770582692347252,
"material_premium":0.0,
"material_cost":2.0e3,
"energy_premium":1.3239999999999998,
"date":"04/16/2017"
@tony-jones
tony-jones / run2.json
Last active April 14, 2017 20:23
Run # 2 AverageCost=5 | production volume=200
[
{
"raw_material_cost":50.0,
"rate_code":"B",
"production_premium":0.6619999999999999,
"peak_energy_risk":0.6770582692347252,
"material_premium":0.0,
"material_cost":5.0e3,
"energy_premium":0.6619999999999999,
"date":"04/16/2017"
@tony-jones
tony-jones / run3.json
Created April 14, 2017 20:24
Run # 3 AverageCost=5 | production volume=200
[
{
"raw_material_cost":10.0,
"rate_code":"B",
"production_premium":1.3239999999999998,
"peak_energy_risk":0.6770582692347252,
"material_premium":0.0,
"material_cost":2.0e3,
"energy_premium":1.3239999999999998,
"date":"04/16/2017"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tony-jones
tony-jones / package.json
Last active August 27, 2023 13:48
jekyll site: asset building using npm run-scripts
{
"name": "jekyll-starter-kit",
"version": "1.0.0",
"description": "jekyll, asset build using npm scripts",
"main": "src/scripts/main.js",
"scripts": {
"eslint:dist": "eslint src/scripts/*.js",
"eslint": "npm run eslint:dist",
"uglify:dist": "uglify -s src/scripts/*.js -o dist/scripts/main.min.js",
"uglify:_site": "uglify -s src/scripts/*.js -o _site/dist/scripts/main.min.js",