2025年2月27日

MySql 查看正在执行的 SQL和已经执行的Sql

摘要: 查看正在执行的 SQL 1. 使用 SHOW PROCESSLIST 语句 功能:SHOW PROCESSLIST 语句会显示当前 MySQL 服务器中所有活动连接的相关信息,包括正在执行的 SQL 语句。 示例:在 MySQL 客户端(如 MySQL 命令行工具、Navicat 等)中执行以下语句 阅读全文

posted @ 2025-02-27 09:27 刘顺利 阅读(30) 评论(0) 推荐(0) 编辑

2025年2月26日

Mysql8 表名区分大小写

摘要: 尝试初始化mysql服务,带上参数。注意,会清空数据库,所以 务必先备份数据!!! 参考: https://blog.csdn.net/cccgo68/article/details/132295123 1.先在mysql安装目录下新建【my.ini】文件内容填写如下,已经有my.ini文件的直接修 阅读全文

posted @ 2025-02-26 22:19 刘顺利 阅读(1) 评论(0) 推荐(0) 编辑

清理并恢复 NuGet 包缓存

摘要: dotnet nuget locals all --clear dotnet restore nuget镜像 dotnet nuget add source https://repo.huaweicloud.com/repository/nuget/v3/index.json -n huawei d 阅读全文

posted @ 2025-02-26 21:00 刘顺利 阅读(3) 评论(0) 推荐(0) 编辑

2025年2月20日

Git提交代码

摘要: # 1. 将修改的文件添加到暂存区 git add . # 添加当前目录下的所有修改文件到暂存区 # 2. 提交暂存区的内容到本地仓库,并添加提交消息 git commit -m "v3: 完成新功能的开发和测试" # 3. 推送到远端 git push 推送至指定分支 git push origi 阅读全文

posted @ 2025-02-20 13:24 刘顺利 阅读(3) 评论(0) 推荐(0) 编辑

2025年1月23日

npm : 无法加载文件(权限问题)

摘要: 打开 PowerShell:以管理员身份运行 PowerShell。你可以通过在开始菜单搜索“PowerShell”,然后右键点击“Windows PowerShell”,选择“以管理员身份运行”。设置执行策略:在 PowerShell 窗口中,输入以下命令并按回车: Set-ExecutionPo 阅读全文

posted @ 2025-01-23 20:34 刘顺利 阅读(23) 评论(0) 推荐(0) 编辑

2025年1月14日

JWT权限验证

摘要: using CommonUse; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.IdentityModel.Tokens; using Microsoft.OpenApi.Models; using Syst 阅读全文

posted @ 2025-01-14 09:55 刘顺利 阅读(9) 评论(0) 推荐(0) 编辑

2025年1月10日

Windows系统上安装npm

摘要: 在Windows系统上安装npm,实际上是通过安装Node.js来完成的,因为npm是Node.js的包管理器,它们通常会一起被安装。以下是详细的安装步骤: 1. 确认Windows操作系统版本 在开始安装之前,请确认你的Windows操作系统版本,以便下载适合的安装包。虽然大多数Node.js安装 阅读全文

posted @ 2025-01-10 07:51 刘顺利 阅读(1535) 评论(0) 推荐(0) 编辑

2024年12月2日

Word中快速输入带方框的√

摘要: 输入2611,然后按 Alt+X 阅读全文

posted @ 2024-12-02 10:31 刘顺利 阅读(78) 评论(0) 推荐(0) 编辑

2024年11月27日

dotnet core 网站发布指定端口

摘要: dotnet .\WebApplication1.dll --urls "http://111.111.111.111:11111;http://111.111.111.111:22222" 阅读全文

posted @ 2024-11-27 11:25 刘顺利 阅读(15) 评论(0) 推荐(0) 编辑

2024年11月20日

安装FFmpeg 5.x

摘要: 可以通过如下命令来安装FFmpeg 5.x的动态链接库: apt update apt install software-properties-common add-apt-repository ppa:savoury1/ffmpeg4 -y add-apt-repository ppa:savou 阅读全文

