上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 77 下一页
摘要: while true;do aplay -D hw:1,0 /root/stereo.wav ;done 阅读全文
posted @ 2023-03-10 15:10 ahuo 阅读(223) 评论(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 阅读(124) 评论(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 阅读(232) 评论(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 阅读(68) 评论(0) 推荐(0)
摘要: cat json.txt | jq .subnode 阅读全文
posted @ 2023-02-04 08:58 ahuo 阅读(24) 评论(0) 推荐(0)
摘要: nmcli conn show nmcli device wifi connect "SSID" password "PWD" 阅读全文
posted @ 2023-01-04 22:06 ahuo 阅读(191) 评论(0) 推荐(0)
摘要: pio upgrade pio boards --installed https://github.com/platformio/platformio https://platformio.org/platformio-ide 阅读全文
posted @ 2022-12-13 21:18 ahuo 阅读(191) 评论(0) 推荐(0)
摘要: git config --global http.sslVerify "false" 阅读全文
posted @ 2022-12-04 19:33 ahuo 阅读(247) 评论(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 阅读(1739) 评论(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 阅读(158) 评论(0) 推荐(0)
摘要: npm install -g wscat wscat -l 8888 wscat -c ws://127.0.0.1:8888 const WebSocket = require('ws'); const ws = new WebSocket.Server({port: 8777}); ws.on( 阅读全文
posted @ 2022-11-20 08:48 ahuo 阅读(99) 评论(0) 推荐(0)
摘要: # DAPLink Firmware - see https://daplink.io Build ID: v0257-9-g1c60ddb5 (armcc, local mods) Unique ID: 070000011a5a5bb50000000001d3080fa5a5a5a59796990 阅读全文
posted @ 2022-11-13 11:54 ahuo 阅读(240) 评论(0) 推荐(0)
摘要: AO3400(标识AO9T) - N型场效应管 TL431A(标识431) - 精密可调节稳压器 78L05(标识78L05) - 5V正向稳压器 S8050(标识J3Y) - NPN小功率晶体管 S8550(标识2TY) - PNP小功率晶体管 A92(标识2D) - NPN高频放大晶体管 A42 阅读全文
posted @ 2022-11-12 13:26 ahuo 阅读(1482) 评论(0) 推荐(0)
摘要: curl 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=87e21b40-1bb4-456c-9462-27fc06b23111' \ -H 'Content-Type: application/json' \ -d ' { "msgty 阅读全文
posted @ 2022-11-09 16:43 ahuo 阅读(208) 评论(0) 推荐(0)
摘要: 修改 go.mod module tcp go 1.17 require ( gitlab.xxx.test/dto/app v0.0.0-20220929075345-361eddc7a846 gitlab.xxx.test/dto/gateway v0.0.0-20221012065303-c5 阅读全文
posted @ 2022-11-04 09:45 ahuo 阅读(197) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 77 下一页