https://github.com/Tencent/lemon-cleaner
CODE_SIGN_IDENTITY = "Developer ID Application: Tencent Technology (Shenzhen) Company Limited (88L2Q4487U)";
# CODE_SIGN_IDENTITY = "";
# sudo xcode-select -r
xcodebuild \
| while true; do cat /proc/interrupts | grep 'CPU\|eth'; sleep 1; clear; done |
| curl 'http://dns.weixin.qq.com/cgi-bin/micromsg-bin/newgetdns' \ | |
| -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/jxl,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \ | |
| -H 'Accept-Language: en-US,en;q=0.9' \ | |
| -H 'Cache-Control: no-cache' \ | |
| -H 'Connection: keep-alive' \ | |
| -H 'Cookie: pgv_pvid=3065483806' \ | |
| -H 'DNT: 1' \ | |
| -H 'Pragma: no-cache' \ | |
| -H 'Upgrade-Insecure-Requests: 1' \ | |
| -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36' \ |
| @@||00.xxtor.com^ | |
| @@||0205.uptm.ch^ | |
| @@||1337.abcvg.info^ | |
| @@||147job.com^ | |
| @@||337hhh.tpddns.cn^ | |
| @@||504e163a.host.njalla.net^ | |
| @@||all4nothin.net^ | |
| @@||appmeter.ru^ | |
| @@||beertracker.ml^ | |
| @@||bt.endpot.com^ |
https://github.com/Tencent/lemon-cleaner
CODE_SIGN_IDENTITY = "Developer ID Application: Tencent Technology (Shenzhen) Company Limited (88L2Q4487U)";
# CODE_SIGN_IDENTITY = "";
# sudo xcode-select -r
xcodebuild \
| display_current_dir() { | |
| if [ -d .git ]; then | |
| tip=$(git rev-parse --abbrev-ref HEAD) | |
| else | |
| tip=$(pwd) | |
| fi | |
| printf "\e]1337;SetBadgeFormat=%s\a" $(echo -ne "${tip##*/}\007" | base64) | |
| } | |
| precmd() {display_current_dir} |
| #!/bin/sh | |
| get_device_irq() { | |
| local device="$1" | |
| local line=$(grep -m 1 "${device}\$" /proc/interrupts) | |
| echo ${line} | sed 's/:.*//' | |
| } | |
| set_interface_core() { |
| #!/bin/sh | |
| # https://ixnfo.com/en/configuring-rps-receive-packet-steering.html | |
| # https://bitsum.com/tools/cpu-affinity-calculator/ | |
| get_device_irq() { | |
| local device="$1" | |
| local line=$(grep -m 1 "${device}\$" /proc/interrupts) | |
| echo ${line} | sed 's/:.*//' | |
| } |
| ! 2022-04-10 https://www.zhihu.com | |
| www.zhihu.com##.ZVideoItem | |
| www.zhihu.com##[class="ZVideoItem-video"] | |
| www.zhihu.com##[class="VideoAnswerPlayer"] | |
| www.zhihu.com##[class="RichText-ZVideoLinkCardContainer"] | |
| www.zhihu.com##div.RichText-MCNLinkCardContainer | |
| www.zhihu.com##div.RichText-LinkCardContainer | |
| www.zhihu.com##div.VideoAnswerPlayer | |
| www.zhihu.com##div.css-n608gg | |
| www.zhihu.com##div.List-item:has(.KfeCollection-PurchaseBtn) |
| dpkg-deb -xv pve-headers-5.15.35-1-pve_5.15.35-2_amd64.deb /tmp | |
| KVER = 5.15.35-1-pve | |
| KERNELDIR=/tmp/usr/src/linux-headers-$(KVER) | |
| insmod /lib/modules/$(KVER)/kernel/drivers/net/ethernet/realtek/r8125.ko | |
| modprobe -r r8125 |
| ## OpenWrt Firmwares | |
| https://downloads.openwrt.org/releases/ | |
| ## Module Specs | |
| - kmod-r8125 is for **RTL8125 / RTL8125B(S)(G) 2.5Gb** NICs | |
| - kmod-r8152 is for **RTL8156 / RTL8156B(S)(G) 2.5Gb USB** NICs | |
| - kmod-igb is for **intel** NICs |