学而享之共198篇 第2页
经验分享
C++解决fatal error: Eigen/Sparse: No such file or directory-吾爱博客

C++解决fatal error: Eigen/Sparse: No such file or directory

这个错误通常表示你的编译器无法找到Eigen库的头文件。现确定已经正确安装了Eigen库,并在编译时添加了正确的头文件路径。 sudo apt-get install libeigen3-dev 安装后fatal error: Eigen/Spars...
2023-3-25
03051
Android开发中布局全部堆在左上角-吾爱博客

Android开发中布局全部堆在左上角

在Android开发中,写完界面发现控件全部堆在左上角 解决方法 使用此方法自定义控件位置,在xml控件位置写入 app:layout_constraintBottom_toBottomOf='parent' app:layout_constraintLeft_toLef...
2023-1-30
03270
dockerfile构建的镜像提示docker-entrypoint.sh: no such file or directory-吾爱博客

dockerfile构建的镜像提示docker-entrypoint.sh: no such file or directory

dockerfile构建的镜像 exec ./docker-entrypoint.sh: no such file or directory 遂开始漫长的debug之路。。 看了看目录发现docker-entrypoint.sh还在那没有不小心删了 检查了dockerfile发现也...
2023-1-27
09690
加速make的编译速度-吾爱博客

加速make的编译速度

使用make编译时速度非常慢,没加速前1秒钟1条几乎,近10分钟进度不足10% 我们可以使用make的-j参数,让make同时执行多条编译命令 make -j4 使用后编译速度明显提升
2023-1-19
02350
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.-吾爱博客

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

Docker中使用pip install报错 解决方法 pip install xxxxx -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
2022-12-9
06980
javascript检测网站延迟源码-吾爱博客

javascript检测网站延迟源码

JavaScript检测网站的延迟,可自行添加到网站所需的位置 JS源码
2022-11-27
5820
qq直接添加好友 API PHP源码-吾爱博客

qq直接添加好友 API PHP源码

在网页中点击后可以直接唤醒qq添加好友 如果设置了添加好友需要验证消息,则直接弹出发送验证消息界面 如果是无需验证直接添加,则访问api后直接添加好友 打包成了PHP接口,可以直接调用来添加...
2022-11-27
205465
qq直接添加好友 API-吾爱博客

qq直接添加好友 API

在网页中点击后可以直接唤醒qq添加好友 如果设置了添加好友需要验证消息,则直接弹出发送验证消息界面 如果是无需验证直接添加,则访问api后直接添加好友 api
2022-11-27
71780
python报错No module named 'PIL'-吾爱博客

python报错No module named ‘PIL’

直接使用pip install PIL提示找不到 运行安装pillow命令: pip install pillow
2022-10-6
01450
GDAL在win64下编译失败-吾爱博客

GDAL在win64下编译失败

编译gdal时提示 LINK : error LNK2001: 无法解析的外部符号 _OSRValidate LINK : error LNK2001: 无法解析的外部符号 _OPTGetProjectionMethods LINK : error LNK2001: 无法解析的外部符号 _OGR...
2022-6-9
01240
win10将AppData迁移到其他盘-吾爱博客

win10将AppData迁移到其他盘

打开注册表编辑器,在注册表编辑器中依次依次展开 (1) HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders (2)HKEY_CURRENT_USER\Software\Microsoft\Wi...
2022-6-6
06570
记录一下selenium打开chrome提示data:;解决方法-吾爱博客

记录一下selenium打开chrome提示data:;解决方法

在使用selenium写爬虫时打开chrome时不能正常打开网址,地址栏出现data:; 解决方法 options = webdriver.ChromeOptions() options.add_argument('--remote-debugging-port=9222') options.binar...
2022-5-27
019680