Skip to content

Instantly share code, notes, and snippets.

View noaione's full-sized avatar
🥐
ゆび!ゆび!

noaione

🥐
ゆび!ゆび!
View GitHub Profile
@noaione
noaione / qbitWebhook.py
Created June 12, 2019 04:24
QBittorrent Discord Webhook Notifier and Rclone Command Wrapper
import argparse
import subprocess
from discord_webhook import DiscordWebhook, DiscordEmbed
"""
QBittorrent Discord Webhook and Rclone command wrapper
Version: 1.0
This script will send a notification to Discord via webhook, that your download are finished.
@noaione
noaione / fireforce03.vpy
Created July 27, 2019 07:29
Fire Force 03
import vapoursynth as vs
from vapoursynth import core
import fvsfunc as fvf
import havsfunc as haf
import kagefunc as kgf
import n4ofunc as nao
import vsTAAmbk as taa
from vsutil import iterate, get_y, insert_clip
import adjust
import asyncio
import difflib
import json
from datetime import datetime, timedelta
import aiohttp
import feedparser
##########################################################################
########################## Change this part ##############################
import asyncio
import difflib
import json
import os
from datetime import datetime, timedelta
import aiohttp
import feedparser
##########################################################################
@noaione
noaione / bors-renovate.py
Last active June 3, 2021 16:05
A helper script to automatically merge multiple PR by renovate bot
import sys
import time
import json
import requests
import inquirer
from colorama import Fore, init, Style
from tqdm import tqdm
init()
@noaione
noaione / keybase.md
Created June 5, 2021 07:24
Keybase verification

Keybase proof

I hereby claim:

  • I am noaione on github.
  • I am noaione (https://keybase.io/noaione) on keybase.
  • I have a public key ASACLPLXTawDrJyV_KWbHKQLxt7LXSIFSUoSOKQ671GPpgo

To claim this, I am signing this object:

@noaione
noaione / ytclip.py
Last active August 4, 2021 06:48
Download youtube clip with its desired timestamp
"""
Download a Youtube clip, this script will only download the desired timestamp.
Use ffmpeg to download the video and youtube-dl to extract the video url.
Requirements:
- Python 3.6+
- requests
- beautifulsoup4
- ffmpeg
@noaione
noaione / ytInitialData.json
Last active August 4, 2021 06:41
An extracted data from https://www.youtube.com/clip/Ugzug7BpuOiEY5eXH7B4AaABCQ ytInitialPlayerResponse data
{
"responseContext": {
"serviceTrackingParams": [
{
"service": "CSI",
"params": [
{
"key": "c",
"value": "WEB"
},
@noaione
noaione / dpy_override_x2.py
Last active August 11, 2021 16:34
A monkey-patch of a monkey-patch for discord-py-interactions [discord.py commit: 58ca9e9]
"""
A monkeypatch to patch some of the discord-interactions *patched* methods.
Refer: https://github.com/discord-py-interactions/discord-py-interactions/issues/287
This was created using this commit as the original reference:
https://github.com/Rapptz/discord.py/commit/58ca9e99325ac2678a51cd63afd7ae917f14bc8d
---
MIT License