Skip to content

Instantly share code, notes, and snippets.

Avatar

Tony Jones tony-jones

View GitHub Profile
View check.svg
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 / run3.json
Created Apr 14, 2017
Run # 3 AverageCost=5 | production volume=200
View run3.json
[
{
"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 Apr 14, 2017
Run # 2 AverageCost=5 | production volume=200
View run2.json
[
{
"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 / run1.json
Created Apr 14, 2017
Run # 1 AverageCost=5 | production volume=200
View run1.json
[
{
"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 / Industrial Script Demo Data
Last active Mar 31, 2017
JSON structure and instructions for the industrial demo on schedule 10 data.
View Industrial Script Demo 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 / package.json
Last active Aug 8, 2021
jekyll site: asset building using npm run-scripts
View package.json
{
"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",