Skip to content

Instantly share code, notes, and snippets.

View FUFSoB's full-sized avatar

FUFSoB FUFSoB

  • 11:15 (UTC +05:00)
View GitHub Profile
@FUFSoB
FUFSoB / stella-of-the-end-html-generator.py
Created May 17, 2024 16:24
Generate "Stella of The End" scenario HTML files to use with Yomitan
#!/usr/bin/env python3
"""
This script generates HTML files from AST files
of the game 終のステラ [Tsui no Sutera, Stella of The End].
Generated files are intended to be read in a browser along
with the VN itself, useful with Yomitan extension.
To extract script files, use https://github.com/nextgal/pfs_upk
@FUFSoB
FUFSoB / starbound_mods.sh
Created January 5, 2021 08:08
Collect all starbound mods from steam and save them in current folder with their steam id as name.
#!/bin/bash
find $HOME/.local/share/Steam/steamapps/workshop/content/211820/ \
-mindepth 2 \
-name "*.pak" \
-exec bash -c 'cp -n "{}" ./$(grep -oP "211820/\K.*(?=/)" <<< "{}").pak || true' \;
@FUFSoB
FUFSoB / spotify_to_youtube_music.py
Last active March 24, 2025 23:56
Convert your Spotify "Liked Songs" into Youtube Music liked songs.
#!/usr/bin/python3
import spotipy
import spotipy.util as util
from ytmusicapi import YTMusic, setup as setup_ytm
from datetime import datetime
scope = "user-library-read"
### Setup