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
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 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
<!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/[email protected]/dist/ffmpeg.min.js"></script> | |
<title>Pdubhelper4</title> |
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 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 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<link rel="icon" type="image/x-icon" href="/favicon.ico"> | |
<title>Rebane's Discord Colored Text Generator</title> | |
<meta charset="UTF-8"> | |
<meta name="description" content="Rebane's Discord Colored Text Generator"> | |
<meta name="author" content="rebane2001"> | |
<style> | |
/* |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<link rel="icon" type="image/x-icon" href="/favicon.ico"> | |
<title>Rebane's Discord Pin Compressor</title> | |
<meta charset="UTF-8"> | |
<meta name="description" content="Rebane's Discord Pin Compressor"> | |
<meta name="author" content="rebane2001"> | |
<style> | |
/* |
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
/* | |
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 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
#!/usr/bin/env python3 | |
import requests | |
import re | |
import os | |
import time | |
import json | |
from datetime import datetime, timezone | |
import random |
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
import requests | |
import re | |
import os | |
import time | |
import json | |
from datetime import datetime, timezone | |
import random | |
# Put your YouTube API keys here, the more the merrier (one key can do 500k vids a day) | |
youtube_api_keys = ["YOUR_API_KEYS_HERE"] |
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
import re | |
import os.path | |
for p in ["showcase.js","js/showcase.js"]: | |
if os.path.isfile(p): | |
with open(p,"r",encoding="UTF-8") as f: | |
j = f.read() | |
with open(p,"w",encoding="UTF-8") as f: | |
f.write(re.sub(r"\&\&\(!e.expires\|\|.{1,10}\*e.expires>Date.now\(\)\)","",j)) | |
print("Patched!") |