Skip to content

Instantly share code, notes, and snippets.

View tayiorbeii's full-sized avatar

Taylor Bell tayiorbeii

View GitHub Profile
import "@johnlindquist/kit"
// Name: Roam Workshop Notes Template
let template = `
clarification questions::
content ideas::
[[landing page copy]]
***General landing page**
***Workshop Specific**
import "@johnlindquist/kit"
// Author: Taylor Bell
// Name:
// Shortcut:
// Description: Select transcripts and image folders in the current Finder window
await applescript(`
set folderpath to false
import "@johnlindquist/kit"
// Author: Taylor Bell
// Name: replace-markdown-image-tag
// Description: Reformat a markdown image tag to be a placeholder
let allFiles = await drop()
for (let file of allFiles) {
let content = await readFile(file.path, "utf-8")
import "@johnlindquist/kit"
let files = await drop()
cd(path.dirname(files[0].path))
let lengthStrings = []
let totalSeconds = 0
import "@johnlindquist/kit"
// Name: Open VS Code Here
// Shortcut: option+v
// Author: Taylor Bell
let selectedFile = await getSelectedFile()
// remove the filename from the path
let path = selectedFile.replace(/\/[^\/]*$/, '')
let MarkdownIt = await npm("markdown-it")
let hljs = await npm("highlight.js")
// import 'highlight.js/styles/night-owl.css';
import "@johnlindquist/kit"
// Name: markdown-to-html
// Description: Paste Markdown to generate HTML with syntax highlighting
// Author: Taylor Bell
import "@johnlindquist/kit"
// Name: add-times
let times = await arg("Enter times as HH:MM:SS or MM:SS with + between each")
// example times = "1:23:45+2:34:56+3:45:67"
// split times into array
let timesArray = times.split("+")
import "@johnlindquist/kit"
// Name: page to markdown
let { extract } = await npm('@extractus/article-extractor')
let TurndownService = await npm('turndown')
let input = await getActiveTab()
// ==UserScript==
// @name Copy Green Text on OpenAI Playground
// @version 0.1
// @description Create a button that copies the text of all green spans on a page
// @match https://beta.openai.com/playground
// @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com
// @author Taylor Bell
// @grant none
// ==/UserScript==
import "@johnlindquist/kit"
// Name: bulk-remove-brackets
let files = await drop()
for (let file of files) {
let text = await readFile(`${file.path}`, "utf8")