Skip to content

Instantly share code, notes, and snippets.

View SophiaH67's full-sized avatar
💭
aaa

Sophia SophiaH67

💭
aaa
View GitHub Profile
@SophiaH67
SophiaH67 / Sophia - VRChat.json
Last active December 22, 2023 12:00
Converting Media For Compatibility With VRChat Video Players
{
"PresetList": [
{
"AlignAVStart": false,
"AudioCopyMask": [
"copy:aac"
],
"AudioEncoderFallback": "av_aac",
"AudioLanguageList": [
"any"
@SophiaH67
SophiaH67 / fix-qbit.py
Last active July 21, 2023 17:39
This script is to fix 0 byte fastresume files. There is no documentation and the code is god awful. It has worked once, and probably will not ever again. If you want help with running it, feel free to leave a comment or contact me any other way (check my bio).
import sys
import os
import glob
import requests
import subprocess
def get_torrent_name(torrent_file):
# Use transmission-show to get the torrent name
torrent_name = subprocess.check_output(["transmission-show", torrent_file]).decode(
# I really messed up and set up renovate on all my personal account projects...
# This script loops through all repos of your github account and declines the PRs titled "Configure Renovate" to fix this!
# Dependencies for this script are awk and the github cli(also need to be logged in :P)
# Get all repos from my github account using the github cli
for repo in $(gh repo list --limit 1000 --source | awk '{print $1}'); do
# Get all open PRs for the repo
for pr in $(gh pr list --limit 1000 --repo $repo --state open | awk '{print $1}'); do
# Get the PR title
title=$(gh pr --repo $repo view $pr --json title | jq -r '.title')
@SophiaH67
SophiaH67 / fix-yt.js
Last active November 3, 2022 09:22
My b
// ==UserScript==
// @name YouTube Fixer
// @namespace http://tampermonkey.net/
// @version 8.8
// @description My balls hurt
// @author Marnix
// @match https://www.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant GM_addStyle
// @downloadURL https://gist.githubusercontent.com/marnixah/18ee9031f8363dbce30c6234525c8d8b/raw/fix-yt.js

Keybase proof

I hereby claim:

  • I am marnixah on github.
  • I am marnixah (https://keybase.io/marnixah) on keybase.
  • I have a public key whose fingerprint is 46A2 260E 4F7C 4C36 4699 EC07 5801 EE71 A1A4 3ECE

To claim this, I am signing this object:

Terms of Service

Usage Agreement

By inviting the bot and using its features, you agree to the following terms:

  1. The bot will store your server's ID for the purpose of providing you with server-specific information.
  2. The bot will not share your server's ID with any third-party.
  3. The bot is provided "as is", without warranty of any kind. The bot developer is not liable for any damages resulting from the use of the bot.