1 开启打印服务20元左右买一个带USB接口的路由器,刷好带usb打印服务器的openwrt固件,使USB连接到打印器。连接好后,在”检测到的
1 添加软件源找到这个列表 https://github.com/kenzok8/openwrt-packages 执行 1 2 3 4 5 6 sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default git pull ./scripts/feeds update -a ./scripts/feeds install -a make menuconfig 选择luci-app-v2raya,然后编译即可。
1 添加软件源找到这个列表 https://github.com/kenzok8/openwrt-packages 执行 1 2 3 4 5 6 sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default git pull ./scripts/feeds update -a ./scripts/feeds install -a make menuconfig 2 配置菜单选择luci->applicati
1 alist https://github.com/sbwml/luci-app-alist 1 2 3 git clone https://github.com/sbwml/luci-app-alist package/alist make menuconfig # choose LUCI -> Applications -> luci-app-alist make package/alist/luci-app-alist/compile V=s # build luci-app-alist 编译完成后,bin/packages/x86_64/base中找到 1 2 root@tignioj:~/mybuild/openwrt/bin/packages/x86_64/base# ls *alist* alist_3.30.0-2_x86_64.ipk luci-app-alist_1.0.11_all.ipk luci-i18n-alist-zh-cn_git-23.223.34172-ff70952_all.ipk 复制到o
1 准备docker镜像 1 mkdir my-openwrt && cd my-openwrt 复制编译好的openwrt-x86-64-generic-rootfs.tar.gz 到 my-openwrt 1 cp ~/mybuild/openwrt/bin/targets/x86/64/openwrt-x86-64-generic-rootfs.tar.gz . 编写Doc
1 整体步骤 docker构建编译所需的系统镜像 下载源代码 首次编译 选择自己需要的软件再次编译 集成第三方软件包编译/编译单独ipk 官网教程: https://openwrt.org/docs/guide-developer/toolchain/start 1.1 为
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 from selenium import webdriver from selenium.webdriver.common.by import By from PIL import Image from io import BytesIO driver = webdriver.Chrome() driver.maximize_window() def checkCode(img): img = Image.open(BytesIO(img)) ocr = ddddocr.DdddOcr() code_text = ocr.classification(img) img.save(code_text + ".png", "PNG") # 保存验证码到本地,可