Skip to content

Instantly share code, notes, and snippets.

View CypherpunkSamurai's full-sized avatar
😶
Currently Busy 🌻🐢

Cypherpunk Samurai CypherpunkSamurai

😶
Currently Busy 🌻🐢
View GitHub Profile
#!/usr/bin/env python3
"""
A basic shell with TUI using only Python standard libraries.
Works cross-platform (Windows, Linux, macOS).
"""
import os
import sys
import subprocess
@CypherpunkSamurai
CypherpunkSamurai / How to Install VSCode Extensions to .vscode Worspace Folder.md
Created August 25, 2025 18:12
How to Install VSCode Extensions to .vscode Worspace Folder

How to Install VSCode Extensions to .vscode Worspace Folder

I often switch workspaces and installing extensions globally takes around a lot of space. I want to keep an extension to a workspace and never have to deal with the extension load later on.

Installing Extension Manually to Workspace

  1. Open Your User Settings JSON and set extensions.experimental.supportWorkspaceExtensions to true.
  2. Search for the Extension on Marketplace, or use VSIX Downloader
  3. Get the VSIX file for the Extension
@CypherpunkSamurai
CypherpunkSamurai / config.json
Created August 25, 2025 12:40 — forked from SaseQ/config.json
Atlassian Rovo Dev CLI transformer for Claude Code Router
{
"transformers": [
{
"path": "$HOME/.claude-code-router/plugins/rovo-cli.js",
"options": {
"email": "ROVO_DEV_EMAIL",
"api_token": "ROVO_DEV_API_TOKEN"
}
}
],
@CypherpunkSamurai
CypherpunkSamurai / KVM_in_WSL2.md
Created August 24, 2025 17:13 — forked from startergo/KVM_in_WSL2.md
KVM on WSL2 Windows 11
  • In WSL2 run:
sudo apt update
sudo apt install qemu qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils cpu-checker \
network-manager iptables-persistent linux-headers-generic \
qemu uml-utilities virt-manager git \
wget libguestfs-tools p7zip-full make dmg2img tesseract-ocr \
tesseract-ocr-eng genisoimage vim net-tools screen firewalld libncurses-dev -y
sudo apt install virt-manager
sudo addgroup kvm
@CypherpunkSamurai
CypherpunkSamurai / Using Claude Code with Gemini 2.5 Pro using Claued Coder Router (ccr).md
Last active August 24, 2025 03:27
Using Claude Code with Gemini 2.5 Pro using Claude Code Router (ccr)

Using Claude Code with Gemini 2.5 Pro using Claude Code Router (ccr)

Install Claude Code

pnpm install -g @anthropic-ai/claude-code
pnpm install -g @musistudio/claude-code-router

Edit ~/.claude-code-router/config.json

@CypherpunkSamurai
CypherpunkSamurai / claude-code-prompt.txt
Created August 22, 2025 21:33 — forked from agokrani/claude-code-prompt.txt
Claude Code System Prompt
'system':
[
{
'type': 'text',
'text': "You are Claude Code, Anthropic's official CLI for Claude.",
'cache_control': {'type': 'ephemeral'}
},
{
'type': 'text',
'text': 'You are an interactive CLI tool that helps users with software engineering tasks.
@CypherpunkSamurai
CypherpunkSamurai / install_all_nerdfonts.ps1
Created August 16, 2025 15:36
Install all Nerd Fonts
& ([scriptblock]::Create((iwr 'https://to.loredo.me/Install-NerdFont.ps1')))
:Init
@echo off
set OUTPUT=%1
set MODELPATH=%2
set OUTPUTPATH=%3
if not exist %OUTPUTPATH% mkdir %OUTPUTPATH%
goto Install
:Install
:: Will ensure pytorch is installed.
@CypherpunkSamurai
CypherpunkSamurai / VSCode Potable Windows.ps1
Created August 11, 2025 15:24
VSCode Potable Windows
#Requires -Version 5.1
param(
[switch]$Cleanup,
[string]$DataPath = ".\data",
[string]$LogLevel = "info",
[switch]$DisableLog
)
$DataDir = [System.IO.Path]::GetFullPath((Join-Path $PSScriptRoot $DataPath))
// ==UserScript==
// @name Chub Desloppifier
// @namespace Violentmonkey Scripts
// @match https://*.chub.ai/*
// @match https://*.characterhub.org/*
// @version 1.7
// @author khanonnie
// @description Tries to clean up the flood of shit cards on chub.ai.
// @require https://openuserjs.org/src/libs/sizzle/GM_config.js
// @homepageURL https://gist.github.com/khanonnie/b357f20bfe4e920d8e05fd47f1e6fa75