Skip to content

Instantly share code, notes, and snippets.

View xhmelon's full-sized avatar

XinhuaHamiMelon xhmelon

View GitHub Profile
@xhmelon
xhmelon / apt-bfsu-bullseye.sh
Created July 16, 2023 16:12
These scripts would configure the BFSU APT mirror for Debian 11 Bullseye. You should REVIEW it before using it.
#!/usr/bin/env bash
# ref: https://mirrors.bfsu.edu.cn/help/debian/
# This script would configure the BFSU APT mirror for Debian 11 Bullseye.
# You should REVIEW it before using it.
apt-get install -y apt-transport-https ca-certificates
mv /etc/apt/sources.list /etc/apt/sources.list.backup
# Create a new apt source list
# ref: https://stackoverflow.com/a/51864828
cat > /etc/apt/sources.list <<EOF
deb https://mirrors.bfsu.edu.cn/debian/ bullseye main contrib non-free
@xhmelon
xhmelon / keybase.md
Created June 26, 2016 05:24
keybase authentication

Keybase proof

I hereby claim:

  • I am tyfulcrum on github.
  • I am tyfulcrum (https://keybase.io/tyfulcrum) on keybase.
  • I have a public key ASBiejIpv74J4Gl7x6wuaAJMkoq7_M4kTM2WpQdhx_WnFQo

To claim this, I am signing this object: