This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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"") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
OlderNewer