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
-- Create animated GIFs with mpv | |
-- Requires ffmpeg, gifski, exiftool, and vorbis-tools. | |
-- Based on github.com/Scheliux/mpv-gif-generator | |
-- Usage: "g" to set start frame, "G" to set end frame, | |
-- "Ctrl+g" to create gif | |
-- "Ctrl+v" to create video clip | |
-- "Ctrl+a" to create audio clip | |
-- Metadata about the filename and timestamps will be written in the comment tag | |
local msg = require 'mp.msg' |
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
const ranks = { | |
"ADMIN": [ | |
[ | |
'c', | |
"[ADMIN]" | |
] | |
], | |
"MODERATOR": [ | |
[ | |
'2', |
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
-- Create animated GIFs with mpv | |
-- Requires ffmpeg. | |
-- Adapted from http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html | |
-- Usage: "g" to set start frame, "G" to set end frame, "Ctrl+g" to create. | |
local msg = require 'mp.msg' | |
-- Set this to the filters to pass into ffmpeg's -vf option. | |
-- filters="fps=24,scale=320:-1:flags=lanczos" | |
filters="fps=15,scale=540:-1:flags=lanczos" |
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 BTTVChatHistory4FFZ | |
// @namespace http://nicholastay.github.io/ | |
// @homepage https://gist.github.com/nicholastay/fad3889c30b963aa2f2a4a8529792212 | |
// @version 0.1.1 | |
// @description Chat history for FFZ, BTTV-style. | |
// @author Nicholas Tay (Nexerq / n2468txd) <[email protected]> | |
// @license Zlib/libpng | |
// @match *://twitch.tv/* | |
// @match *://www.twitch.tv/* |
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 imgur direct images | |
// @description Redirect to the raw images skipping the crappy HTML pages. | |
// @include /^https?:\/\/imgur\.com\/[A-Za-z0-9]+$/ | |
// @exclude *imgur.com/vidgif | |
// @exclude *imgur.com/jobs | |
// @exclude *imgur.com/about | |
// @exclude *imgur.com/apps | |
// @exclude *imgur.com/tos | |
// @exclude *imgur.com/privacy |