自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(46)
  • 资源 (5)
  • 收藏
  • 关注

原创 npm安装Electron 项目失败的一个原因

最后少了“/”,加上“/”就好了。

2025-04-14 16:28:36 88

原创 vscode ssh不用每次输入密码连接debian11

打开VSCode的SSH配置文件(路径通常为。用密码登录debian11 ssh端 运行。公钥内容为id_rsa.pub中全部内容。保存后,在VSCode的。

2025-04-02 11:02:55 62

原创 stm32串口 DMA空闲中断接收不定时接收不响应问题

【代码】stm32串口 DMA空闲中断接收不定时接收不响应问题。

2025-02-21 13:57:39 135

原创 wsl ubuntu24.04 安装micropython esp32-s3编译环境

编译stm32f407。

2024-12-29 22:15:46 228 2

原创 python格式化插件Black Formatter,isort在vscode配置

在settings.json中添加。

2024-12-24 11:48:09 518

原创 python类变量的注意事项

一但用self赋值,就成了实例变量。同名实例变量高于类变量。类变量必需用类名赋值。

2024-12-23 10:26:51 122

原创 在python中使用aerich迁移sqlite3数据库

新建文件名:project_records_tortoise_config.py。重点来了,命令中执行文件名后缀并不相同。修改模型类,添加或删除属性。1-2-3可以循环用。

2024-12-19 16:15:50 175 1

原创 nicegui不使用pywebview全屏方法

在nicegui库中ui_run.py文件下,找到。使nicegui运行时不主动调出浏览器。app.on_startup中写入。自己写调出浏览器并全屏代码。在Windows系统中。在debian11中。

2024-12-10 11:19:30 278

原创 HR3568-H7002 Debian10调试记录

1.vscode远程连接ssh,每次都要在debian上启动ssh服务器。2.存储大空间在/userdata/下。

2024-11-26 11:13:27 117

原创 vscode在powershell中激活conda虚拟环境

vscode里新建终端应该就可以了。以管理员运行powershell。

2024-10-21 13:57:05 155

原创 STM32F103所有定时器的计数频率均为72MHZ

STM32F103系列的单片机一共有11个定时器,且所有定时器的计数频率均为72MHZ,其中:2个高级定时器4个普通定时器2个基本定时器2个看门狗定时器1个系统嘀嗒定时器。

2024-09-03 10:35:44 440

原创 debian10中文输入候选词

【代码】debian10中文输入候选词。

2024-07-19 09:54:53 305

原创 RK3568 USB摄像头yolov8 NPU测试例程

系统为debian10。

2024-07-18 09:52:33 296

原创 usb摄像头帧率原来与曝光相关

设置MJPG一定要写在设置分辨率之后,好大的坑啊。

2024-07-08 16:29:13 213

原创 nicegui在ubuntu24.04独立窗口显示

我不知道遗漏了什么,具体我在另一台电脑上验证后再补充。在.conda虚拟环境中。

2024-06-14 14:30:14 222

原创 ubuntu系统cmsis-dap下载调试报错unable to open CMSIS-DAP device

在/etc/udev/rules.d/99-platformio-udev.rules这个文件里看看有没有你对应的VID:PID。显示为:Bus 003 Device 004: ID 0d28:0204 NXP ARM mbed。调试设备为PWLINK2。没有对应的按已有格式添加。

2024-06-07 14:42:21 460

原创 NameError: name ‘_C‘ is not defined一种解决

配合我之前juypter翻墙,重新运行。环境:wsl ubuntu22.04。

2024-05-29 20:03:11 1884 1

原创 在platform中使用stm32cubeMX自己生成的库开发

stm32f103vct6芯片。platformio.ini为。stm32f407zgt6芯片。platformio.ini为。

2024-05-27 11:07:36 322

原创 python jupyter 运行中通过代理访问国外资源

解决下载被墙的模型、资源、库等问题。

2024-05-24 09:17:23 301

原创 nicegui无响应并且一直显示重新连接中

用nicegui的异步子线程函数 run.cpu_bound调用异步函数。找到程序中长时间占用cpu的程序段,写成异步函数。此操作防止界面阻塞和通信断连。

2024-05-17 09:17:44 498

原创 解决python项目文件夹根目录问题

在main.py中写入这三句。

2024-05-15 08:23:31 489 1

原创 Electron make 错误

【代码】Electron make 错误。

2023-05-26 10:35:35 988

原创 stm32用vscode platformio开发,使用stm32cubeide生成的库文件

【代码】stm32用vscode platformio开发,使用stm32cubeide生成的库文件。

2023-04-28 16:32:14 383

原创 freecad学习领悟

freecad学习领悟

2023-01-02 05:44:13 240

原创 在Win11中Solidworks 2016安装失败因为VC++2005安装失败的解决办法

将vcredist_x64.exe 复制到外面修改为vcredist_x86.exe再拷贝回去,替换原来的vcredist_x86.exe。在此目录下\Solidworks.2016.SP5.Premium.DVD\prereqs\VCRedist。

2022-12-08 16:16:05 4088

原创 ubuntu electron-rebuild 我的成功方法

ubuntu electron-rebuild 我的成功方法

2022-09-29 12:09:33 624

原创 ubuntu 22.04 qt5.12.9

1.sudo apt install clang2.sudo apt-get install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev

2022-05-16 09:20:07 475

原创 qt cannot find -lGL

sudo apt-get install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev

2022-05-16 08:43:27 155

原创 STM32F407各定时器的时钟频率

TIM1、TIM8~TIM11的时钟为APB2时钟的两倍即168M,TIM2~TIM7、TIM12~TIM14的时钟为APB1的时钟的两倍即84M。

2022-05-06 15:48:56 1061

原创 element ui input atuocomplete生效问题

文档说明:autocomplete 原生属性,自动补全,string on/off,默认off但是在项目中填写on后不能实现记忆功能,决绝办法:在e-input组件添加属性name。

2022-01-19 14:43:20 510

原创 mongodb使用用户名密码

配置authorization: disabled时自带数据库use admindb.createUser( {user:"admin", pwd:"buzhidao", roles:[{role:"root", db:"admin"}], } )自己创建的数据库usezhyq-repairdb.createUser( {user:"sdzh", pwd:"buzhidao", roles:[...

2021-09-02 15:55:20 205

原创 flutter发布Windows desktop程序命令

flutter build windows

2021-06-15 16:31:30 290

原创 Android 11全屏 隐藏状态条和导航条Kotlin

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { window.setDecorFitsSystemWindows(false) window.insetsController?.let { it.hide(WindowInsets.Type.statusBars() or WindowInsets.Type.navigationBars()) .

2021-03-27 10:46:43 3414

原创 git操作之pull拉取远程指定分支以及push推送到远程指定分支

一、pull操作1、将远程指定分支 拉取到 本地指定分支上:git pull origin <远程分支名>:<本地分支名>12、将远程指定分支 拉取到 本地当前分支上:git pull origin <远程分支名>13、将与本地当前分支同名的远程分支 拉取到 本地当前分支上(需先关联远程分支,方法见文章末尾)git pull1在克隆远程项目的时候,本地分支会自动与远程仓库建立追踪关系,可以使用默认的origin来替代远程仓库名

2020-12-23 10:06:18 416

原创 ubuntu20.04xrdp远程桌面sh脚本

##################################################### Script_Name : xrdp-installer-1.2.sh# Description : Perform xRDP installation on Ubuntu 16.04,18.04,19.04,19.10 and perform# additional post configuration to improve end user experience.

2020-10-27 10:04:45 1584

原创 Could not determine GDB version command

Could not determine GDB version commandubuntu stm32cubeide st-linkv2解决sudo apt install libncurses5

2020-10-20 12:05:12 1516 2

转载 对Linux终端使用socks5代理的方法详解

对Linux终端使用socks5代理的方法详解ubuntu系统$ sudo apt-get install proxychains4配置proxychains$ sudo vim /etc/proxychains4.conf# /etc/proxychains.conf\# 修改前socks4 127.0.0.1 9095\# 修改后socks5 127.0.0.1 1080如何使用代理在命令前添加 proxychains4$ proxychains4 go get githu

2020-10-16 16:36:56 1976 1

原创 哔哩哔哩Android(JetPack)学习心得

ConstraintLayout布局使用辅助线,设置成百分比,每个原件都填满上下两根辅助线.

2020-05-26 09:50:27 730

原创 java串口jdk11,jdk13,jdk14版本win10 64位系统bug修复库nrjavaserial-3.15.0

直接上库链接工程中导入库我用的jdk14+win10 64位系统我的测试代码import gnu.io.NRSerialPort;import java.io.DataInputStream;import java.io.DataOutputStream;import java.io.IOException;public class Test { publ...

2020-03-20 17:55:49 1434

转载 几个Java开源串口库

转自新浪博客jSerialComm homepage:http://fazecast.github.io/jSerialComm/https://github.com/Fazecast/jSerialComm/wiki/Usage-Examplespurejavacomm homepage:http://www.sparetimelabs.com/purejavacomm/pureja...

2020-03-20 15:22:59 1041

yolov8n.rknn

yolov8n.rknn

2024-07-18

nrjavaserial-3.15.0.jar

java串口jdk11,jdk13,jdk14版本win1064位系统bug修复库nrjavaserial-3.15.0 A Java Serial Port system. This is a fork of the RXTX project that uses in jar loading of the native code.

2020-03-20

基于STM32CubeIDE的光栅尺测试程序

芯片stm32f103vct6 外接8M晶振 SWD调试 串口1输出 9600波特率 信号A串10K电阻接PA0 信号B串10K电阻接PA1 串口输出单位为mm精确到1um

2020-03-14

SymlinkCreator.exe

文件夹链接小工具 Symlink Creator simplifies the process of creating symbolic and hard links in Windows 7 and Windows 8 (likely Vista too). It is a GUI for the MKLINK command in Windows, which makes creating the links much easier. The program requires administrator permissions due to use of the command prompt, so you should run it as an administrator if you experience any problems. Note: It is not possible to create a hard link from a network share. You must use a symbolic link instead.

2020-03-13

RecyclerView上拉加载+长点击右键菜单+sqlite动态加载

RecyclerView上拉加载+长点击右键菜单+sqlite动态加载

2018-06-06

RecyclerView上拉加载+长点击事件

android studio RecyclerView上拉加载+长点击事件,自己修改的,去了头和尾

2018-06-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除