Skip to content

Instantly share code, notes, and snippets.

View cylixlee's full-sized avatar

Cylix Lee cylixlee

  • Nanjing University of Science and Technology
View GitHub Profile
@cylixlee
cylixlee / gitea-actions-compose.yml
Last active October 1, 2025 15:47
Gitea (with Actions) OCI compose
# Gitea (with Actions) OCI compose. This is intended to setup Gitea with its Gitea Actions in OCI containers.
#
# Tested on Podman / Windows (WSL2).
#
# 1. Read https://desktop.podman.org.cn/docs/migrating-from-docker/using-the-docker_host-environment-variable and set
# DOCKER_HOST environment variable.
# 2. Copy this docker-compose.yml into `podman machine`. (because you cannot mount docker socket on Windows)
# 3. Run `podman compose -f gitea-actions-compose.yml up -d gitea-server` to start Gitea server. Get the registration
# token in Web control panel.
# 4. Set environment variable `export REGISTRATION_TOKEN='...'` according to step 3.
@cylixlee
cylixlee / download_vscodium_server.py
Created August 8, 2025 03:17
Download VSCodium Server
import os
import tarfile
import urllib.request
import sys
# -------------------------------
# ✍️ Manually edit this!
# -------------------------------
DISTRO_COMMIT = "058fac1c14663772495b5f27b8772e7612ecc6bc"
VSCODIUM_RELEASE_VERSION = "1.102.35058"