Skip to content

Instantly share code, notes, and snippets.

@jade-addin
jade-addin / chi-squared.html
Last active May 18, 2023 18:40
JET: Chi-Squared test tool for JADE Excel Addin
<div class="hidden" id="jet-refresh" style="margin-left: .5rem;"><i title="Re-load this tool." onclick="jade_modules.jet_engine.select_page()" class="fa-solid fa-arrows-rotate" cursor:pointer"></i></div>
<div style="margin:1rem; text-align: center;"><div style="display:inline-block; text-align: left;">
<table style="width:100%" align="center" cellspacing="0" cellpadding="4">
<tbody>
<tr>
<td onclick="jade_modules.jet_engine.toggle_table(this.nextElementSibling.firstElementChild)" colspan="2" class="section head">Example</td>
<td class="section drop"><i title="Hide or show this step." onclick="jade_modules.jet_engine.toggle_table(this)" class="fa-solid fa-chevron-down"></i></td>
</tr>
<tr class="hidden" style="background-color: white;">
@jade-addin
jade-addin / code.js
Last active May 10, 2023 21:47
JET: Spearman's Rho tool for JADE Excel Addin
//spearmans-rho in excel using javascript
let predictor_names
let select_values
//const form_data={}// takes the place of the from where users entered data on original webpage
let model_results={}
async function auto_exec(){
// set the tool css
Jade.set_css(gist_files('style.css'),"naive-bayes")
// place the tool html
@jade-addin
jade-addin / code.js
Last active May 10, 2023 15:15
JET: Kruskal-Wallis tool for JADE Excel Addin
//logistic regression in excel using javascript
let predictor_names
let select_values
//const form_data={}// takes the place of the from where users entered data on original webpage
let model_results={}
async function auto_exec(){
// set the tool css
Jade.set_css(gist_files('style.css'),"naive-bayes")
@jade-addin
jade-addin / code.js
Last active May 10, 2023 14:43
JET: Wilcoxon Signed-Rank tool for JADE Excel Addin
//logistic regression in excel using javascript
let predictor_names
let select_values
//const form_data={}// takes the place of the from where users entered data on original webpage
let model_results={}
async function auto_exec(){
// set the tool css
Jade.set_css(gist_files('style.css'),"naive-bayes")
@jade-addin
jade-addin / code.js
Last active May 19, 2023 16:34
JET: Mann-Whitney-U tool for JADE Excel Addin
//logistic regression in excel using javascript
let predictor_names
let select_values
//const form_data={}// takes the place of the from where users entered data on original webpage
let model_results={}
async function auto_exec(){
// set the tool css
Jade.set_css(gist_files('style.css'),"naive-bayes")
// place the tool html
@jade-addin
jade-addin / 766f9f7b76f9841a2ef8d5d72ef4d0ba
Last active September 5, 2022 17:16
ATLAS Task Creation
../jet/tools/task_creation/766f9f7b76f9841a2ef8d5d72ef4d0ba
@jade-addin
jade-addin / airtable.html
Last active June 13, 2022 21:29
JET: airtable import to workwheet
<div class="hidden" id="jet-refresh" style="margin-left: .5rem;"><i title="Re-load this tool." onclick="jade_modules.jet_engine.select_page()" class="fa-solid fa-arrows-rotate" cursor:pointer"></i></div>
<div style="margin:1rem; text-align: center;"><div style="display:inline-block; text-align: left;">
<table style="width:100%" align="center" cellspacing="0" cellpadding="4">
<tbody>
<tr>
<td onclick="jade_modules.jet_engine.toggle_next_row(this)" colspan="2" class="section head">1. Configure Connection</td>
<td class="section drop"><i title="Hide or show this step." onclick="jade_modules.jet_engine.toggle_table(this)" class="fa-solid fa-chevron-up"></i></td>
</tr>
<tr class="hidden note">
<td colspan="3">Here you will identify yourself to airtable.com by supplying your API key as well as specify the base to work with.</td>
@jade-addin
jade-addin / dev_tools.js
Last active January 27, 2024 02:24
JET: Nick Development Gist
async function auto_exec(){
const jet_engine_gist_id = "6e16e7521df65a93b17dd9b74c9161eb"
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(),"https://localhost:3333/ee-atlas/s/local-gist-server") // run the jet engine on this gist
jade_modules.jet_engine.launch(my_gist_id(),"https://local.myeducator.com:3333/ee-atlas/s/local-gist-server") // run the jet engine on this gist
console.log("just loaded Jet Tool Development")
}
@jade-addin
jade-addin / code.js
Last active June 2, 2022 14:58
JET: Query Excel Data
//Query Excel Data
let db = null
window.local_query_data_loded=false
async function auto_exec(){
// set the tool css
Jade.set_css(gist_files('style.css'),"naive-bayes")
// place the tool html
tag("tools-body").innerHTML=gist_files('query-excel-data.html')
// fill in values from last tool use
@jade-addin
jade-addin / code.js
Last active January 13, 2023 13:57
JET: Data Files on github data server
async function auto_exec(){
// set the tool css
Jade.set_css(gist_files('style.css'),"data-files")
// place the tool html
console.log("datafiles",gist_files('data-files.html'))
tag("tools-body").innerHTML=gist_files('data-files.html')
// fill in values from last tool use
jade_modules.jet_engine.restore_html_values()
}