background picture of the home page

Hi,Friend

SQLyog 使用指南及资源更新

用户ttrar获得三个激活码:8d8120df-a5c3-4989-8f47-5afc79c56e7c、59adfdfe-bcb0-4762-8267-d7fccf16beda和ec38d297-0543-4679-b098-4baadf91f983。软件更新功能应关闭。相关文件下载地址为https://wwws.lanzouo.com/ilAZY2c2yv6d,密码为3zaw。文章内容与关键词Mysql,SQLyog 使用指南及资源更新无关。

thumbnail of the cover of the post

LINUX | 防火墙开放端口

使用firewall-cmd命令可以检查和管理Linux防火墙的端口。首先,使用`firewall-cmd --query-port=80/tcp --zone=public`检查端口80是否开启,返回yes表示开启,no表示未开启。要开启端口,运行`firewall-cmd --zone=public --add-port=80/tcp --permanent`命令,修改端口号即可。若防火墙未运行,需先运行`systemctl start firewalld`启动防火墙,并确认启动成功。最后,记得重启服务器使更改生效。

thumbnail of the cover of the post

proj编译安装

This article details the compilation and installation of PROJ (Cartographic Projections library) version 9.4.1 on a Linux system. It outlines the steps involved: downloading the source code, extracting the archive, installing necessary dependencies (sqlite-devel, libtiff-devel, libcurl-devel using yum), configuring the installation prefix using cmake, compiling the code using make, and finally installing the compiled library using make install. The installation directory is specified as /usr/local/proj_9.

thumbnail of the cover of the post

Core Audio API控制windows音量

该代码使用Core Audio API控制Windows音量。开发环境包括VS 2019和Windows 10企业版2016长期服务版。示例代码包含`test.h`、`test.cpp`、`SystemVolume.h`和`SystemVolume.cpp`四个文件。`SystemVolume.cpp`中包含初始化、设置音量、获取音量、关闭服务等方法,并使用`IAudioEndpointVolume`接口控制音量。代码通过`CoInitialize`、`CoCreateInstance`等COM组件接口函数,完成音量控制功能。

thumbnail of the cover of the post

Linux升级python

Linux升级python (编译安装) 当前环境 系统:Centos 7 x86_64 python版本:Python 2.7.5 (default, Nov 16 2020, 22:23:17) gcc版本: gcc version 11.2.0 (GCC) 安装步骤 1. 下载升级文件 py

thumbnail of the cover of the post

Java获取操作系统信息

该Java代码使用Maven依赖oshi-core和hutool-all库,获取操作系统信息,包括CPU型号、内存总量、可用内存、使用率、显卡信息以及网络上传/下载速度。代码通过oshi库获取硬件信息,hutool库提供IO和字符串工具类,计算CPU使用率和网络传输速度,并格式化输出结果。

thumbnail of the cover of the post

清除数据库内所有表的数据【MySQL】

该MySQL存储过程`delAllTableData`用于清除指定数据库中所有表的数据。它首先声明一个变量`table_size`,获取指定数据库中表的数量。然后循环遍历每个表,使用`truncate table`语句清空表数据。存储过程接受数据库名称作为参数,并使用`call`语句执行。

thumbnail of the cover of the post

项目升级java17遇到的问题与解决方案

本文介绍了将项目从Java 8升级到Java 17,Spring Boot升级到3.x,Spring Cloud升级到2022.0.0.0过程中遇到的问题及解决方案。 文章详细列出了需要进行的代码修改,包括使用正则表达式批量替换import语句和Swagger注解。 主要问题包括:spring.config.import属性未定义,Session符号无法解析,以及一些类库版本兼容性问题。 文中针对每个问题给出了相应的依赖包解决方案,例如添加`spring-cloud-starter-bootstrap`、`jakarta.websocket-client-api`以及`pagehelper-spring-boot-starter`等依赖。

thumbnail of the cover of the post

windows远程桌面无法复制文件

Windows远程桌面无法复制文件的问题,可以通过结束rdpclip.exe进程或重新运行rdpclip.exe来解决。若问题仍然存在,尝试关闭并重新打开远程桌面。

thumbnail of the cover of the post