Skip to content

Instantly share code, notes, and snippets.

View nine1one's full-sized avatar
:electron:
BoundByBinariesBeyondBenchmarks

иiɴᴇ[ᴏɴᴇ]ᴏɴᴇ nine1one

:electron:
BoundByBinariesBeyondBenchmarks
View GitHub Profile
@nine1one
nine1one / DynamicWallpapers-XFCE.md
Created January 23, 2026 09:41
A simple, reliable Bash script that gives you time-of-day dynamic wallpapers on XFCE.

🖼️ XFCE Dynamic Wallpaper Script (Time-Based)

📁 Example wallpaper layout

~/Pictures/wallpapers/
├── night.jpg
├── morning.jpg
├── noon.jpg
└── evening.jpg
@nine1one
nine1one / civitai-model-metadata-downloader.js
Created January 21, 2026 17:58
A bookmarklet to extract model descriptions and technical metadata tables from Civitai model pages into a sanitized .txt file named after the page title.
/*
```markdown
README.md
Civitai Metadata Extractor Bookmarklet
This bookmarklet allows you to quickly download model information (description and technical details) from model pages using the Mantine UI framework (commonly used on sites like Civitai). It generates a .txt file named after the model's page title.
How it Works
The script targets specific DOM elements within the page structure to gather data:
1. Filename Generation (document.title)
The script retrieves the current browser tab title via document.title. It then applies a regex filter—/[\\/:"*?<>|]/g—to remove characters that are illegal in Windows or macOS filenames, ensuring the download trigger doesn't fail.
@nine1one
nine1one / URLs
Last active October 28, 2025 18:36
Important Sites
https://mirror.sjtu.edu.cn/pytorch-wheels/cu118/?mirror_intel_list
```
fbgemm_gpu-0.5.0+cu118-cp310-cp310-manylinux2014_x86_64.whl 2023-10-05T00:55:30.876Z 227004030
fbgemm_gpu-0.5.0+cu118-cp311-cp311-manylinux2014_x86_64.whl 2023-10-05T00:55:29.883Z 227001247
fbgemm_gpu-0.5.0+cu118-cp38-cp38-manylinux2014_x86_64.whl 2023-10-05T00:55:22.887Z 227004325
fbgemm_gpu-0.5.0+cu118-cp39-cp39-manylinux2014_x86_64.whl 2023-10-05T00:55:27.697Z 227004913
fbgemm_gpu-0.6.0+cu118-cp310-cp310-manylinux2014_x86_64.whl 2024-01-29T23:52:47.306Z 231157407
fbgemm_gpu-0.6.0+cu118-cp311-cp311-manylinux2014_x86_64.whl 2024-01-29T23:47:55.818Z 231158334
@nine1one
nine1one / ContextMenuCustomizations.reg
Last active October 25, 2025 00:57
My Context Menu Customizations for Windows11
Windows Registry Editor Version 5.00
; ==========================================================
; === CLEANUP: Remove old Sublime Text and Take Ownership entries ===
; ==========================================================
[-HKEY_CLASSES_ROOT\Directory\background\shell\Open with &SublimeText]
[-HKEY_CURRENT_USER\Software\Classes\*\shell\Open with &Sublime]
[-HKEY_CURRENT_USER\Software\Classes\Directory\shell\Open with &Sublime]
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\Open with &Sublime]
[-HKEY_CURRENT_USER\Software\Classes\Applications\sublime_text.exe\shell\open]
@nine1one
nine1one / sort-repo.bat
Created September 26, 2025 04:16
A Windows batch script that will crawl through each subdirectory in the current directory, check if it contains a .git folder, and then move the entire repository to %userprofile%\.github. It will create %userprofile%\.github if it doesn’t exist.
@echo off
setlocal enabledelayedexpansion
rem Set the source directory to %userprofile%
set "SOURCE=%userprofile%"
rem Set the target directory to %userprofile%\.github
set "TARGET=%userprofile%\.github"
rem Create the .github directory if it doesn't exist
if not exist "%TARGET%" mkdir "%TARGET%"
@nine1one
nine1one / locally.md
Last active January 5, 2026 08:17
# (NOT YET TESTED COMPLETELY) Run local AI models on your Samsung Galaxy Note 20 Ultra 5G with Snapdragon 865+ (Adreno 650 GPU) via Termux.

ivonblog.com/en-us/posts...

Run local AI models on your Samsung Galaxy Note 20 Ultra 5G with Snapdragon 865+ (Adreno 650 GPU) via Termux.


1. Install Termux and Termux:API

Install Termux from F-Droid or GitHub.([Davide Fornelli][1])

@nine1one
nine1one / Oh-My-Posh-Experience.md
Last active February 28, 2026 15:51
A step-by-step guide that you can use to set up **Oh-My-Posh** in PowerShell, including autocompletion, theme installation, and a custom interactive alias to list and choose a theme.

PowerShell Setup for Oh-My-Posh with Autocompletion, History, and Theme Selector

1. Install Oh-My-Posh Module

To install Oh-My-Posh for PowerShell, run the following command:

Install-Module oh-my-posh -Scope CurrentUser -Force -SkipPublisherCheck
@nine1one
nine1one / claude-ai-prompt.md
Last active June 14, 2025 07:52
A prompt that tries to get the work done

Complete Project Continuation Prompt Template

System Prompt (Define Claude’s Behavior)

You are a senior full-stack developer specializing in cross-platform development. You work with a self-taught developer who has the following setup:

**Development Environment:**
- Primary: Windows 11 PC (32GB RAM, RTX 3600 GPU)
- Secondary: iPad Mini Gen6, Android Note20 Ultra 5G, iPhone SE
javascript:(function()%7B const articles = document.querySelectorAll('article%5Bdata-testid%5E="conversation-turn"%5D'); if (!articles.length) %7B alert('No chat content found!'); return; %7D let chatContent = Array.from(articles).map(article => article.innerText).join('%5Cn%5Cn'); const blob = new Blob(%5BchatContent%5D, %7B type: 'text/plain' %7D); const a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = 'chat_conversation.txt'; document.body.appendChild(a); a.click(); document.body.removeChild(a); %7D)();