Skip to content

Instantly share code, notes, and snippets.

View VictorXLR's full-sized avatar
🏠
Working from home

Victor Popoola VictorXLR

🏠
Working from home
View GitHub Profile
import struct
import zmq
context = zmq.Context()
socket = context.socket(zmq.SUB)
# IMU uses 5556, point cloud uses 5555
socket.connect("tcp://192.168.1.249:5556")
socket.setsockopt(zmq.SUBSCRIBE, b"")
@VictorXLR
VictorXLR / steam-icon-fix.sh
Created December 31, 2025 08:37
Steam Desktop Shortcut Icon Fixer for macOS - fetches proper game artwork from Steam and applies it to .app shortcuts
#!/bin/bash
# Steam Desktop Shortcut Icon Fixer for macOS
# Fetches proper game artwork from Steam and applies it to .app shortcuts
# Usage: ./steam-icon-fix.sh [game_name] [steam_app_id]
# ./steam-icon-fix.sh --all (fixes known games)
set -e
DESKTOP="$HOME/Desktop"
TEMP_DIR=$(mktemp -d)
@VictorXLR
VictorXLR / run-local-model.sh
Created April 27, 2026 05:12
Claude with Qwen3.6-A3B
#!/usr/bin/env bash
# Run Claude Code against a local llama-server.
#
# Assumes you've already started llama-server yourself on $PORT (default 8080).
# llama.cpp's /v1/messages endpoint speaks the Anthropic Messages API directly,
# so Claude Code can talk to it with no proxy. (Added in llama.cpp PR #17570.)
#
# Usage:
# ./run-claude-local.sh # connect to 127.0.0.1:8080
# PORT=9090 ./run-claude-local.sh # different port