Skip to content

Instantly share code, notes, and snippets.

View zacjones93's full-sized avatar
๐Ÿ‹๏ธโ€โ™‚๏ธ

Zac Jones zacjones93

๐Ÿ‹๏ธโ€โ™‚๏ธ
View GitHub Profile
{
"egghead_course": [
{
"id": "236",
"type": "course",
"slug": "graphql-query-language",
"addedToResource": [
{
"id": "409013",
"type": "playlist",
[2021-03-10 17:40:14.557] [info] Checking if kit exists
[2021-03-10 17:40:14.560] [info] ~/.kit not found. Installing...
[2021-03-10 17:40:15.408] [info] Adding node to ~/.kit...
[2021-03-10 17:40:21.494] [info] install node Configuration
> Version: v15.11.0 (resolved from )
> Prefix: node
> Platform: darwin
> Arch: x64
> Tarball URL: https://nodejs.org/dist/v15.11.0/node-v15.11.0-darwin-x64.tar.gz
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}`},
// })
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}`},
// })
// Author: Zac Jones
// Twitter: @zacjones93
// Shortcut: opt p
// requires fs
const fs = await npm("fs");
const plantName = await arg("Enter a plant name:");
const potSize = await arg("Enter pot size: ");
const shotType = await arg("Is this product or detail?", ["product", "detail"]);
// Menu: Plant Photo uploader
// Description: Update your photos and sync to google
// Author: Zac Jones
// Twitter: @zacjones93
// Shortcut: opt p
// requires fs
const fs = await npm("fs");
//? Trying out switching on if files are already selected
// Shortcut: opt+shift+c
let { titleCase, sentenceCase, paramCase, camelCase } = await npm("text-case");
let text = await kit.getSelectedText();
let options = {
"Title Case": titleCase,
"Sentence case": sentenceCase,
"param-case": paramCase,
camelCase: camelCase,
// Shortcut: opt+shift+c
let { titleCase, sentenceCase, paramCase, camelCase } = await npm("text-case");
let text = await kit.getSelectedText();
let options = {
"Title Case": titleCase,
"Sentence case": sentenceCase,
"param-case": paramCase,
camelCase: camelCase,
// Shortcut: opt+shift+c
let { titleCase, sentenceCase, paramCase, camelCase } = await npm("text-case");
let text = await getSelectedText();
let options = {
"Title Case": titleCase,
"Sentence case": sentenceCase,
"param-case": paramCase,
camelCase: camelCase,
import "@johnlindquist/kit"
let adventInput:number[] = [
199,203,200,201,196,195,196,214,227,225,229,260,246,253,271,281,280,295,310,293,295,297,298,297,306,299,290,292,289,287,291,296,294,287,286,287,289,290,281,283,282,275,256,265,242,231,226,216,227,226,249,238,237,247,245,250,264,267,259,258,264,261,249,246,239,240,259,258,280,279,278,281,272,256,255,271,286,290,286,288,290,294,292,294,292,293,294,291,298,303,301,330,331,336,362,371,374,368,367,368,366,364,371,377,378,384,386,388,393,409,423,422,411,412,426,430,441,460,462,464,469,461,483,452,455,457,468,506,509,514,525,512,524,523,522,531,549,548,549,548,524,525,528,526,537,544,549,546,525,532,535,543,544,545,525,536,538,541,524,534,542,538,539,544,543,539,538,527,553,552,562,560,561,573,574,570,571,568,569,571,573,566,567,584,591,607,605,604,605,617,615,617,606,608,609,613,616,635,634,637,635,634,655,639,646,637,628,622,648,645,640,652,653,659,661,658,650,667,670,668,680,682,673,668,678,677,675,676,677,675,688,681,676,684,675,664,665,654,660,664,663