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
| # tested on Ubuntu-24.04 | |
| apt update | |
| apt-get install dkms git gcc make linuxptp chrony -y | |
| git clone https://github.com/amzn/amzn-drivers.git | |
| mv amzn-drivers /usr/src/amzn-drivers-1.0.0 | |
| cat > /usr/src/amzn-drivers-1.0.0/dkms.conf <<EOF | |
| PACKAGE_NAME="ena" | |
| PACKAGE_VERSION="1.0.0" | |
| CLEAN="make -C kernel/linux/ena clean" | |
| MAKE="ENA_PHC_INCLUDE=1 make -C kernel/linux/ena/ BUILD_KERNEL=\${kernelver}" |
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
| from mitmproxy import ctx | |
| from mitmproxy.proxy.server_hooks import ServerConnectionHookData | |
| ''' | |
| 使用 mitmproxy -s main.py 启动代理 | |
| 然后再mitm.it安装证书 | |
| ''' | |
| class Danbooru: |
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
| /* | |
| 到数据查看界面选择好要查看的数据和时间 | |
| 按下f12粘贴下面的代码然后回车 | |
| 点击查询即可自动下载数据为csv格式 | |
| */ | |
| (function() { | |
| function ajaxEventTrigger(event) { | |
| var ajaxEvent = new CustomEvent(event, { detail: this }); | |
| window.dispatchEvent(ajaxEvent); | |
| } |