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
| #!/bin/bash | |
| # Function to display a spinner | |
| spinner() { | |
| local pid=$1 | |
| local delay=0.1 | |
| local spinstr='|/-\' | |
| while kill -0 $pid 2>/dev/null; do | |
| local temp=${spinstr#?} | |
| printf " [%c] " "$spinstr" |
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
| {"lastUpload":"2022-12-16T16:22:02.205Z","extensionVersion":"v3.4.3"} |
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
| Mac Launchpad Scripts |
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
| async function clearMessages(server, channel, author, offset=0) { | |
| const authToken = 'YOUR_DISCORD_TOKEN'; | |
| const headers = { 'Authorization': authToken, 'Content-Type': 'application/json' }; | |
| const baseURL = `https://discordapp.com/api/v6/channels`; | |
| let searchURL = `https://discordapp.com/api/v6/guilds/${server}/messages/search?channel_id=${channel}&offset=${offset}&include_nsfw=true`; | |
| let clock = 0; | |
| let interval = 2000; | |
| function delay(duration) { | |
| return new Promise((resolve, reject) => { |
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^=pictureInPicture]").remove() |
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
| !.gitignore | |
| !.htaccess | |
| !.htpasswd | |
| %20../ | |
| %2e%2e//google.com | |
| %3f/ | |
| %EXT% | |
| %ff/ | |
| ..;/ | |
| .7z |
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
| // Use CTRL + SHIFT + I to open Discord Developer Console | |
| let _$$ = $$ // Setup jQuery | |
| // Forever utilities | |
| let forevers = {} | |
| let startForever = async (id, f, t) => { | |
| f() | |
| forevers[id] = setTimeout(() => startForever(id, f, t), t) | |
| } |
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
| #!/usr/bin/bash | |
| while true | |
| do | |
| cat /proc/cpuinfo | grep 'cpu MHz' | awk '{sum+=$NF} END{printf "%.0f\n", sum/NR}' > /home/sighmir/.i3/cpu_speed | |
| sleep 1 | |
| done |
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
| #!/usr/bin/bash | |
| TARGET="${1:-127.0.0.1}" | |
| PORT="${2:-6980}" | |
| STREAM="${3:-vban_stream}" | |
| BACKEND="${4:-pulseaudio}" | |
| LOGLEVEL="${5:-1}" | |
| vban_receptor -i $TARGET -p $PORT -s $STREAM -b $BACKEND -l $LOGLEVEL |
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
| USERNAME [a-zA-Z0-9._-]+ | |
| USER %{USERNAME} | |
| INT (?:[+-]?(?:[0-9]+)) | |
| BASE10NUM (?<![0-9.+-])(?>[+-]?(?:(?:[0-9]+(?:\.[0-9]+)?)|(?:\.[0-9]+))) | |
| NUMBER (?:%{BASE10NUM}) | |
| BASE16NUM (?<![0-9A-Fa-f])(?:[+-]?(?:0x)?(?:[0-9A-Fa-f]+)) | |
| BASE16FLOAT \b(?<![0-9A-Fa-f.])(?:[+-]?(?:0x)?(?:(?:[0-9A-Fa-f]+(?:\.[0-9A-Fa-f]*)?)|(?:\.[0-9A-Fa-f]+)))\b | |
| POSINT \b(?:[1-9][0-9]*)\b | |
| NONNEGINT \b(?:[0-9]+)\b |
NewerOlder