Skip to content

Instantly share code, notes, and snippets.

View bs10081's full-sized avatar

Reg Chien bs10081

View GitHub Profile
@bs10081
bs10081 / .vimrc
Created April 28, 2020 07:21
VIM配置文檔
set clipboard=unnamedplset number
syntax on
set tabstop=2 " The width of a TAB is set to 4.
set shiftwidth=2 " Indents will have a width of 4.
set softtabstop=2 " Sets the number of columns for a TAB.
set expandtab " Expand TABs to spaces.
set ai
set clipboard=unnamedplus
@bs10081
bs10081 / afp.conf
Created April 13, 2021 13:56
配置TimeCapsule
[Global]
mimic model = TimeCapsule6,106
[Time Machine]
path = /mnt/TimeCapsule
time machine = yes
@bs10081
bs10081 / luna_pinyin.emoji.dict.yaml
Created March 13, 2023 02:03 — forked from lembacon/luna_pinyin.emoji.dict.yaml
Pinyin-Emoji Dictionary for Squirrel
# Rime dictionary
# encoding: utf-8
---
name: luna_pinyin.emoji
version: "2017.02.10"
sort: by_weight
use_preset_vocabulary: true
...
@bs10081
bs10081 / start_vllm_gpt-oss-20b.sh
Last active August 7, 2025 14:27
一鍵檢查、建構環境與啟動 vLLM(openai/gpt-oss-20b)
#!/usr/bin/env bash
# start_vllm_gpt-oss-20b.sh
# 一鍵檢查、建構環境與啟動 vLLM(openai/gpt-oss-20b)。
# 需求:Ubuntu 24.04、CUDA 12.6、NVIDIA Driver、Python 3.10+
# 會自動:
# - 檢查/安裝缺的系統開發套件(含 math.h)
# - 檢查/安裝 Python 3.12(若不存在)
# - 安裝 uv(若不存在,使用 pip)
# - 創建虛擬環境(若不存在,使用 uv venv)
# - 安裝 vLLM 及其依賴(特定版本與 index-url)