上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 78 下一页
摘要: 阅读全文
posted @ 2023-05-03 09:20 ahuo 阅读(188) 评论(0) 推荐(0)
摘要: ./upnpc-static -i -a 192.168.1.131 1222 19256 TCP https://files.cnblogs.com/files/ahuo/upnpc-static.zip?t=1682149819&download=true 阅读全文
posted @ 2023-04-22 15:50 ahuo 阅读(72) 评论(0) 推荐(0)
摘要: 发送端,25pin #include <Arduino.h> #include <WiFi.h> #include <RCSwitch.h> #define TXD2 25 RCSwitch mySwitch = RCSwitch(); void setup() { Serial.begin(115 阅读全文
posted @ 2023-04-09 19:40 ahuo 阅读(354) 评论(0) 推荐(0)
摘要: docker update --restart=always 容器ID docker inspect 容器ID | jq .[0].HostConfig.RestartPolicy 阅读全文
posted @ 2023-03-24 11:14 ahuo 阅读(201) 评论(0) 推荐(0)
摘要: ip link add name br0 type bridgeip link set br0 upip addr add 192.168.10.100/24 dev br0route add -net 192.168.10.0/24 dev eth0 阅读全文
posted @ 2023-03-15 14:27 ahuo 阅读(55) 评论(0) 推荐(0)
摘要: while true;do aplay -D hw:1,0 /root/stereo.wav ;done 阅读全文
posted @ 2023-03-10 15:10 ahuo 阅读(265) 评论(0) 推荐(0)
摘要: inc include_directories(/usr/x86_64-w64-mingw32/include) link SET(LINK_DIR /usr/x86_64-w64-mingw32/lib/) link_directories(${LINK_DIR}) 阅读全文
posted @ 2023-02-06 18:12 ahuo 阅读(153) 评论(0) 推荐(0)
摘要: 禁用了检查 cmake .. -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DCMAKE_C_COMPILER_WORKS=TRUE CMAKE_CXX_COMPILER_WORKS TRUE CMAKE_C_COMPILER_WORKS TRUE 阅读全文
posted @ 2023-02-06 10:16 ahuo 阅读(285) 评论(0) 推荐(0)
摘要: lib.go package main import "C" func main() {} //export Hello func Hello() string { return "Hello" } //export Test func Test() { println("export Test") 阅读全文
posted @ 2023-02-04 14:26 ahuo 阅读(89) 评论(0) 推荐(0)
摘要: cat json.txt | jq .subnode 阅读全文
posted @ 2023-02-04 08:58 ahuo 阅读(40) 评论(0) 推荐(0)
摘要: nmcli conn show nmcli device wifi connect "SSID" password "PWD" 阅读全文
posted @ 2023-01-04 22:06 ahuo 阅读(204) 评论(0) 推荐(0)
摘要: pio upgrade pio boards --installed https://github.com/platformio/platformio https://platformio.org/platformio-ide 阅读全文
posted @ 2022-12-13 21:18 ahuo 阅读(229) 评论(0) 推荐(0)
摘要: git config --global http.sslVerify "false" 阅读全文
posted @ 2022-12-04 19:33 ahuo 阅读(283) 评论(0) 推荐(0)
摘要: docker pull piaoyizy/openwrt-x86 sudo ip link set eth0 promisc on docker network create -d macvlan --subnet=10.0.2.0/24 --gateway=10.0.2.254 -o parent 阅读全文
posted @ 2022-11-27 22:13 ahuo 阅读(1808) 评论(0) 推荐(0)
摘要: 安装 sudo apt-get install isc-dhcp-server nano /etc/default/isc-dhcp-server NTERFACES="DHCP用的网卡" 添加网段 /etc/dhcp/dhcpd.conf #subnet 10.152.187.0 netmask 阅读全文
posted @ 2022-11-27 11:38 ahuo 阅读(202) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 78 下一页