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
local utils = require 'mp.utils' | |
local start | |
mp.add_key_binding('Ctrl+e', 'generate-edl', function () | |
if start == nil then | |
start = mp.get_property_native('time-pos') | |
mp.osd_message('Saved start') | |
return | |
end |
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
// ==UserScript== | |
// @name Steam link filter remover | |
// @namespace https://github.com/guidocella | |
// @description Disable the link filter on steamcommunity links. | |
// @match https://steamcommunity.com/* | |
// @version 1.0 | |
// @author Guido Cella | |
// ==/UserScript== | |
document.querySelectorAll('a[href^="https://steamcommunity.com/linkfilter/?url="]') |
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
// ==UserScript== | |
// @name Pixiv link filter remover | |
// @namespace https://github.com/guidocella | |
// @description Disable the link filter on Pixiv links. | |
// @match https://www.pixiv.net/* | |
// @version 1.0 | |
// @author Guido Cella | |
// ==/UserScript== | |
new MutationObserver(function (mutationsList) { |
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/sh | |
if [ $# -lt 2 ]; then | |
echo Usage: avgle-download.sh video_title url_of_last_segment | |
exit 1 | |
fi | |
# Visit a video page, open the network tab of the dev tools, | |
# seek to the end of the video and copy the url of the last .ts segment | |
# (the .m3u8 playlist is encoded and therefore harder to get). |