posted @ 2024-11-20 19:34 刘顺利 阅读(17) 评论(0) 推荐(0) 编辑

2024年11月6日

ffmpeg安装

摘要: 10.ffmpeg安装cd /home/sk/tool/nginx tar -xvf ffmpeg-4.2.1.tar.xzcd ffmpeg-4.2.1./configure make //这一步需要的时间会有点久 make install 检测是否安装ffmpeg ffmpeg -version 阅读全文

posted @ 2024-11-06 23:53 刘顺利 阅读(5) 评论(0) 推荐(0) 编辑

安装deb命令

摘要: 安装deb命令 deb 是 Debian 和基于 Debian 的系统中的软件包格式。dpkg 是 Debian 包管理工具,用于安装、配置、删除和管理 .deb 软件包。 要使用 dpkg 安装 .deb 文件,请打开终端并使用以下命令: sudo dpkg -i package-name.deb 阅读全文

posted @ 2024-11-06 23:21 刘顺利 阅读(343) 评论(0) 推荐(0) 编辑

2024年11月1日

Visual Studio Code(VSCode)中设置中文界面

摘要: 通过快捷键设置中文‌: 打开VSCode,按住键盘上的“Ctrl+Shift+P”组合键打开命令面板。 在命令面板中输入“Configure Display Language”。 选择“Configure Display Language”,然后在弹出的语言列表中选择“zh-cn”。 点击“Relo 阅读全文

posted @ 2024-11-01 15:32 刘顺利 阅读(10294) 评论(0) 推荐(1) 编辑

依赖缺失依赖 libxkbfile1

摘要: 我在统信uos操作系统下安装 vscode 开发工具时,提示:依赖缺失依赖 libxkbfile1 解决方法:点击这个地址重新下载依赖包http://mirrors.ustc.edu.cn/debian/pool/main/libx/libxkbfile/libxkbfile1_1.1.0-1_am 阅读全文

posted @ 2024-11-01 14:59 刘顺利 阅读(299) 评论(0) 推荐(0) 编辑

2024年10月31日

UOS下配置.net core环境

摘要: 1.下载sdk https://dotnet.microsoft.com/zh-cn/download/dotnet/thank-you/sdk-8.0.403-linux-x64-binaries 2.解压并拷贝到目标目录 mkdir -p $HOME/dotnet && tar zxf dotn 阅读全文

posted @ 2024-10-31 21:41 刘顺利 阅读(143) 评论(0) 推荐(0) 编辑

2024年10月29日

.net Core 在IIS上部署 需要安装Hosting Bundle

摘要: 阅读全文

posted @ 2024-10-29 20:17 刘顺利 阅读(27) 评论(0) 推荐(0) 编辑

2024年8月6日

vs2022 iis express 自动关闭

摘要: 阅读全文

posted @ 2024-08-06 00:18 刘顺利 阅读(8) 评论(0) 推荐(0) 编辑

2024年7月21日

VS版本问题

摘要: 版本设置成8.0.*时出现两个错误CS8357和CS7035 CS7035 通过项目属性-生成-错误与警告-取消显示警告中加入7035. CS8357 通过项目文件中加入<Deterministic>false</Deterministic> 阅读全文

posted @ 2024-07-21 17:43 刘顺利 阅读(8) 评论(0) 推荐(0) 编辑

2024年7月15日

VS2022 Web项目停止调试时不关闭IIS Express和浏览器

摘要: 浏览器状态 阅读全文

posted @ 2024-07-15 09:17 刘顺利 阅读(132) 评论(0) 推荐(0) 编辑

2024年7月12日

UOS 分辨率手动修改

摘要: xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync xrandr --addmode Virtual1 "1920x1080_60.00" xrandr --o 阅读全文

posted @ 2024-07-12 19:30 刘顺利 阅读(98) 评论(0) 推荐(0) 编辑

2024年4月22日

变量获取属性值

摘要: var name = item.GetType().GetProperty("Host1")!.GetValue(item); 阅读全文

