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
| const stringifyCyclic = ( | |
| value: any, | |
| replacer?: ((this: any, key: string, value: any) => any) | undefined, | |
| space?: string | number | undefined | |
| ) => { | |
| const seen = new WeakSet<object>(); | |
| return JSON.stringify( | |
| value, | |
| function (key, val) { |
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
| /** | |
| * @name Tokyo Night Storm | |
| * @description Discord Port of Visual Studio Code Theme Tokyo Night Storm | |
| * @author fishylunar | |
| * @version 1.0 | |
| * @authorId 907359971337986098 | |
| */ | |
| /* DONT TOUCH THIS!!! */ | |
| @import url("https://dyzean.github.io/Tokyo-Night/main.css"); |
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
| // Spotiflood - skud ud til Meik for at være nederen | |
| // Requires librespot to be installed. | |
| // Lunar 🌙 | |
| const { spawn } = require('node:child_process'); | |
| const { argv } = require("node:process") | |
| /** | |
| * getRandomDeviceType | |
| * @returns {string} Random device type |
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
| // Code | |
| const puny = { | |
| map: (array, callback) => array.map(callback), | |
| mapDomain: (domain, callback) => { | |
| const parts = domain.split('@'); | |
| let result = ''; | |
| if (parts.length > 1) { | |
| result = parts[0] + '@'; | |
| domain = parts[1]; | |
| } |