This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [wsl2] | |
| networkingMode=Mirrored |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| pidof fcitx | xargs kill | |
| nohup fcitx 1>/dev/null 2>/dev/null & |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo adb kill-server | |
| sudo adb start-server | |
| sudo adb -d shell sh /data/data/me.piebridge.brevent/brevent.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### 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: |