posted @ 2024-04-22 14:54 刘顺利 阅读(6) 评论(0) 推荐(0) 编辑

2024年3月16日

IIS权限问题解决办法

摘要: 阅读全文

posted @ 2024-03-16 00:13 刘顺利 阅读(4) 评论(0) 推荐(0) 编辑

2023年9月26日

Linux创建桌面快捷方式

摘要: 创建文本,写入如下内容 [Desktop Entry] Name = Air ApplicationName[zh_CN] = AirExec = sh /home/redefine/Desktop/LinuxShare/Air.shPath = /home/redefine/Desktop/Lin 阅读全文

posted @ 2023-09-26 16:38 刘顺利 阅读(46) 评论(0) 推荐(0) 编辑

Linux访问Windows共享

摘要: 在 Linux 中创建一个挂载点,这个挂载点将用来挂载 Windows 共享。可以使用sudo mkdir /mnt/windows创建一个名为“windows”的目录作为挂载点。 挂载 Windows 共享,执行命令sudo mount -t cifs -o username=windows_us 阅读全文

posted @ 2023-09-26 16:33 刘顺利 阅读(427) 评论(0) 推荐(0) 编辑

2023年7月28日

c# WinForm 引用 Chrome 模拟操作

摘要: Nuget CefSharp.WinForms public Form1() { InitializeComponent(); chromiumWebBrowser1.LoadingStateChanged += ChromiumWebBrowser1_LoadingStateChanged; } 阅读全文

posted @ 2023-07-28 10:51 刘顺利 阅读(1147) 评论(0) 推荐(0) 编辑

2021年11月9日

ubuntu18.04 自启动程序开启Root权限

摘要: 开机自启动ROOT权限运行脚本 一、操作系统 版本:ubuntu18.04 安装包名称:ubuntu-18.04.4-desktop-amd64.iso 制作脚本1.创建文件_password,内容是:#!/bin/bash echo "1313" (这个填写自己的root密码,蓝色的部分) 2.创 阅读全文

posted @ 2021-11-09 15:37 刘顺利 阅读(1001) 评论(0) 推荐(0) 编辑

2021年11月5日

ubuntu 远程 Windows

摘要: 推荐工具一: Remmina 优势: 免安装,ubuntu自带。同时支持RDP和VNC协议。不用强制Windows 解除 (仅允许运行使用网络级别身份验证的远程桌面)初始连接速度快 安装命令: sudo apt install remmina1 连接操作: 打开软件 点击左上角的 “+” 加号图标。 阅读全文

posted @ 2021-11-05 10:54 刘顺利 阅读(1038) 评论(0) 推荐(0) 编辑

2021年10月27日

VirtualBox全屏问题

摘要: sudo apt update //作用是安装gcc sudo apt install build-essential 然后安装增强功能即可 阅读全文

posted @ 2021-10-27 09:22 刘顺利 阅读(22) 评论(0) 推荐(0) 编辑

2021年7月22日

ubuntu 上配置端口转发

摘要: 第一步: sysctl net.ipv4.ip_forward=1 等同于 编辑/etc/sysctl.conf文件,将net.ipv4.ip_forward=1前面的#注释去掉,保存文件,然后执行sudo sysctl -p使其生效 第二步: iptables -t nat -A PREROUTI 阅读全文

posted @ 2021-07-22 13:57 刘顺利 阅读(4296) 评论(0) 推荐(0) 编辑

2021年7月21日

Ubuntu 下访问MSSql 提示 SSL Handshake failed with OpenSSL error

摘要: 简而言之就是:SSL Handshake failed with OpenSSL error 大致意思是连接服务器成功,但是在握手的时候报了异常,里面有 openssl、ssl_error 这样的字眼,回顾了一下, 同样的部署方式,在centos 7阿里云服务器里面是没有这个问题的,推测代码和环境都 阅读全文

posted @ 2021-07-21 23:06 刘顺利 阅读(733) 评论(0) 推荐(0) 编辑

2021年7月13日

