Skip to content

Instantly share code, notes, and snippets.

View xtexChooser's full-sized avatar

xtex xtexChooser

View GitHub Profile
@xtexChooser
xtexChooser / 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
@xtexChooser
xtexChooser / 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
@xtexChooser
xtexChooser / 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"