Skip to content

Instantly share code, notes, and snippets.

View ITJesse's full-sized avatar
🦊

Jesse Zhu ITJesse

🦊
View GitHub Profile
@ITJesse
ITJesse / Arch Linux on Encrypted BTRFS Raid.md
Last active February 20, 2025 19:57 — forked from redeemed2011/Arch Linux on Encrypted BTRFS Raid.md
Arch Linux LUKS Encrypted / on Btrfs Raid 0 (Stripe) of 2 Drives

General

Info

!ATTENTION! This script is intentionally designed to completely wipe all data on at least two drives! !ATTENTION!

I used standard Arch Linux on two NVME drives. The goal was as much encryption as possible with the smallest performance impact possible.

@ITJesse
ITJesse / ArchLinux_ZFS_LUKS_Setup.sh
Last active February 20, 2025 18:21 — forked from xunil154/ArchLinux_ZFS_LUKS_Setup.sh
ArchLinux install script with ZFS as the root, all sitting on LUKS encryption, using systemd-boot for UEFI (ArchLinux with ZFS Root on LUKS with UEFI)
#!/bin/sh
SWAPSIZE=3 # IN GB
SYSTEM_NAME=aerozine # Hostname and used in ZFS structure (zroot/sys/${SYSTEM_NAME}/ROOT/default)
USER=xunil # Initial admin user for the system
# Archlinux on ZFS Root on LUKS setup script (v1.0)
#
# USAGE: ./ArchLinux_ZFS_LUKS_Setup.sh /dev/sda
#
@ITJesse
ITJesse / 漫读券.js
Last active November 14, 2022 17:38 — forked from xmdhs/漫读券.js
批量使用漫读券
(async () => {
let u = new URL(location.href);
let mc = u.pathname.match(/detail\/mc(\d+)/);
if (mc.length != 2) {
return
}
let mcid = mc[1];
let r = await fetch("https://manga.bilibili.com/twirp/comic.v1.Comic/ComicDetail?device=pc&platform=web", {
"headers": {
@ITJesse
ITJesse / surge.conf
Last active October 17, 2015 03:23 — forked from soffchen/surge.conf
surge.conf
[General]
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, localhost, *.local
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
dns-server = 119.29.29.29, 223.5.5.5, 114.114.114.114
loglevel = notify
[Proxy]
Proxy = custom, server, port, rc4-md5, password, http://portal.itjesse.cn/SSEncrypt.module
[Rule]