上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 20 下一页
摘要: 前端实现图片一次全部下来后,在调图片显示 var imgsrc=[ "http:/XXX01.jpg", "http://XXX02.jpg", "http://XXX0.jpg" ]; var imgArr = [] for (var i = 0; i < imgsrc.length; i++){ 阅读全文
posted @ 2023-12-28 16:38 ziff123 阅读(46) 评论(0) 推荐(0)
摘要: css 属性 Overflow 可以实现溢出显示滚动条 overflow: scroll; 或 overflow-y: auto overflow-x: auto 实现div元素滚动条默认滚动到最底端 使用场景:聊天信息框 需要了解几个属性和方法: scrollHeight:元素高度 (包含滚动条隐 阅读全文
posted @ 2023-12-28 14:20 ziff123 阅读(2986) 评论(0) 推荐(0)
摘要: java: /** * sha1加密 * * @param encryptText 加密文本 * @param encryptKey 加密键 * @return 加密 */ private static String hmacSHA1Encrypt(String encryptText, Strin 阅读全文
posted @ 2023-12-18 11:20 ziff123 阅读(417) 评论(0) 推荐(0)
摘要: java中的System.currentTimeMillis()返回从1970年1月1日开始的以毫秒为单位的当前时间 public static long DateTimeToTimestamp() { DateTime Jan1970 = new DateTime(1970, 1, 1, 0, 0 阅读全文
posted @ 2023-12-18 10:56 ziff123 阅读(178) 评论(0) 推荐(0)
摘要: pyhon 调selenium报: selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chro 阅读全文
posted @ 2023-12-06 15:32 ziff123 阅读(722) 评论(0) 推荐(1)
摘要: 1、打开PowerShell,输入以下命令,该命令会创建一个证书,并颁发给localhost New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname localhost -NotAfter 2060-01 阅读全文
posted @ 2023-11-20 09:15 ziff123 阅读(522) 评论(0) 推荐(0)
摘要: /// <summary> /// INI文件读写类。 /// </summary> public class INIFile { public string path; public INIFile(string INIPath) { path = INIPath; } [DllImport("k 阅读全文
posted @ 2023-10-25 16:04 ziff123 阅读(95) 评论(0) 推荐(0)
摘要: 一、typeScript安装以及基础编译 npm i -g typescript 安装完,进入ts文件的项目目录下,在命令行执行 tsc hello.ts(hello.ts是ts文件,执行这个命令可以把ts文件编译为hello.js文件) tsc hello.ts 这个命令,ts文件里的代码每改变一 阅读全文
posted @ 2023-10-13 17:35 ziff123 阅读(1642) 评论(0) 推荐(0)
摘要: #region 向当前活动文本框输入文字 /// <summary> /// 向当前活动文本框输入文字 /// new SendMsg().SendText("你要输入的字符串"); /// </summary> public class SendMsg { [DllImport("user32.d 阅读全文
posted @ 2023-10-13 17:05 ziff123 阅读(193) 评论(0) 推荐(0)
摘要: 1、查看串口 ls -l /dev/ttyACM0 crw-rw 1 root dialout 166, 0 5月 24 17:17 /dev/ttyACM0 2、可以看到用户 (owner 是 root)而所属用户组为 dialout, 因此一种方法是把我们的登陆账号加入到这个用户组。 查看系统用 阅读全文
posted @ 2023-09-19 10:29 ziff123 阅读(1407) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 20 下一页