Skip to content

Instantly share code, notes, and snippets.

@theGove
Last active May 1, 2022 14:07
Show Gist options
  • Save theGove/8ec7d2c41e32c1614e029305d2ea215d to your computer and use it in GitHub Desktop.
Save theGove/8ec7d2c41e32c1614e029305d2ea215d to your computer and use it in GitHub Desktop.
JET Tool Development: develop a gist tool from local server
async function auto_exec(){
const jet_engine_gist_id = "6617f2b0bc498462b29ab33d96108014"
await jade.load_gist(jet_engine_gist_id)
console.log("jet css",gist_files('style.css'))
Jade.set_css(gist_files('style.css'),"jet") // load css for these tools
jade_modules.jet_engine.launch(my_gist_id(),5500) // run the jet engine on this gist
console.log("just loaded Jet Tool Development")
}
{
"groups":[
{ "name":"Introduction",
"text":"The tools available here extend the functionality of Excel."
},
{ "name":"Development",
"text":"These are the JET examples currently under development",
"tools":[
{
"name":"Logistic Regression",
"text":"Compute a logistic regression",
"gist_id":"eb60bfa3375c631682282e1377fbb684"
},
{
"name":"Naive Bayes Analysis",
"text":"Compute a Naive Bayes Analysis",
"gist_id":"e7c158b8544aaacf2e2dce2a6acfcd52"
},
{
"name":"data.world",
"text":"Immport data from a data.world data set",
"gist_id":"92c0701e7aacd40138d3e3b86956438c"
}
]
}
]
}
.tool-group{
background-color: rgb(1, 93, 43);
font-weight: bold;
color: white;
}
.section{
cursor:pointer;
text-align: left;
background-color: #aaa;
font-weight: bold;
}
.label{
cursor:pointer; /*labels should be clickable to show thier associated note in the next row*/
}
.note td{
background-color: white;
padding: 0 .5rem .3rem .5rem
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment