Skip to content

Instantly share code, notes, and snippets.

@roflsunriz
roflsunriz / player_jiggle.pyw
Created May 10, 2025 12:04
player_jiggle : Jiggle software for player
import tkinter as tk
from tkinter import ttk
import threading
import time
import importlib
import subprocess
import sys
# 必要なパッケージの自動インストール
def install_package(package):
@roflsunriz
roflsunriz / chatgpt-copy-summary.user.js
Created May 8, 2025 09:51
chatgpt-copy-summary : ChatGPTのサマリーを「Q.[ユーザーの入力] A.[ChatGPTの応答先頭300文字]... [URL]」形式でコピーします
// ==UserScript==
// @name ChatGPT サマリーコピー
// @namespace chatgpt-copy-summary
// @version 1.0
// @description ChatGPTのサマリーを「Q.[ユーザーの入力] A.[ChatGPTの応答先頭300文字]... [URL]」形式でコピーします
// @author roflsunriz
// @match https://chatgpt.com/*
// @match https://chat.openai.com/*
// @match https://chat.com/*
// @icon https://chat.openai.com/favicon.ico
@roflsunriz
roflsunriz / chatgpt-generation-complete.user.js
Last active May 8, 2025 09:54
chatgpt-generation-complete : ChatGPT の回答生成が完了したらプッシュ通知でお知らせ
// ==UserScript==
// @name ChatGPT 生成完了通知
// @namespace chatgpt-generation-complete
// @version 1.1
// @description ChatGPT の回答生成が完了したらプッシュ通知でお知らせ
// @author roflsunriz
// @match https://chatgpt.com/*
// @match https://chat.openai.com/*
// @match https://chat.com/*
// @icon https://chat.openai.com/favicon.ico
@roflsunriz
roflsunriz / twitter_thread_copier.user.js
Last active May 9, 2025 00:37
twitter_thread_copier : Copy tweets and replies from a Twitter/X thread with formatting
// ==UserScript==
// @name Twitter Thread Copier
// @namespace twitterThreadCopier
// @version 2.5
// @description Copy tweets and replies from a Twitter/X thread with formatting, supports auto-expanding "Show more" texts, fixing shortened URLs and including quoted tweets
// @author roflsunriz
// @match https://twitter.com/*
// @match https://x.com/*
// @connect translate.googleapis.com
// @connect *.googleapis.com
@roflsunriz
roflsunriz / VOICEVOX_SETUP.md
Last active May 8, 2025 13:26
training_app : 自分専用筋トレアプリ

ずんだもん音声でのトレーニングアプリのセットアップ

VoiceVoxのセットアップ

筋トレアプリで「ずんだもん」の声を使用するには、VoiceVoxという音声合成ソフトウェアを別途インストールして実行する必要があります。

1. VoiceVoxのダウンロードとインストール

  1. VoiceVoxの公式サイトからソフトウェアをダウンロードします:
@roflsunriz
roflsunriz / llm_context_compression.pyw
Created April 23, 2025 13:54
LLM context compression GUI : This program provides a GUI interface for compressing text using LZMA2 compression. It displays compression ratios and provides the compressed result with decompression instructions for LLMs.
#!/usr/bin/env python3
"""
LLM context compression GUI
This program provides a GUI interface for compressing text using LZMA2 compression.
It displays compression ratios and provides the compressed result with decompression
instructions for LLMs.
"""
import lzma
import base64
@roflsunriz
roflsunriz / mangaViewer.user.js
Last active May 9, 2025 23:31
mangaViewer : ブック風マンガビューア(nicomanga.com/X.com)
// ==UserScript==
// @name ブック風マンガビューア
// @namespace bookStyleMangaViewer
// @version 5.5
// @description ウェブページの画像を見開き形式で表示するビューア(Xにも対応)
// @author roflsunriz
// @match https://nicomanga.com/read-*
// @match https://twitter.com/*
// @match https://x.com/*
// @grant GM_registerMenuCommand
@roflsunriz
roflsunriz / comment_sender.pyw
Last active May 10, 2025 12:43
comment_sender : ゲーム用コメント送信プログラム(Enter,Ctrl+Vをシミュレートして送信)
import sys
import subprocess
import json
import tkinter as tk
from tkinter import simpledialog
import time
import pkg_resources
import threading
import pyperclip
import os
@roflsunriz
roflsunriz / fanbox_floating_menu.user.js
Last active April 24, 2025 15:15
fanbox_floating_menu : Fanboxのページ移動用フローティングメニューを追加
// ==UserScript==
// @name Fanbox Floating Menu
// @namespace fanboxFloatingMenu
// @version 1.5
// @description Fanboxのページ移動用フローティングメニューを追加
// @author roflsunriz
// @match https://*.fanbox.cc/*
// @grant none
// @updateURL https://gist.githubusercontent.com/roflsunriz/31e3b65acd467e4d852423dc178d3c9b/raw/fanbox_floating_menu.user.js
// @downloadURL https://gist.githubusercontent.com/roflsunriz/31e3b65acd467e4d852423dc178d3c9b/raw/fanbox_floating_menu.user.js
@roflsunriz
roflsunriz / fanbox-pagination-helper.user.js
Last active April 24, 2025 15:18
fanbox-pagination-helper : Fanboxのページネーションを上部に追加
// ==UserScript==
// @name Fanbox Pagination Helper
// @namespace fanboxPaginationHelper
// @version 1.5
// @description Fanboxのページネーションを上部に追加
// @author roflsunriz
// @match https://*.fanbox.cc/*
// @grant GM_addStyle
// @updateURL https://gist.githubusercontent.com/roflsunriz/f89fad6e9923bd678ac92025486d2f2a/raw/fanbox-pagination-helper.user.js
// @downloadURL https://gist.githubusercontent.com/roflsunriz/f89fad6e9923bd678ac92025486d2f2a/raw/fanbox-pagination-helper.user.js