摘要:
查表法 unsigned char reverse8(unsigned char c) { static unsigned char sta[16] = {//不多不少的静态数据 0x00,0x08,0x04,0x0C,0x02,0x0A,0x06,0x0E,0x01,0x09,0x05,0x0D, 阅读全文
posted @ 2022-05-16 16:03
天下太平
阅读(35)
评论(0)
推荐(0)
摘要:
TCP Loop Connect:tcp自己连上自己 详见:http://www.rampa.sk/static/tcpLoopConnect.html 阅读全文
posted @ 2022-05-16 15:25
天下太平
阅读(34)
评论(0)
推荐(0)
摘要:
grafana模板批量导出 KEY:grafana configuration--API keys--Add API key 创建一个即可 #!/bin/bash KEY=eyJrIjoiNFZIMU1oaG1QQ3dVREpHMzVCZE1RUG94WXZzdmR4VHUiLCJuIjoidGVz 阅读全文
posted @ 2022-05-16 11:25
天下太平
阅读(588)
评论(0)
推荐(0)
摘要:
windows下的批处理没有直接获取时间戳的方式。 但是,可以通过第三方来获取。 ::get timestamp set "$=%temp%\Spring" >%$% Echo WScript.Echo(parseInt((new Date()).getTime()/1000)) for /f %% 阅读全文
posted @ 2022-05-16 10:40
天下太平
阅读(801)
评论(0)
推荐(1)
摘要:
一个通用批处理脚本,用于执行定时任务。 @echo off :begin choice /t 5 /c YN /d Y /M "Y:work N:stop. please input:" if errorlevel 2 goto stop if errorlevel 1 goto work :wor 阅读全文
posted @ 2022-05-16 10:36
天下太平
阅读(177)
评论(0)
推荐(0)

浙公网安备 33010602011771号