ubuntu FTP

摘要: 第一步:安装VSFTPD sudo apt-get install vsftpd 安装完成后启动VSFTPD服务: service vsftpd start 第二步:新建目录/home/uftp作为用户主目录 sudo mkdir /home/uftp 第三步:新建用户uftp,制定用户主目录和所用 阅读全文

posted @ 2021-07-13 21:04 刘顺利 阅读(426) 评论(1) 推荐(0) 编辑

win10 在资源管理器中怎么打开ftp

摘要: @echo off start explorer "ftp://uftp:1@192.168.1.3" 阅读全文

posted @ 2021-07-13 20:55 刘顺利 阅读(612) 评论(0) 推荐(0) 编辑

2021年6月1日

裁剪PNG图片透明部分

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文

posted @ 2021-06-01 23:09 刘顺利 阅读(438) 评论(0) 推荐(0) 编辑

2021年1月27日

获取Window下的文件缩略图

摘要: 引用Microsoft.WindowsAPICodePack.dll文件。 using Microsoft.WindowsAPICodePack.Shell; ShellFile shellFile = ShellFile.FromFilePath(@"C:\Users\lsl-xiaomi\Des 阅读全文

posted @ 2021-01-27 18:42 刘顺利 阅读(470) 评论(0) 推荐(0) 编辑

2021年1月14日

windows下安装 python环境

摘要: python安装 下载地址 https://www.python.org/ 安装后添加环境变量 path中添加C:\Users\lsl\AppData\Local\Programs\Python\Python39 (python) C:\Users\lsl\AppData\Local\Program 阅读全文

posted @ 2021-01-14 21:50 刘顺利 阅读(318) 评论(0) 推荐(0) 编辑

2020年10月10日

C# 网页自动化之selenium

摘要: 一、什么是网页自动化?1. 网页自动化是用代码来操作浏览器去执行你想要操作的步骤,其实这种大多数是用于测试,用来写自动化来测试网页,对网站进行快速的回归测试。二、用到那些技术?1. selenium:我最开始接触该技术的时候,是用来做python爬虫的时候,因为selenium可以很容易的对网页数据 阅读全文

posted @ 2020-10-10 05:32 刘顺利 阅读(961) 评论(0) 推荐(0) 编辑

2020年5月15日

ubuntu 访问window共享

摘要: 右击要共享的文件夹-->属性-->高级共享-->添加用户-->添加完全控制权限 假设建立的共享地址为\\192.168.1.100\Linux 获取当前登录user的gid,uid id username 建立挂载目录 mkdir /mnt/win 挂载目录 sudo mount -t cifs / 阅读全文

posted @ 2020-05-15 18:46 刘顺利 阅读(298) 评论(0) 推荐(0) 编辑

ubuntu 开机启动

摘要: 1.创建sh文件 lsl@lsl-Mi-Laptop-Pro-15:~/文档$ touch runffs1.sh 2.编辑sh文件lsl@lsl-Mi-Laptop-Pro-15:~/文档$ gedit runffs.sh 文件内容: #!/bin/sh cd /home/lsl/文档/FFS do 阅读全文

posted @ 2020-05-15 10:55 刘顺利 阅读(248) 评论(2) 推荐(0) 编辑

mysql 8.0 备份与还原

摘要: mysqldump -h 主机名 -P 端口 -u 用户名 -p 数据库名 > 备份文件.sql mysql> source 备份文件.sql 阅读全文

posted @ 2020-05-15 09:54 刘顺利 阅读(2629) 评论(0) 推荐(0) 编辑

2020年5月14日

Ubuntu安装mysql未提示输入密码,安装后修改mysql密码默认密码

摘要: 使用mysql -uroot -p 命令连接mysql时,报错 ERROR 1045 (28000): Access denied for user 'root'@'localhost' 此时修改root的默认密码即可 1.进入到etc/mysql 目录下,查看debian.cnf文件 2.找到用户 阅读全文

posted @ 2020-05-14 09:21 刘顺利 阅读(515) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示