Skip to content

Instantly share code, notes, and snippets.

View SiqingYu's full-sized avatar

Ssuching Yu SiqingYu

  • China
View GitHub Profile
@SiqingYu
SiqingYu / .bash_profile
Last active July 8, 2026 03:02
Git Bash for Windows configuration
# Clash Proxy
export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890
# Git shortcuts
alias git-log='git log --oneline --decorate --graph --all'
alias git-sum='git log --pretty=format:"%h - %ad | %s [%an]" --date=short --stat'
# Bash shortcuts
alias ll='ls -lah'
@SiqingYu
SiqingYu / .wslconfig
Last active July 7, 2026 03:17
WSL global settings
[wsl2]
networkingMode=Mirrored
@SiqingYu
SiqingYu / yt_playlist_titles.js
Last active July 7, 2026 03:40
A dumb browser console script to copy YouTube playlist video titles in Markdown format
var items = document.querySelectorAll('a#video-title');
var outputs = new String();
items.forEach(element => {
var title = element.innerText;
var href = element.href;
var o = '[' + title + '](' + href + ')\n';
outputs += o;
});
console.log(outputs);
@SiqingYu
SiqingYu / .vimrc
Last active July 8, 2026 07:24
Vim configuration
" Turn on line numbering
set number
" This will set your path variable to current directory (from which you launched vim) and to all directories under current directory recursively.
set path=$PWD/**
" Highlight all search pattern matches
set hlsearch
" control the number of space characters that will be inserted when the tab key is pressed (default 8)
@SiqingYu
SiqingYu / fcitx.sh
Last active July 7, 2026 03:39
Commands fixing Fcitx input crashing problem on Linux
#!/bin/sh
pidof fcitx | xargs kill
nohup fcitx 1>/dev/null 2>/dev/null &
@SiqingYu
SiqingYu / brevent.sh
Last active July 7, 2026 03:41
Commands fixing Android Brevent crashing problem
#!/bin/bash
sudo adb kill-server
sudo adb start-server
sudo adb -d shell sh /data/data/me.piebridge.brevent/brevent.sh
### Keybase proof
I hereby claim:
* I am siqingyu on github.
* I am siqingyu (https://keybase.io/siqingyu) on keybase.
* I have a public key ASAjB9XkM-Ee_leteFjmHCxOnfNKwFSxhDkhhDgldfbGwAo
To claim this, I am signing this object: