Skip to content

Instantly share code, notes, and snippets.

View msdx321's full-sized avatar

Bite Ye msdx321

  • MPI-SWS
  • Kaiserslautern
  • 21:31 (UTC +01:00)
View GitHub Profile
@msdx321
msdx321 / Brewfile
Last active January 4, 2025 00:30
Package Manager Bundle
tap "homebrew/bundle"
tap "homebrew/services"
tap "homerours/tap"
tap "wyne/tap"
brew "btop"
brew "chezmoi"
brew "coreutils"
brew "duti"
brew "eza"
brew "fd"
@msdx321
msdx321 / proxy.conf
Last active January 28, 2025 02:33
mpg internal domain
.mpg-gv.mpg.de
.sap.mpg.de
lime.mpi-sws.org
@msdx321
msdx321 / gist:cd4ad5c9efa434d69e12fb93b75c3871
Created December 8, 2024 05:24
memtest pro grub probe
#!/usr/bin/env bash
########################################################
# This script generates a memtest86+ entry on grub.cfg #
# if memtest is installed on the system. #
########################################################
prefix="/usr"
exec_prefix="${prefix}"
datarootdir="/usr/share"
@msdx321
msdx321 / manga.yaml
Created July 17, 2023 02:18
Clash Manga
payload:
- DOMAIN,mangaapi.manhuaren.com
@msdx321
msdx321 / wsl2-ssh-pageant.zsh
Last active October 22, 2022 08:27
wsl2-ssh-pageant
export GPG_TTY=$TTY
wsl2_ssh_pageant_bin="$HOME/.ssh/wsl2-ssh-pageant.exe"
config_path="C\:/Users/msdx321/AppData/Local/gnupg"
function _gpg-agent_kill {
gpgconf --kill gpg-agent 2>/dev/null
}
autoload -U add-zsh-hook
add-zsh-hook preexec _gpg-agent_kill
@msdx321
msdx321 / .tmux.conf
Last active July 29, 2022 19:29
Linux Config
# Change prefix key
#set -g prefix C-a
#unbind C-b
#bind C-a send-prefix
# Enable mouse
set -g mouse "on"
# Set index
set -g base-index 1