Skip to content

Instantly share code, notes, and snippets.

View fengqi-dev's full-sized avatar
🤔

FengQi Wang fengqi-dev

🤔
View GitHub Profile
@fengqi-dev
fengqi-dev / vscode.sh
Created December 29, 2025 03:18
Download lastest remote vscode server and install extensions
#!/usr/bin/env bash
set -e
cd $HOME
echo "==> 安装基础依赖"
apt-get update -y
apt-get install -y curl tar jq
echo "==> 获取最新的 VS Code Server 版本号"
COMMIT=$(curl -s -L \
@fengqi-dev
fengqi-dev / jsonrpc.py
Created July 10, 2025 13:50 — forked from gregorynicholas/jsonrpc.py
jsonrpc / python
#!/usr/bin/env python
# -*- coding: ascii -*-
#: see: https://github.com/dasmith/stanford-corenlp-python/blob/master/jsonrpc.py
"""
JSON-RPC (remote procedure call).
It consists of 3 (independent) parts:
- proxy/dispatcher
- data structure / serializer
- transport