Joel's public fiddles
-
Bootstrap Skeleton
This is a simple Bootstrap skeleton. You can fork it to get a ready to use Bootstrap fiddle.
-
Regex Escaper
input a regex, get a properly escaped regex as a string
-
imageData with OOP
Just toying around with JS oop-y type stuff and imageData
-
Fun with OOP
Just toying around with JS oop-y type stuff
-
Map Of Library of Babel
Just like Borges said! I guess.
-
Split Swapper
This will take text delimited by something, and reverse it's order around the delimiter. ONLY ONE DELIMITER PER LINE!
-
Library of Babel
Just like Borges said!
-
Spintax Parser
input spintax, get a plaintext output
-
transmogrify keymap to arrays
Convert key/value object to object containing arrays of values full of keys
-
Regex Escaper
input a regex, get a properly escaped regex as a string
-
GTIN maker
add a bunch of numbers (one per line) that is 14 digits or longer, this will turn them into valid gtins, alternatively this will generate a number of random gtins
-
DeDuplicate Row
Got a bunch of rows, but don't want duplicates? Think there's no answer? YOU'RE SO STUPID! There IS! Use map.reduce!
-
Object Map to CSV
Convert a 1-1 object mapping ('whatever': 'other') into a csv (whatever,other)
-
GTIN maker
add a bunch of numbers (one per line) that is 14 digits or longer, this will turn them into valid gtins, alternatively this will generate a number of random gtins
-
Convert Commas to Tabs
CSV -> TSV
-
Regex prototypes test & exec
These functions may not be suitable for matching a string repeatedly because on each run they look for the next occurance of the match
-
List contains list element
Check if an array contains an element from another array and return boolean
-
shorten string gracefully
truncate a string, but don't break words.
-
querySelectorAll with pseudo-selectors
test readonly & disabled pseudo-selectors with querySelectorAll
-
3yMtY
No-Library (pure JS), HTML, CSS, JavaScript