Skip to content

Instantly share code, notes, and snippets.

View ClassicOldSong's full-sized avatar
🐦

Yukino Song ClassicOldSong

🐦
View GitHub Profile
param (
[string]$exePath = "C:\Program Files\Apollo\sunshine.exe",
[string]$workingDirectory = "C:\Program Files\Apollo\",
[string]$sessionId = (Get-Process -PID $pid).SessionID,
# Path to PsExec
# You can download it from https://learn.microsoft.com/en-us/sysinternals/downloads/psexec
[string]$psexecPath = "D:\Tools\pstools\PsExec.exe",
# Adjust with the actual config files you want to start.
# e.g. if you have only one config, leave only the first entry.
[string[]]$exeParams = @(
@ClassicOldSong
ClassicOldSong / pause.ahk
Last active April 7, 2025 15:05
Auto Pause/Resume script for providing console grade experience with Apollo
#Requires AutoHotkey v2.0
#SingleInstance Force
DetectHiddenWindows true
; Globals to manage the suspend/resume state
global IsProcessSuspended := false
global IsProcessResumed := false
LockFile := A_Temp "\AutoPauseResume.lock"
@ClassicOldSong
ClassicOldSong / youtube_tv_installer.sh
Last active May 5, 2025 03:17
YouTube TV Installer for SteamDeck with uBlock and SponsorBlock
#!/usr/bin/env bash
set -euo pipefail
# ─── PREREQUISITES ────────────────────────────────────────────────────────────
# 1) Ensure flatpak is available
if ! command -v flatpak >/dev/null 2>&1; then
echo "Error: flatpak is not installed. Please install flatpak and try again."
exit 1
fi
@ClassicOldSong
ClassicOldSong / youtube_leanback_hq_thumb.user.js
Last active May 2, 2025 16:53
YouTube Leanback HQ Thumbnail
// ==UserScript==
// @name YouTube Leanback HQ Thumbnail
// @namespace https://sudomaker.com/
// @version 2025-04-30
// @description Replace YouTube TV's default thumbnails with really HQ ones
// @author ClassicOldSong
// @match https://www.youtube.com/tv
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// ==/UserScript==