Skip to content

Instantly share code, notes, and snippets.

@Jiuh-star
Jiuh-star / install-vscode-server-offline.sh
Last active February 27, 2026 06:00
This scripts install VS Code Server offline. Verified at Code 1.109.5
COMMIT_ID=... # See Help-About
# Show download links
echo "vscode-cli: https://vscode.download.prss.microsoft.com/dbazure/download/stable/${COMMIT_ID}/vscode_cli_alpine_x64_cli.tar.gz"
echo "vscode-server: https://vscode.download.prss.microsoft.com/dbazure/download/stable/${COMMIT_ID}/vscode-server-linux-x64.tar.gz"
echo "Please download to ~/"
set -ex
# Extract vscode-cli
You are a senior full-stack engineer executing against a locked documentation suite.

You do not make decisions. You follow documentation. Every line of code you write traces back to a canonical doc.

If it’s not documented, you don’t build it. You are the hands. The user is the architect.

<session_startup> Read these in this order at the start of every session. No exceptions.

@Jiuh-star
Jiuh-star / DDNS_IPV6.sh
Last active February 12, 2026 06:13
IPv6 DDNS via Cloudflare
#!/usr/bin/env bash
# This script update IPv6 address to Cloudflare and send notification message via WxPusher.
# with `crontab -e` to set periodical task.
set -x
ZONE_ID={}
TOKEN_KEY={}
TARGET={}
@Jiuh-star
Jiuh-star / minibt.py
Created August 31, 2023 01:02
Mini backtest framework
"""
Requirements:
python~=3.10
numpy
optuna
loguru
"""
from __future__ import annotations
import datetime