

--- | |
PVE delte local-lvm partition | |
Reference: https://post.smzdm.com/p/awkv4pq4/ | |
lvremove pve/data | |
lvextend -l +100%FREE -r pve/root | |
Datacenter >> remove `local-lvm` partition >> edit `local` >> select all options |
Based on this blogpost.
To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.
Install with Homebrew:
$ brew install gpg
# after the virtual disk has already been expanded (e.g. in proxmox) | |
apk add --no-cache cfdisk e2fsprogs-extra | |
# choose partition then "Resize" > "Write" (to finalize) | |
cfdisk | |
# replace * with partition you are resizing | |
resize2fs /dev/* |
利用 NGINX 的 Stream 模塊 sni_preread 功能,可以做到讓 Trojan 和其他網站在同一台機器上共享 443 端口。
// Run any SwiftUI view as a Mac app. | |
import Cocoa | |
import SwiftUI | |
NSApplication.shared.run { | |
VStack { | |
Text("Hello, World") | |
.padding() | |
.background(Capsule().fill(Color.blue)) |
#!/bin/bash | |
# data: 2020-03-31 | |
# author: muzi502 | |
# for: Fuck GFW and download some raw file form github without proxy using jsDelivr CDN | |
# usage: save the .she to your local such as /usr/bin/rawg, and chmod +x /usr/bin/rawg | |
# use rawg https://github.com/ohmyzsh/ohmyzsh/blob/master/tools/install.sh to download | |
set -xue | |
# GitHub rul: https://github.com/ohmyzsh/ohmyzsh/blob/master/tools/install.sh | |
# jsDelivr url: https://cdn.jsdelivr.net/gh/ohmyzsh/ohmyzsh/tools/install.sh |
0.0.0.0 a.stat.xiaomi.com | |
0.0.0.0 abtest.mistat.intl.xiaomi.com | |
0.0.0.0 abtest.mistat.xiaomi.com | |
0.0.0.0 ad.mi.com | |
0.0.0.0 ad.xiaomi.com | |
0.0.0.0 ad1.xiaomi.com | |
0.0.0.0 adv.sec.miui.com | |
0.0.0.0 api.account.xiaomi.com | |
0.0.0.0 api.ad.xiaomi.com | |
0.0.0.0 api.admob.xiaomi.com |