Skip to content

Instantly share code, notes, and snippets.

@restot
restot / ccvm.sh
Created January 2, 2026 22:27
Claude Code Version Manager
# Interactive Claude Code Version Manager
# add this to your ~/.zshrc
# dont forget to run `source ~/.zshrc` or open new terminal
# works with brew and npx installations
ccvm() {
local versions_dir="$HOME/.local/share/claude/versions"
local claude_bin="$HOME/.local/bin/claude"
# Check versions directory exists
@restot
restot / gist:9227b6cdc05105109464f5ea6bd756b6
Last active December 31, 2025 12:04
youtube.com clean main page - stylebot config
/**
* YouTube Clean Grid & De-Clutter
* Description: Expands grid to 7 columns, hides Mixes, watched videos,
* shorts, games, surveys, and promotional banners.
*/
/* Grid Layout: Expand to 7 items per row */
ytd-rich-grid-renderer {
--ytd-rich-grid-items-per-row: 7 !important;
}
@restot
restot / MS-Teams-tweak-guide.md
Last active November 27, 2020 17:25
MS Teams left rail width tweak
#include <ArduinoJson.h>
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println("Hello");
// {"led0":[10,20,30],"led1":[50,20,40]} // example string
}
void loop() {