Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Eating a taco 🌮

John Lindquist johnlindquist

💭
Eating a taco 🌮
View GitHub Profile
View netlify.ts
// Name: Netlify
// Sponsor: Diamond
// Logo: /Users/johnlindquist/.kit/logos/netlify/netlify-dark.svg
// color-primary-dark:0, 140, 107
// color-secondary-dark:0, 0, 0
// color-primary-light:21, 250, 194
// color-secondary-light:255, 255, 255
// Index: -2
View netlify.ts
// Name: Netlify
// Sponsor: Diamond
// Logo: /Users/johnlindquist/.kit/logos/netlify/netlify-dark.svg
// color-primary-dark:0, 140, 107
// color-secondary-dark:0, 0, 0
// color-primary-light:21, 250, 194
// color-secondary-light:255, 255, 255
// Index: -2
View netlify.ts
// Name: Netlify
// Sponsor: Diamond
// Logo: /Users/johnlindquist/.kit/logos/netlify/netlify-dark.svg
// color-primary-dark:0, 140, 107
// color-secondary-dark:0, 0, 0
// color-primary-light:21, 250, 194
// color-secondary-light:255, 255, 255
// Index: -2
View netlify.ts
// Name: Netlify
// Sponsor: Diamond
// Logo: /Users/johnlindquist/.kit/logos/netlify/netlify-dark.svg
// color-primary-dark:0, 140, 107
// color-secondary-dark:0, 0, 0
// color-primary-light:21, 250, 194
// color-secondary-light:255, 255, 255
// Index: -2
View set-choices-from-json-file.js
// Name: Set Choices From Json File
import "@johnlindquist/kit"
let choices = await readJson(home("junk", "data", "choices.json"))
await arg("Choices", choices)
View testing-splash.js
// Name: Testing Splash
import "@johnlindquist/kit"
setPrompt({
ui: "splash",
ignoreBlur: true
})
await wait(100000)
View testing-splash.js
// Name: Testing Splash
import "@johnlindquist/kit"
setPrompt({
ui: "splash",
ignoreBlur: true
})
await wait(100000)
View menu-example.js
// Name: Menu Example
import "@johnlindquist/kit"
menu(`👍`, [
"app-launcher" //The name/id of the script you want to run
])
View menu-example.js
// Name: Menu Example
import "@johnlindquist/kit"
menu(`👍`, [
"app-launcher" //The name/id of the script you want to run
])
View testing-status.ts
// Name: Testing Status
import "@johnlindquist/kit"
while (true) {
await arg({
placeholder: "Set status",
onChoiceFocus: (_, { focused }) => {
let status = focused.value
setStatus({