上一页 1 2 3 4 5 6 ··· 11 下一页

2023年6月17日

读取ftp以base64返回到前端

摘要: * 需求:库中存放文件服务器的文件绝对路径文件(`d:\abc\111\abc.pdf`),搭建的ftp会指向`d:\abc` ,故`ftp:/192.1.1.12:21/111/abc.pdf`能取到文件。请用C#代码并base64格式返回到前端。 ```cs using System; usin 阅读全文

posted @ 2023-06-17 16:00 anjun_xf 阅读(76) 评论(0) 推荐(0) 编辑

2023年5月5日

Object和Map比较

摘要: Object和Map,Map似Object(都存储键值对集合),但又有区别。 ==适用场景== Object:仅做数据存储,属性仅为string、Symbol;需要转为json传输; Map :会频繁更新或删除k-v;存储大量数据且key不知;频繁进行迭代处理 ==Object== const ob 阅读全文

posted @ 2023-05-05 20:19 anjun_xf 阅读(25) 评论(0) 推荐(0) 编辑

2023年3月20日

图片转pdf

摘要: 引用 iTextSharp dll itextsharp.dll(版本5.5.13.3) 、 Spire.Pdf.dll(版本9.2.6.0)、BouncyCastle.Crypto.dll /// <summary> /// 图片转pdf /// </summary> /// <param nam 阅读全文

posted @ 2023-03-20 16:03 anjun_xf 阅读(30) 评论(0) 推荐(0) 编辑

2023年2月7日

less

摘要: less,浏览器不识别。需要编译成css。 @import "comm.less";//引入less文件(模块化引入多个less) .box1{ border:1px solid red; .box2{//嵌套 font-size:12px; width:100px + 100px; height: 阅读全文

posted @ 2023-02-07 19:47 anjun_xf 阅读(15) 评论(0) 推荐(0) 编辑

2023年1月15日

windows下BAT实现守护进程

摘要: 通过bat守护特定exe @echo off :start choice /t 5 /d y /n >nul tasklist|find /i "程序名称.exe" if ERRORLEVEL 1 ( echo 无exe程序 start D:\程序名称.exe ) else (echo 有exe程序 阅读全文

posted @ 2023-01-15 16:54 anjun_xf 阅读(237) 评论(0) 推荐(0) 编辑

2022年12月14日

给含有关键词的label着色

摘要: 给含有关键词的label着色 FineFileType() { let arr = document.querySelectorAll('.el-checkbox__label'); for (let index = 0; index < arr.length; index++) { const e 阅读全文

posted @ 2022-12-14 17:10 anjun_xf 阅读(17) 评论(0) 推荐(0) 编辑

2022年10月24日

查看oracle死锁

摘要: select A.sid, b.serial#, decode(A.type, 'MR', 'Media Recovery', 'RT','Redo Thread', 'UN','User Name', 'TX', 'Transaction', 'TM', 'DML', 'UL', 'PL/SQL 阅读全文

posted @ 2022-10-24 13:40 anjun_xf 阅读(98) 评论(0) 推荐(0) 编辑

2022年10月21日

多线程技术总结

摘要: csdn上笔记也多,但是用的不多,不用就忘了。博客线程笔记——技术笔记:.Net全套就业班视频教程 在多线程中的跨线程的方法调用就得用委托。 一个进程的多个线程间可相互访问。进程间通信用socket。一个进程里有多个线程,线程间通信用socket。 Redis是单线程。处理键值对时的value比较小 阅读全文

posted @ 2022-10-21 19:48 anjun_xf 阅读(25) 评论(0) 推荐(0) 编辑

2022年10月12日

input放入焦点,选中全部文本

摘要: async mounted(){ let inputList = document.querySelectorAll('input'); for (let index = 0; index < inputList.length; index++) { inputList[index].onfocus 阅读全文

posted @ 2022-10-12 15:13 anjun_xf 阅读(448) 评论(0) 推荐(0) 编辑

怎么减轻单次大查询数据库压力

摘要: 分多次查询,减少数据库压力 var pageList = new Dictionary<int, int>();//分批次查询 var pageSize = 10000;//每次返回1w条 float total = 总条数; var arr = (total / pageSize).ToStrin 阅读全文

posted @ 2022-10-12 13:35 anjun_xf 阅读(28) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 11 下一页

导航

TOP