摘要: 需要安装 nuget 包 Microsoft.Extensions.Configuration 、Microsoft.Extensions.Configuration.FileExtensions 、Microsoft.Extensions.Configuration.Json、NLog using 阅读全文
posted @ 2024-07-05 18:25 杜子烟 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 安装全局工具: # 安装全局工具 dotnet tool install --global Microsoft.Playwright.CLI # 创建项目 dotnet new console -n Console1 cd Console1 # 安装依赖 dotnet add package Mic 阅读全文
posted @ 2024-07-04 15:44 杜子烟 阅读(145) 评论(0) 推荐(0) 编辑
摘要: MYSQL SELECT table_name, table_rows FROM information_schema.tables WHERE table_schema = 'your_database_name' ORDER BY table_rows DESC; Oracle SELECT t 阅读全文
posted @ 2024-06-13 17:40 杜子烟 阅读(7) 评论(0) 推荐(0) 编辑
摘要: C#使用RSA加密解密 /// <summary> /// RSA加密解密 /// </summary> public class RSAHelper { /// <summary> /// 生成公钥和私钥 /// </summary> /// <param name="keySize">密钥大小 阅读全文
posted @ 2024-06-05 11:20 杜子烟 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 1.DataX3.0开源版本,rdbms里面默认是达梦7的驱动,因此,如果像链接达梦8需要替换驱动。需要将达梦8的驱动放在D:\datax\lib、D:\datax\plugin\reader\rdbmsreader\lib和D:\datax\plugin\reader\rdbmswriter\li 阅读全文
posted @ 2024-05-17 14:19 杜子烟 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 1.下载DataX并解压(本地环境安装有python)DataX/userGuid.md at master · alibaba/DataX (github.com) job文件夹下存放数据同步的json脚本 { "job": { "setting": { "speed": { "channel": 阅读全文
posted @ 2024-05-16 16:03 杜子烟 阅读(114) 评论(0) 推荐(0) 编辑
摘要: #查看jvm进程pid jps #列出所有信号名称 kill -l # Windows下信号常量值 # 简称 全称 数值 # INT SIGINT 2 Ctrl+C中断 # ILL SIGILL 4 非法指令 # FPE SIGFPE 8 floating point exception(浮点异常) 阅读全文
posted @ 2024-05-06 17:23 杜子烟 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1. <style> html { filter: grayscale(1); -webkit-filter:grayscale(1); } </style> 2. <html style="filter:grayscale(1);-webkit-filter:grayscale(1)"> </ht 阅读全文
posted @ 2023-02-21 09:36 杜子烟 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 1.移动文件夹 mv /home/weblogic/原目录 /新目录/weblogic 2.删除文件 rm -r /home/test/www/site/logs rm -r :rm -r 只能用于删除文件,不能用于删除文件夹。 rm -R:rm -R既能用于删除文件,也能用于删除文件夹。 3.查看 阅读全文
posted @ 2022-08-25 16:36 杜子烟 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 1、身份证号码计算年龄: select (substring(now(),1,4)-substring('证件号',7,4))-(substring('证件号',11,4)-date_format(now(),'%m%d')>0) as 年龄 2、身份证号码计算性别 SELECT IF (MOD(S 阅读全文
posted @ 2022-08-25 14:21 杜子烟 阅读(59) 评论(0) 推荐(0) 编辑