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
@CypherpunkSamurai
CypherpunkSamurai / switch_audio_profile.sh
Created September 2, 2025 15:00 — forked from untainsYD/switch_audio_profile.sh
Sony MX5/MX6 audio profile switcher
# Sony MX5 profile switcher with proper profile names
# Features:
# - Automatic notifications when switching profiles
# - Toggle between LDAC and mSBC with visual feedback
# - Shows profile transition (from → to) in notifications
DEVICE_MAC="AC:80:0A:30:3A:DD"
get_card_name() {
pactl list cards short | grep bluez_card.${DEVICE_MAC//:/_} | cut -f2
@CypherpunkSamurai
CypherpunkSamurai / win10colors.cmd
Created September 2, 2025 14:59 — forked from mlocati/win10colors.cmd
ANSI Colors in standard Windows 10 shell
@echo off
setlocal
call :setESC
cls
echo %ESC%[101;93m STYLES %ESC%[0m
echo ^<ESC^>[0m %ESC%[0mReset%ESC%[0m
echo ^<ESC^>[1m %ESC%[1mBold%ESC%[0m
echo ^<ESC^>[4m %ESC%[4mUnderline%ESC%[0m
@CypherpunkSamurai
CypherpunkSamurai / a2dp.py
Created September 2, 2025 14:58 — forked from pylover/a2dp.py
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04, 16.10 and also debian jessie, with bluez5.
#! /usr/bin/env python3
"""Fixing bluetooth stereo headphone/headset problem in debian distros.
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone.
This will be only fixes the bluez5 problem mentioned above .
Licence: Freeware
@CypherpunkSamurai
CypherpunkSamurai / ANSI.md
Created September 2, 2025 14:57 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@CypherpunkSamurai
CypherpunkSamurai / ANSI-color-codes.h
Created September 2, 2025 14:56 — forked from RabaDabaDoba/ANSI-color-codes.h
The entire table of ANSI color codes working in C!
/*
* This is free and unencumbered software released into the public domain.
*
* For more information, please refer to <https://unlicense.org>
*/
//Regular text
#define BLK "\e[0;30m"
#define RED "\e[0;31m"
#define GRN "\e[0;32m"
@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 / 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.
: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.
// ==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