importrequests importos importtime 定义下载函数 defdownload_resource(url,filename): 设置最大重试次数 max_retries=3 retries=0 whileretries<max_retries: try: response=requests.get(url) ifresponse.status_code200: withopen(filename,'wb')asf: f.write(response.content) print(f'Downloaded{url}as{filename}') return ...

github.com/tinygo-org/bluetooth:TinyGo是一个Go语言编译器,它专注于微控制器和小型计算机系统。这个库是TinyGo项目的一部分,用于支持蓝牙低功耗(BLE)设备。 github.com/go-ble/ble:这是一个轻量级的Golang库,旨在简化与蓝牙低功耗设备的交互。它支持多种平台,并提供了一种简单的API来发现、连接和操作BLE设备。 github.com/muka/go-bluetooth:这个库为Go开发者提供了完整的蓝牙协议栈实现,包括经典蓝牙和低功耗蓝牙(BLE)。它允许开发人员轻松地使用Go进行蓝牙设备的扫描、连接和数据传输。 githu...

修改日志输出级别 defineLOG_LOCAL_LEVELESP_LOG_ERROR include"esp_log.h" defineGATTS_TAG"GATTS_DEMO" ESP_LOGE(GATTS_TAG,"Advertisingstartfailed\n"); ESP_LOGI(GATTS_TAG,"REGISTER_APP_EVT,status%d,app_id%d\n",param->reg.status,param->reg.app_id);

手动下载资源,放到以下位置,就可以继续 C:\Users\XX\AppData\Local\Arduino15\staging\packages

  7gZJoSEULaLm   2023年12月12日   54   0   0 系统系统

docker-compose.yml services: db: image:mariadb:10.11 container_name:seafile-mysql environment: MYSQL_ROOT_PASSWORD=12345678Requested,settheroot'spasswordofMySQLservice. MYSQL_LOG_CONSOLE=true security_opt: seccomp:unconfined volumes: /work/seafile/db:/var/lib/mysqlRequested,specifiesthepathtoMySQ...

  7gZJoSEULaLm   2023年11月30日   23   0   0 SQLdockerdockermysqlmysqlSQL

  =VLOOKUP(E1,A1:B3,2)

  7gZJoSEULaLm   2023年11月30日   13   0   0 系统系统

|模型|             参数数量||-----------------------------|-----------------------------||AlexNet|约60million||VGG16|约138million||ResNet50|约25million||InceptionV3|约23million||MobileNetV2|约3.5million||EfficientNetB0|约5million| 图像识别 -----------...

  7gZJoSEULaLm   2023年11月30日   14   0   0 语言模型ciSmall语言模型Smallci

红色(VCC)  白色(D-[ DM ]) 绿色(D+[ DP ]) 黑色(GND)

  7gZJoSEULaLm   2023年11月30日   17   0   0 DMDM

dockerexec-u0-it<container_id>/bin/bash

  7gZJoSEULaLm   2023年11月30日   12   0   0 dockerdockerbashBash

I2C4.7K IR接收管的上拉10K3.3V

  7gZJoSEULaLm   2023年11月30日   15   0   0 上拉上拉

1.上传证书,/usr/local/share/ca-certificates/crt后缀的格式2.更新,update-ca-certificates3.验证,tail/etc/ssl/certs/ca-certificates.crt-n50

  7gZJoSEULaLm   2023年11月30日   16   0   0 上传上传后缀后缀

 

  7gZJoSEULaLm   2023年11月25日   12   0   0 系统系统

PCLinuxX86/X86_64编译mkdirbuildcdbuildcmake..make嵌入式Linuxaarch64mkdirbuildcdbuildCC=aarch64-linux-gnu-gccCXX=aarch64-linux-gnu-gcmake..  

  7gZJoSEULaLm   2023年11月25日   15   0   0 g++嵌入式嵌入式g++linuxlinux

update-alternatives--configgcc 选择编号 gcc--version测试 gcc库目录 ls/usr/lib/gcc/x86_64-linux-gnu/

  7gZJoSEULaLm   2023年11月25日   18   0   0 linuxlinux

!/usr/local/bin/python3 importdatetime,bisect defparse_timestamp(raw_str): tokens=raw_str.split() iflen(tokens)1: iftokens[0].lower()'never': return'never'; else: raiseException('Parseerrorintimestamp') eliflen(tokens)3: returndatetime.datetime.strptime(''.join(tokens[1:]), '%Y/%m/%d%H:%M:%S') ...

  7gZJoSEULaLm   2023年11月24日   10   0   0 ParseParseIPpythonIPpython

Name,Type,SubType,Offset,Size,Flags Note:ifyouhaveincreasedthebootloadersize,makesuretoupdatetheoffsetstoavoidoverlap,,,, nvs,data,nvs,0x4000, otadata,data,ota,0x4000, phy_init,data,phy,0x1000, factory,app,factory,1M, ota_0,app,ota_0,1M, ota_1,app,ota_1,1M, [0;32mI(47)boot:PartitionTable:[0m [0;3...

  7gZJoSEULaLm   2023年11月24日   10   0   0 sedsed

[0.000000]BootingLinuxonphysicalCPU0x0000000000[0x412fd050] [0.000000]Linuxversion4.19.161AIMY-RK3568(jenkins@jenkins-seafile-gitlab-60)(gccversion6.3.120170404(LinaroGCC6.3-2017.05),GNUld(Linaro_Binutils-2017.05)2.27.0.20161019)1SMPFriAug1813:47:19CST2023 [0.000000]Machinemodel:AIMYRK3568DS68V01-S...

  7gZJoSEULaLm   2023年11月19日   12   0   0 V8civ8v9v9ci

[0.000000]BootingLinuxonphysicalCPU0x0 [0.000000]Initializingcgroupsubsyscpuset [0.000000]Initializingcgroupsubsyscpu [0.000000]Initializingcgroupsubsyscpuacct [0.000000]Linuxversion4.4.194(jenkins@jenkins-seafile-gitlab-60)(gccversion6.3.120170404(LinaroGCC6.3-2017.05))1SMPPREEMPTWedSep610:44:15CS...

  7gZJoSEULaLm   2023年11月19日   17   0   0 d3ciAndroidd3ciandroid

pipconfigsetglobal.index-urlhttps://pypi.tuna.tsinghua.edu.cn/simplepipconfigsetinstall.trusted-hostpypi.tuna.tsinghua.edu.cn

  7gZJoSEULaLm   2023年11月02日   44   0   0 系统系统

include<iostream> include<list> include<thread> include<mutex> include<condition_variable> include<unistd.h> std::list<int>my_list; std::mutexmy_mutex; std::condition_variablemy_cond; voidadd_element(intvalue) { while(1) { { std::unique_lock<std::mutex...

  7gZJoSEULaLm   2023年11月02日   11   0   0 #includeiosios#include
关注 更多

空空如也 ~ ~

粉丝 更多

空空如也 ~ ~