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
//Embed ... | |
type Embed struct { | |
*discordgo.MessageEmbed | |
} | |
// Constants for message embed character limits | |
const ( | |
EmbedLimitTitle = 256 | |
EmbedLimitDescription = 2048 | |
EmbedLimitFieldValue = 1024 |
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
// ==UserScript== | |
// @name Krigoapp-Youtube | |
// @namespace https://youtube.com/ | |
// @version 0.1 | |
// @description Transmit videoURL, videoThumbnail, and videoTitle data to the server | |
// @author Rin | |
// @match https://www.youtube.com/* | |
// @grant GM_xmlhttpRequest | |
// ==/UserScript== |
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
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"flag" | |
"log" | |
"math/rand" | |
"os" | |
"os/signal" |
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
package main | |
import ( | |
"bytes" | |
"encoding/base64" | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"sort" |
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
package main | |
import ( | |
"flag" | |
"image" | |
"image/draw" | |
_ "image/gif" | |
_ "image/jpeg" | |
"image/png" | |
"log" |
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
var robot = require("robot-js"); | |
const DRAG_ENABLED = true // enable dragging | |
const DRAG_BUTTON = robot.BUTTON_LEFT; // Mouse button required to drag windows | |
const DRAG_REQUIRE_ALT = false; // Require alt to be pressed to drag a window | |
const DRAG_TELEPORT_MOUSE = true; // Teleport the mouse to the bottom of the video to prevent it from pausing when dragging | |
const DRAG_SENSITIVITY = 30; // Minimum distance mouse is required to move after clicking to drag window | |
const DRAG_REQUIRE_BORDERLESS = true; // Require that a window be borderless to allow dragging | |
const DRAG_REQUIRE_ALWAYS_ON_TOP = true; // require that a window be always on top to allow dragging | |
const DRAG_BOTTOM_DEADZONE = 0; // Leave a deadzone of 'n' pixels from the bottom of the window going upwards. |
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
(function () { | |
// Number of pages to attempt to scroll | |
const pages = 1; | |
// sleep duration between scrolls in milliseconds. | |
// adjust to compensate for network speed. | |
const sleepDuration = 500; | |
/** | |
* Sleep for duration milliseconds |
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
// ==UserScript== | |
// @name Youtube Tools | |
// @namespace http://tampermonkey.net/ | |
// @version 1.1 | |
// @description Adds some extra buttons to youtube | |
// @author necroforger | |
// @match https://www.youtube.com/watch* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Youtube Tools Popout Helper | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description replaces links in the end screen to point towards another embed page | |
// @author necroforger | |
// @match https://www.youtube.com/embed/*?*ytt_popout=1* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name mastodon_necroforger | |
// @version 1.4 | |
// @description personalizing mastodon | |
// @author Necroforger | |
// @match *://mastodon.social/* | |
// @grant none | |
// ==/UserScript== | |
(async function () { |
OlderNewer