Skip to content

Instantly share code, notes, and snippets.

View brianjohnpenner's full-sized avatar

Brian Penner brianjohnpenner

  • Ontario, Canada
View GitHub Profile
metadata = {
name: "Proxy Screenshots",
}
import "@johnlindquist/kit"
import { chromium } from "playwright"
const MOBILE_USER_AGENT =
"Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1"
metadata = {
name: "Proxy Screenshots",
}
import "@johnlindquist/kit"
import { chromium } from "playwright"
const PROXIES = [
{ url: "us-il-chicago-2.cloudveil.org", port: 26000 },
{ url: "us-va-ashburn-2.cloudveil.org", port: 26000 },
// Name: Generate Raycast Scripts
import "@johnlindquist/kit"
const collect = await npm("collect.js")
// get the directory to store the scripts in. Save in an environment variable
const directory = await env("RAYCAST_SCRIPTS_DIRECTORY", async () => { return await selectFolder("Select a directory to store the scripts in") })
// get all the scripts from Script Kit
let scripts = collect(await getScripts())
// remove preview from scripts
// Name: process-youtube
// Shortcut: Shift Control Option Command Y
import "@johnlindquist/kit"
const {ray} = await import("node-ray")
const clipboard = await paste()
const whitelistYoutubeFile = await env("WHITELIST_YOUTUBE_FILE", async () => {
return await path()
// Name: Generate Raycast Scripts
import "@johnlindquist/kit"
const collect = await npm("collect.js")
// get the directory to store the scripts in. Save in an environment variable
const directory = await env("RAYCAST_SCRIPTS_DIRECTORY", async () => { return await selectFolder("Select a directory to store the scripts in") })
// get all the scripts from Script Kit
let scripts = collect(await getScripts())
// remove preview from scripts
// Name: url tool
// Shortcut: Shift Control Option Command U
import "@johnlindquist/kit"
const {ray} = await npm('node-ray')
// command options
let options = [
{
@brianjohnpenner
brianjohnpenner / warp_night_owl.yaml
Created November 25, 2022 20:12
Night Owl theme for Warp terminal
accent: "#3794ff"
background: "#011627"
foreground: "#d6deeb"
details: "darker"
terminal_colors:
normal:
black: "#011627"
red: "#EF5350"
green: "#22da6e"
yellow: "#c5e478"