This file contains 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
// https://xkcd.com/3054/ | |
function scream(input, padChars = false) { | |
let keyE = { | |
"A": "A", | |
"B": "Ȧ", | |
"C": "A̧", | |
"D": "A̠", | |
"E": "Á", | |
"F": "A̮", | |
"G": "A̋", |
This file contains 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
#!/usr/bin/env node | |
//code39.js | |
//A poorly made script that generates a scannable barcode out of unicode characters | |
//It was written after I found out that: | |
// - https://github.com/osresearch/barcode/ doesn't produce a scannable barcode in just about any font | |
// - There is a scannable unicode barcode shown in the unregistered preview of https://medium.com/weekly-webtips/how-to-generate-barcodes-code39-in-unicode-symbols-with-javascript-3d53559b877c | |
const Version = "1.1.0" | |
const RawMap = Object.freeze({ | |
'A': '█▌▌▌*▌█▌', |
This file contains 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
#!/usr/local/bin/node | |
//qoi180.js | |
//A terribly made script that: | |
// - encodes an input image into a "reversed" (horizontal+vertical flip) qoi | |
// - reverses the order of every chunk within the qoi file | |
// - saves the messed up file | |
//Note that it requires qoijs, imagemagick and arg | |
//It also has the same issues as copyimgdiff.js: It has not been tested on other systems, assigns a massive amount of ram, can't open images close to or above 1GB in size and doesn't support images with an alpha channel. | |
const qoi = require('qoijs'); |
This file contains 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
/** | |
* @name BandcampEmbed | |
* @authorLink https://github.com/FrostBird347 | |
* @source https://gist.github.com/FrostBird347/3a42e4084dce3fae325bc9363fe853ac#gistcomment-4643226 | |
* @updateUrl https://gist.githubusercontent.com/FrostBird347/3a42e4084dce3fae325bc9363fe853ac/raw/BandcampEmbed.plugin.js | |
*/ | |
module.exports = class BandcampEmbed { | |
settings = { | |
sideColour: "secondary_text_color", |
This file contains 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
//An extremely simple script that applies the differences between 2 images to a third image. | |
//It has not been tested on other systems, assigns a massive amount of ram, can't open images close to or above 1GB in size and doesn't support images with an alpha channel. | |
//With all that being said, it is very useful when copying effects from a low res image to a higher res version of the same image. | |
const qoi = require('qoijs'); | |
const fs = require('fs'); | |
const execFileSync = require('child_process').execFileSync; | |
if (process.argv.length != 6) { | |
console.error("Invalid arguments!"); | |
console.log("Usage:\n copyimgdif original_image_a edited_image_a image_b output_image\n (to apply the changes made to image_a to image_b)"); |
This file contains 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
/** | |
* @name PurgeMemory | |
* @authorLink https://github.com/FrostBird347 | |
* @source https://gist.github.com/FrostBird347/90dd48c54fdde69a00ab641b1ee823f2#gistcomment-4388425 | |
* @updateUrl https://gist.githubusercontent.com/FrostBird347/90dd48c54fdde69a00ab641b1ee823f2/raw/PurgeMemory.plugin.js | |
*/ | |
module.exports = class PurgeMemory { | |
getName () {return "PurgeMemory";} | |
This file contains 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
//Credit: https://steamcommunity.com/discussions/forum/1/666826703364808594/#c622954302088767800 | |
//Tested using steam with the "-dev" launch argument (https://developer.valvesoftware.com/wiki/Command_Line_Options#Steam) | |
//After running this script, you must save and reload the page to see any changes | |
for (var i = 0; i < document.getElementsByClassName("profile_customization_header").length; i++) { | |
var CurrentHeader = document.getElementsByClassName("profile_customization_header")[i]; | |
if (CurrentHeader.textContent == "Achievement Showcase") { | |
var ShowcaseBlock = CurrentHeader.parentElement.children[1].children[0].children[0]; | |
for (var ii = 0; ii < ShowcaseBlock.children.length; ii++) { | |
if (ShowcaseBlock.children[ii].classList.contains("showcase_slot") && !ShowcaseBlock.children[ii].classList.contains("openslot")) { | |
ShowcaseBlock.children[ii].children[2].value = 0; |
This file contains 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
/** | |
* @name VideoLoop | |
* @authorLink https://github.com/FrostBird347 | |
* @source https://gist.github.com/FrostBird347/6abad7503698db0c95a94ad3a2d0ca6c#gistcomment-3640733 | |
* @updateUrl https://gist.githubusercontent.com/FrostBird347/6abad7503698db0c95a94ad3a2d0ca6c/raw/VideoLoop.plugin.js | |
*/ | |
module.exports = class VideoLoop { | |
getName () {return "VideoLoop";} | |
This file contains 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
/** | |
* @name HideTime | |
* @authorLink https://github.com/FrostBird347 | |
* @source https://gist.github.com/FrostBird347/82473292f6d84542b607b87c2ea61df5#gistcomment-3376137 | |
* @updateUrl https://gist.githubusercontent.com/FrostBird347/82473292f6d84542b607b87c2ea61df5/raw/HideTime.plugin.js | |
*/ | |
module.exports = class HideTime { | |
getName() {return "HideTime";} | |
This file contains 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
Jebediah Kerman | |
Bill Kerman | |
Bob Kerman | |
Valentina Kerman | |
Wernher von Kerman | |
Gene Kerman | |
Dinkelstein Kerman | |
Dawton Kerman | |
Eumon Kerman | |
Bobak Kerman |