![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
_沈
一个平平无奇的程序员
展开
-
aspose-words简单使用
aspose-words原创 2023-10-13 09:56:37 · 584 阅读 · 0 评论 -
Java图片批量裁剪
【代码】Java图片处理。原创 2023-05-31 15:46:57 · 243 阅读 · 0 评论 -
MySql笔记
MySql笔记原创 2022-09-16 17:33:19 · 208 阅读 · 0 评论 -
angular笔记
ng-template、ng-containe简单使用<ng-container *ngTemplateOutlet="template1"></ng-container><ng-template #template1> 测试内容</ng-template>原创 2022-04-29 09:22:45 · 136 阅读 · 0 评论 -
Spring data jpa基本使用
Spring data jpa查询简单查询查询所有数据findAll()修改/添加数据T save(T entity)分页查询Page findAll(Example example, Pageable pageable)根据id查询findOne()根据实体类属性查询findByProperty (type Property); 例如:findByAge(int age)删除void delete(T entity)计数查询long cou原创 2022-04-26 16:39:19 · 434 阅读 · 0 评论 -
require引入和清除缓存
require引入和清除缓存官方文档对require.cache的解释:被引入的模块将被缓存在这个对象中。 从此对象中删除键值对将会导致下一次 require 重新加载被删除的模块。 这不适用于原生插件,因为它们的重载将会导致错误。可以添加或替换入口。 在加载原生模块之前会检查此缓存,如果将与原生模块匹配的名称添加到缓存中,则引入调用将不再获取原生模块。 谨慎使用!require.resolve则相当于把相对路径转化成绝对路径,避免了自己手写的绝对路径跟cache里的key不一致的问题app;/原创 2022-04-14 10:51:17 · 1875 阅读 · 0 评论 -
easyexcel简单使用方式
easyexcel简单使用方式1、导入easyexcel依赖<!-- 引入 easyexcel 依赖 --><dependency> <groupId>com.alibaba</groupId> <artifactId>easyexcel</artifactId> <version>3.0.5</version></dependency>2、创建实体类packag原创 2022-03-24 10:35:43 · 2087 阅读 · 0 评论 -
JavaScript常用方法
JavaScript获取两个数组数组的差集const arra = ['a', 'b', 'c', 'd', 'e'];const arrb = ['b', 'e'];console.log("some: " + arra.filter(v => !arrb.some((item) => item === v)));console.log("find: " + arra.filter(v => !arrb.find((item) => item === v)));conso原创 2022-03-04 17:01:31 · 623 阅读 · 0 评论 -
css实用技巧
css实用技巧1、文字渐变/* 从上到下,蓝色渐变到红色 */linear-gradient(blue, red);/* 渐变轴为45度,从蓝色渐变到红色 */linear-gradient(45deg, blue, red);/* 从右下到左上、从蓝色渐变到红色 */linear-gradient(to left top, blue, red);/* 从下到上,从蓝色开始渐变、到高度40%位置是绿色渐变开始、最后以红色结束 */linear-gradient(0deg, blue, gr原创 2022-02-17 16:06:08 · 88 阅读 · 0 评论 -
集合-将list的新旧数据做对比
集合-将list的新旧数据做对比一、String集合// 建立新的ListList<String> newList = new ArrayList<String>();newList.add("1");newList.add("2");newList.add("3");newList.add("5");newList.add("7");newList.add("9");// 建立一个原有的ListList<String> oldList = new原创 2021-12-13 10:44:42 · 547 阅读 · 0 评论 -
SecureFX_CRT安装
SecureFX_CRT_9安装和注册SecureFX_CRT下载地址:一、安装运行SecureFX_CRT安装程序二、注册注册SecureFX1、进入安装的目录(我的安装目录是C:\Program Files\VanDyke Software\Clients)2、把SecureFX register.exe和keygen.exe复制到安装目录下(C:\Program Files\VanDyke Software\Clients)3、以管理员方式运行SecureFX regis原创 2021-12-03 15:03:47 · 718 阅读 · 0 评论 -
批处理--删除当前目录及子目录中的空文件夹或文件
批处理–删除当前目录及子目录中的空文件夹第一种方式`@echo offecho.echo 正在删除当前目录及子目录中所有的空文件夹,请稍后......echo -------------------------------------------------------------cd. > listnull.txtfor /f "delims=" %%i in ('dir /ad /b /s') do (dir /b "%%i" | findstr .>nul || echo原创 2021-11-24 09:31:20 · 2593 阅读 · 0 评论 -
wps表格匹配两组数据
数据准备中原创 2021-11-11 10:43:52 · 4138 阅读 · 0 评论 -
web前端缓存openDatabase
openDatabase–>ts语法// 这样就不必再App.module.ts 引入@Injectable({ providedIn: 'root'})export class DatabaseService { win: any = window; dataSource: any; constructor( ) { this.initDB(); } // window.openDatabase("数据库名字",原创 2021-11-09 10:50:08 · 1514 阅读 · 0 评论 -
Git查看/回滚指定版本代码
Git回到指定版本步骤一在项目目录下右键选择Git Bash Here,然后输入git log步骤二复制git的历史版本号步骤三回到指定版本git checkout f4e3cc0888c52899199276571f0298f5e7443ce0(checkout 版本号)原创 2021-11-01 14:39:03 · 350 阅读 · 0 评论 -
wps表格组合实体类
wps表格组合实体类把整理好的数据组合成实体类的样式整理好数据,准备整合组合成实体类的样式步骤1、在前两个A填上数字,选中第一个A到第二个D,然后向下拖到结尾2、定位空值,并填充3、合拼数据,得到结果...原创 2021-10-28 11:12:33 · 143 阅读 · 0 评论 -
TS格式化时间(适用于标准时间、时间戳等)
TS格式化时间(适用于标准时间、时间戳等)/** * 时间工具类 */export class DateUtil { /** * 格式化时间 * 调用formatDate(strDate, 'yyyy-MM-dd'); * @param strDate(中国标准时间、时间戳等) * @param strFormat(返回格式) */ public formatDate(strDate: any, strFormat?: any){原创 2021-10-26 17:16:56 · 6490 阅读 · 0 评论 -
QueryWrapper常用方法
QueryWrapper常用方法MybatisPlus 使用QueryWrapper测试用例一、ge、gt、le、lt、isNull、isNotNull@Testpublic void testQuery() {QueryWrapper<User>queryWrapper = newQueryWrapper<>(); queryWrapper .isNull("name") .ge("age", 12)原创 2021-10-22 16:02:14 · 70848 阅读 · 5 评论 -
DOC 命令大全
DOC命令大全目录文章目录DOC命令大全IIS服务命令:FTP 命令:macdef 定义宏命令:MYSQL 命令:win2003系统下新增命令(实用部份):Linux系统下基本命令: 区分大小写windows 系统下CMD命令大全:批处理命令与变量终端服务密码破解 tscrack:扫描工具:xscan:FTP的命令行格式为:命令行方式嗅探器xsniff:其他IIS服务命令:iisreset /reboot 重启win2k计算机(但有提示系统将重启信息出现)iisreset /start或stop原创 2020-12-01 22:21:17 · 1245 阅读 · 0 评论 -
Typora(使用教程)
Typora 使用教程快捷键Ctrl+1 一阶标题 Ctrl+B 字体加粗Ctrl+2 二阶标题 Ctrl+I 字体倾斜Ctrl+3 三阶标题 Ctrl+U 下划线Ctrl+4 四阶标题 Ctrl+Home 返回Typora顶部Ctrl+5 五阶标题 Ctrl+End 返回Typora底部Ctrl+6 六阶标题 Ctrl+T 创建表格Ctrl+L 选中某句话 Ctrl+K 创建超链原创 2020-12-01 21:25:19 · 1049 阅读 · 0 评论