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
//Paste this function in DevTools console inside Discord | |
/** | |
* Delete all messages in a Discord channel or DM | |
* @param {string} authToken Your authorization token | |
* @param {string} authorId Author of the messages you want to delete | |
* @param {string} channelId Channel were the messages are located | |
* @param {string} afterMessageId Only delete messages after this, leave blank do delete all | |
* @author Victornpb <https://www.github.com/victornpb> | |
* @see https://gist.github.com/victornpb/135f5b346dea4decfc8f63ad7d9cc182 |
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
/* | |
* Discord: Don't copy stuff into this box | |
* Me: dOn'T COpy sTuFf iNtO tHIs bOx | |
*/ | |
clearMessages = function (guild_id, author_id, authToken, deleted = new Set()) { | |
if (guild_id[0] == "_" && guild_id[guild_id.length - 1] == "_") { | |
alert("Oops! You forgot to set the guild_id. Please fill it in.") | |
return; | |
} | |
if (author_id[0] == "_" && author_id[author_id.length - 1] == "_") { |
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
################################################################################## | |
# ELIMINATE SPOTIFY ADS (VERSION 1.2 - 8.5) - ABANDONED FOR NOW # | |
################################################################################## | |
# | |
# NOTE: SOMETIMES ONLY ANNOUNCEMENT OF AN AD WHILE USING APP VERSION 7.5-7.9?-8.x. | |
# USING AN OFFICIAL OLDER VERSION SOLVES THIS. TEST IT (APKMIRROR). THIS WILL NOT | |
# OCCUR USING CHROMECAST / GOOGLE HOME. | |
# | |
# COULD NOT SOLVE THE AUDIO AD INRO/OUTRO IN THE APP. | |
# SUGGESTIONS? WRITE A COMMENT BELOW. |
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://www.youtube.com/embed/HH0zOJVOzxs?rel=0&autoplay=1;fs=0;autohide=0;hd=0;mute=1; |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<script type="text/javascript"> | |
init(); | |
var count = 0; | |
function init() | |
{ |
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
// by dw @ bees & bombs >:) | |
int[][] result; | |
float t; | |
void setup() { | |
setup_(); | |
result = new int[width*height][3]; | |
} |
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
#easy method of joining two mp3's [lsauer.com 2012 - lo sauer] | |
#the result is dirty since it contains the mp3 header and ID-tags, but most mp3 libs play these files without a hassle. | |
#use the resulting mp3 as input for AAC, Opus,.. conversion. | |
#Windows | |
type file1 file2 > outfile | |
copy /b file1 + file2 + ... file_n outfile | |
#Linux, Mac | |
cat file1 file2 > outfile |