Skip to content

Instantly share code, notes, and snippets.

View edwrdc's full-sized avatar

Edward Chan edwrdc

View GitHub Profile
@edwrdc
edwrdc / SKILL.md
Created February 16, 2026 08:46
ref-tools SKILL.md
name ref-api
description Search documentation and read URLs via Ref's REST API with automatic session tracking for optimized multi-step searches. Use when you need to search technical docs or fetch URL content. Sessions are auto-managed - subsequent calls automatically reuse the same session to avoid duplicate results.

Ref API Skill

Direct API access to Ref's documentation search and URL reading tools. More context-efficient than MCP protocol for documentation workflows.

Session Handling (Automatic)

@edwrdc
edwrdc / netshare.sh
Created February 4, 2026 12:41
bypass hotspot via netshare in linux.
#!/bin/bash
set -e
PROXY_IP="192.168.49.1"
PROXY_PORT="8282"
TUN_IP="192.168.1.1"
# Check root
if [ "$EUID" -ne 0 ]; then
echo "Please run as root: sudo $0"
@edwrdc
edwrdc / ppds-2.ipynb
Created June 28, 2023 17:48
PPDS 2.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.