Skip to content

Instantly share code, notes, and snippets.

@GiowGiow
GiowGiow / digimon_cyber_sleuth_switch_to_pc_save_converter.py
Last active October 11, 2025 15:58
Automatically converts Digimon Story Cyber Sleuth save files from Nintendo Switch format to PC format, making them compatible with the Steam/PC version of the game
#!/usr/bin/env python3
"""
Digimon Story Cyber Sleuth Save Converter
==========================================
Automatically converts Digimon Story Cyber Sleuth save files from Nintendo Switch
format to PC format, making them compatible with the Steam/PC version of the game.
Requirements:
-------------
@GiowGiow
GiowGiow / download_missing_episodes.py
Last active January 20, 2025 08:56
Downloads season pack in Sonarr for each entry missing the last episode of a season. This solves the problem of trackers that don't release the last episode, but the season pack on completion
"""
python3 download_missing_episodes.py --sonarr-url http://host:port --api-key api_key --dry-run
-------------------------------------------------------------------------------------------------------------------------
usage: download_missing_episodes.py [-h] [--dry-run] --sonarr-url SONARR_URL --api-key API_KEY [--process-some-missing] [--process-all-missing]
[--log-level {DEBUG,INFO,WARNING,ERROR}]
Sonarr Season Pack Downloader
options:
@GiowGiow
GiowGiow / kill_league.txt
Created June 20, 2024 06:03
Kill League of Legends - Rename to kill_league.bat
@echo off
taskkill /F /IM LeagueClient.exe
taskkill /F /IM "League of Legends.exe"
taskkill /F /IM RiotClientServices.exe
taskkill /F /IM RiotClientUx.exe
taskkill /F /IM RiotClientUxRender.exe
echo League of Legends has been terminated.
pause
@GiowGiow
GiowGiow / sub_videos.py
Last active January 20, 2025 09:03
Sub any video using Open AI Whisper
# Install:
# https://github.com/m1guelpf/auto-subtitle
# pip install git+https://github.com/m1guelpf/auto-subtitle.git tqdm
# Move .mkv to the folder where this script is. Then run:
# sub_videos.py
import datetime
from glob import glob
from pathlib import Path
import subprocess
@GiowGiow
GiowGiow / droidcam.ps1
Last active December 4, 2022 04:11
Droidcam Automated Powershell Script - power on android screen, open droidcam app and start droidcam on PC
# This script needs:
# A Android with root (strongly recommended) to auto accept ADB connection using PC keys
# ADB.exe on PC - it comes with android studio
# Droidcam on PC
# How to auto accept adb connection using PC keys:
# https://stackoverflow.com/questions/30178911/how-to-authorize-and-accept-adb-rsa-key-with-broken-touch-screen-on-android
$AdbPath = "C:\Users\gioma\AppData\Local\Android\sdk\platform-tools\adb.exe"
$DroidCamPath = "C:\Program Files (x86)\DroidCam\"
$DroidCamExe = $DroidCamPath + "DroidCamApp.exe"
@GiowGiow
GiowGiow / protocolreplay.cpp
Created May 1, 2021 20:56 — forked from lyuz1n/protocolreplay.cpp
Cam System 10.98
#include "otpch.h"
#include "protocolreplay.h"
#include "outputmessage.h"
#include "configmanager.h"
#include "game.h"
#include "ban.h"
#include "scheduler.h"
@GiowGiow
GiowGiow / ReverseSymlink.py
Last active June 30, 2020 06:26
Switches Symlink and Target location, useful when using pools of disks like mergerfs that don't allow hardlinks