Skip to content

Instantly share code, notes, and snippets.

View xtexx's full-sized avatar

xtex xtexx

View GitHub Profile
@xtexx
xtexx / 0001-AOSCOS-Replace-setuptools.easy_install-usages.patch
Last active May 4, 2025 09:28
Tentative fix for pbr + setuptools 80.3.0
From 4dcf7ef954eddc0584a8abe8b71f6b432bb74583 Mon Sep 17 00:00:00 2001
From: xtex <[email protected]>
Date: Sun, 4 May 2025 17:23:33 +0800
Subject: [PATCH] AOSCOS: Replace setuptools.easy_install usages
X-Developer-Signature: v=1; a=openpgp-sha256; l=4166; [email protected];
h=from:subject; bh=jCM4ZlNLWIP77wQ7vAuZFBeEj0UvNqtzSIJ9PSgRBJ0=;
b=owGbwMvMwCW2U4Ij7wZL9ETG02pJDBnixjoTzvxdGxl38pUVR9NmGctdxlG6oev2ylwL4mH/t
8Iy7Ut7RykLgxgXg6yYIkuRYYM3q046v+iyclmYOaxMIEMYuDgFYCKXOhj+mU4UmaGT77zYxrbQ
1WR3rUNxSfxFnwXZF7xEhXRvq5XPYWS47Hx2s/Tua3O+RM9rO/nr1H2BNZM/CmQ+i5qlYbr8kGc
mAwA=
@xtexx
xtexx / acbs.diff
Last active May 10, 2025 03:04
AOSC 2025 Python Survey
diff --git a/acbs/base.py b/acbs/base.py
index fef5b4981ae3..8eb1e1837d02 100644
--- a/acbs/base.py
+++ b/acbs/base.py
@@ -47,15 +47,20 @@ class ACBSPackageInfo(object):
# extra exported variables from spec
self.exported: Dict[str, str] = {}
# modifiers to be applied to the source file/folder (only available in autobuild4)
- self.modifiers: str = ''
+ self.modifiers: str = ""
@xtexx
xtexx / 0002-FROM-AOSC-Use-linux-aperture.c-for-removing-conflict.patch
Last active December 7, 2024 23:18
nvidia-drm 565.77 fix for Linux kernel 6.13-rc1
From 8113cd50461f05da52b66934237415dd303ec55c Mon Sep 17 00:00:00 2001
From: Bingwu Zhang <[email protected]>
Date: Sat, 7 Dec 2024 23:01:26 +0800
Subject: [PATCH 2/3] FROM AOSC: Use linux/aperture.c for removing conflicting
PCI devices on Linux 6.13.0-rc1+
X-Developer-Signature: v=1; a=openpgp-sha256; l=6111; [email protected];
h=from:subject; bh=hS408kVBp8zz0JO5do1a5Ut1vawCN67uYWAOfNTDy/w=;
b=owGbwMvMwCW2U4Ij7wZL9ETG02pJDOkhRf8j7mS/f32ZLdl9b2TWxCs3m5lyr+aoKs8zKJFn7
/OcNSmho5SFQYyLQVZMkaXIsMGbVSedX3RZuSzMHFYmkCEMXJwCMBHD1YwMhyfeyKryPeXAv2pm
q5nasVPaO/YZnf4Q8X6PiPPvW3+PcDIy3HF1/3BpUxDXm5sWDPxPGJp/l2X9OHr21zPZv7ZrCmd
@xtexx
xtexx / bird2.sh
Created December 27, 2022 01:55
Latest BIRD2 for Debian
wget -qO- https://build.opensuse.org/projects/home:linuxgemini:bird-latest-debian/public_key | sudo gpg --dearmor -o /etc/apt/keyrings/obs-home-linuxgemini-bird-latest-debian.gpg
su -c "echo \"deb [signed-by=/etc/apt/keyrings/obs-home-linuxgemini-bird-latest-debian.gpg] https://download.opensuse.org/repositories/home:/linuxgemini:/bird-latest-debian/Debian_Unstable/ ./\" > /etc/apt/sources.list.d/obs-home-linuxgemini-bird-latest-debian.list"
sudo apt update
sudo apt install bird2
@xtexx
xtexx / Json.kt
Last active May 5, 2023 16:37
JSON type for JetBrains/Exposed
/**
* JSON and JSONB support for github.com/JetBrains/Exposed.
*
* Tested with
* - github.com/pgjdbc/pgjdbc 42.2.x
* - github.com/mysql/mysql-connector-j
* - github.com/h2database/h2database
*
* Based on gist.github.com/qoomon/70bbbedc134fd2a149f1f2450667dc9d
* Thanks for everyone in github.com/JetBrains/Exposed#127
@xtexx
xtexx / msyshere.reg
Created September 19, 2021 12:14
MSYS Here
### How to Use
### 1. download this registry file and remove these comments
### 2. change D:\\msys64\\ to your MSYS installtation path
### 3. edit msys2.ini mingw64.ini mingw32.ini ucrt64.ini clang64.ini under your MSYS installtation path
### un-comment CHERE_INVOKING(edit line #CHERE_INVOKING=1 to CHERE_INVOKING=1)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\openmsys]
@="打开 MSYS2"