๐๏ธโโ๏ธ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Name: find instructor by email | |
| // Author: Zac Jones | |
| import "@johnlindquist/kit" | |
| let baseUrl = "https://app.egghead.io/admin/blazer/queries/444-find-instructor-by-email" | |
| let email = await arg("enter an email: ") | |
| let safeEmail = encodeURI(email) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Name: Midjourney Prompt | |
| // Description: Generate a Random Midjourney Prompt | |
| // Author: John Lindquist | |
| // Twitter: @johnlindquist | |
| import "@johnlindquist/kit" | |
| let count = parseInt( | |
| await arg({ | |
| placeholder: "How many prompts to generate and paste?", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Name: egh-post-lesson-transcript | |
| // Author: Zac Jones | |
| import "@johnlindquist/kit" | |
| let baseUrl = "https://app.egghead.io/api/v1/enhanced_transcripts" | |
| let lessonSlug = await arg({ | |
| placeholder: "paste a lesson slug", | |
| setIgnoreBlur: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let { paramCase } = await npm("change-case"); | |
| // let console.log = (str) => chalk.green`${str}` | |
| // let console.warn = (str) => chalk.red`${str}` | |
| // https://egghead.io/playlists/ | |
| // let eggAxios = axios.create({ | |
| // baseURL: 'https://egghead.io', | |
| // headers: {Authorization: `Bearer ${env.EGGHEAD_AUTH_TOKEN}`}, | |
| // }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let { paramCase } = await npm("change-case"); | |
| // let console.log = (str) => chalk.green`${str}` | |
| // let console.warn = (str) => chalk.red`${str}` | |
| // https://egghead.io/playlists/ | |
| // let eggAxios = axios.create({ | |
| // baseURL: 'https://egghead.io', | |
| // headers: {Authorization: `Bearer ${env.EGGHEAD_AUTH_TOKEN}`}, | |
| // }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Author: Zac Jones | |
| import "@johnlindquist/kit" | |
| let input = await arg("paste in SMTP training") | |
| let split = input.split(/(LIFTING:)|(WORKOUT:)|(WARM UP:)|(COOL DOWN:)/).filter((v) => !!v).reduce((prev, curr, i, arr) => { | |
| if (i % 2 === 0) { | |
| let key = curr.split(":") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Name: tana-paste-twitter | |
| // Author: Ian Jones | |
| import "@johnlindquist/kit"; | |
| const url = await getActiveTab("Brave"); | |
| const months = [ | |
| "January", | |
| "February", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Name: tana-paste-twitter | |
| // Author: Ian Jones | |
| import "@johnlindquist/kit"; | |
| const url = await getActiveTab("Brave"); | |
| const months = [ | |
| "January", | |
| "February", |