This prompt turns any LLM (ChatGPT, Claude, etc.) into an instant mind map generator for Excalidraw. It outputs a self-contained JavaScript snippet that, when run in your browser console, directly copies the generated mind map to your clipboard—ready to be pasted onto an Excalidraw canvas.
Tired of repeatedly filling out the exact same input parameters every time you manually trigger a GitHub Actions workflow?
This utility is a meta-bookmarklet (a bookmarklet that generates custom bookmarklets). Fill out your workflow form once, click this generator bookmarklet, and it will instantly create a brand new, single-purpose bookmarklet containing your exact inputs. Next time, just click your custom preset bookmarklet to instantly populate the form!
It supports all standard GitHub workflow inputs, including text fields, dropdowns (select), checkboxes, and radio buttons.
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
| /* | |
| * Scramble Ordered Digits | |
| * | |
| * This function takes in a `passphrase` and `limit` argument and returns | |
| * a scrambled list of digits, n ... {limit}. | |
| * | |
| * This assumes that the original ordered digits are whole numbers starting | |
| * from 1 ... {limit} where `limit` is the max digit. | |
| * | |
| * For example, `scrambleOrderedDigits('Hello World')` hashes 24 digits to the order on the right-hand side: |
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
| import idx from 'idx' | |
| /* | |
| * This code is copyright 2012 by Gavin Kistner, !@phrogz.net | |
| * It is covered under the license viewable at http://phrogz.net/JS/_ReuseLicense.txt | |
| * Schwartzian transform - https://en.wikipedia.org/wiki/Schwartzian_transform | |
| * | |
| * This is used mainly for additional sorting among equal values due to efficiency. | |
| * Example: sortBy(data, o => [o.active, o.age, o.name]); | |
| * i.e. sort by active, then amongst active sort by age, then amongst |
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
| import React from 'react'; | |
| import { Linking, Text } from 'react-native'; | |
| export default function renderHyperlinkedText(string, baseStyles = {}, linkStyles = {}, openLink) { | |
| if (typeof string !== 'string') return null; | |
| const httpRegex = /http/g; | |
| const wwwRegex = /www/g; | |
| const comRegex = /.com/g; | |
| const httpType = httpRegex.test(string); | |
| const wwwType = wwwRegex.test(string); |
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
| class Email_Scraper { | |
| constructor(log = false, names = true, scriptURL = '', spreadsheetURL = '') { | |
| this.currIndex = 0; | |
| this.log = log; | |
| this.names = names; | |
| this.pendingRecursive = 1; | |
| this.scriptURL = scriptURL; | |
| this.spreadsheetURL = spreadsheetURL; | |
| this.sourceIndex = 0; | |
| this.sources = {}; |
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
| mkdir -p node_modules/react-native/Libraries/Lists/ && \ | |
| for file in 'FlatList' 'MetroListView' 'SectionList' 'VirtualizedList' 'VirtualizedSectionList' 'ViewabilityHelper' 'VirtualizeUtils' 'FillRateHelper'; \ | |
| do curl https://raw.githubusercontent.com/facebook/react-native/master/Libraries/Lists/${file}.js > node_modules/react-native/Libraries/Lists/${file}.js; \ | |
| done |
