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 SubredditPurge helper - reddit.com | |
// @namespace Rebane | |
// @match https://*.reddit.com/r/*/about/banned/ | |
// @match https://*.reddit.com/message/messages/* | |
// @grant none | |
// @version 1.0.1 | |
// @author Rebane | |
// @description Edits the SubredditPurge mail to have links and an "Open all" button, autofills SubredditPurge info on the ban page if SubredditPurge hasn't been banned yet (2023-11-07) | |
// ==/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 Admin Pixel Notification | |
// @namespace rebane | |
// @match https://garlic-bread.reddit.com/embed* | |
// @version 1.1 | |
// @author Rebane | |
// ==/UserScript== | |
// Hook into the fetch function | |
const origFetch = window.fetch; |
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
import time | |
import json | |
import orjson | |
import msgspec | |
class Snippet(msgspec.Struct): | |
title: str | |
class Video(msgspec.Struct): | |
id: str |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" | |
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<script crossorigin="anonymous" | |
src="https://cdn.jsdelivr.net/npm/@ffmpeg/ffmpeg@0.10.1/dist/ffmpeg.min.js"></script> | |
<title>Pdubhelper4</title> |
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 Omniva auto-declare | |
// @namespace rebane | |
// @match https://maasikas.emta.ee/smartdecl/wicket/page | |
// @match https://maasikas.emta.ee/smartdecl/parcel | |
// @match https://minu.omniva.ee/s/* | |
// @grant none | |
// @version 1.0 | |
// @author rebane | |
// @description Userscript that adds a button to Omniva's interface to immediately take you to eMTA and fill in the right fields. Use at your own discretion. |
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 lang="et"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>Salasõna-pulpulaator | rabool-js</title> | |
<style> | |
html { | |
background-color: #fafafa | |
} |
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
TMUX_WINDOW="$(tmux display-message -p '#I')" | |
function run_pane { | |
tmux split-window -h -t "${TMUX_WINDOW}" "$1" | |
# Wait for exit version: | |
# waitid="$(openssl rand -hex 16)" | |
# tmux split-window -h -t "${TMUX_WINDOW}" "$1; tmux wait -S ${waitid}" | |
# tmux wait "${waitid}" | |
} | |
# run_pane 'python3 verbose_script.py' |
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 Search Hobune for all videos on page | |
// @namespace hobune.stream | |
// @match https://www.youtube.com/* | |
// @grant GM_xmlhttpRequest | |
// @connect hobune.stream | |
// @version 1.0 | |
// @author Rebane | |
// @description 1/8/2021, 12:02:22 PM | |
// ==/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
/* | |
Sometimes, Dropbox folders are too huge and attempting to download them as zip results in the "The zip file is too large." error. | |
This script automatically downloads every subfolder (and file) as a zip file to work around this issue. | |
To use it, just open the Console (F12) on the Dropbox page, paste this script in, and run it. | |
*/ | |
document.querySelectorAll("a").forEach(e => { | |
if (e.href.includes("dl=0")){ | |
window.open(e.href.replace("dl=0","dl=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
#!/usr/bin/env python3 | |
import requests | |
import re | |
import os | |
import time | |
import json | |
from datetime import datetime, timezone | |
import random |