Skip to content

Instantly share code, notes, and snippets.

View LeslieLeung's full-sized avatar

Leslie Leung LeslieLeung

View GitHub Profile
@LeslieLeung
LeslieLeung / claude.zsh
Last active December 15, 2025 06:40
A sleek script to switch between Claude Code providers.
function claude() {
# 默认渠道配置
local default_provider=""
# 定义不同服务的配置
local base_url=""
local auth_token=""
local api_key=""
local model=""
local small_fast_model=""
@LeslieLeung
LeslieLeung / settings.json
Created April 17, 2024 03:10
My vscode theme setup
{
"apc.electron": {
"backgroundColor": "#00000000",
"titleBarStyle": "hidden",
"vibrancy": "sidebar",
"visualEffectState": "followWindow",
"trafficLightPosition": {
"x": 9,
"y": 9
}
@LeslieLeung
LeslieLeung / excel.go
Created March 7, 2024 08:00
A Excel wrapper for go
package excel
import (
"errors"
"github.com/xuri/excelize/v2"
"reflect"
)
type Row []any