上一页 1 2 3 4 5 6 7 8 ··· 18 下一页
2024年1月13日
摘要: 1、 var str = "<h1>这是一个标题</h1>"; var parser = new DOMParser(); var doc = parser.parseFromString(str, "text/html"); var html = doc.body.firstChild; // 封 阅读全文
posted @ 2024-01-13 09:51 laremehpe 阅读(111) 评论(0) 推荐(0) 编辑
2024年1月12日
摘要: pagination3( total: number, // 500 总共500条内容 pageSize: number, // 50 一页显示50条内容 current: number, // 1 当前第几页内容 paginationSize: number = 10 // 可以显示多少个页码 ) 阅读全文
posted @ 2024-01-12 11:30 laremehpe 阅读(2) 评论(0) 推荐(0) 编辑
2024年1月11日
摘要: function isNaN(num) { return typeof num "number" && num !== num; } 判断number: function isNumber(num) { return typeof num "number" && num num; } 阅读全文
posted @ 2024-01-11 17:50 laremehpe 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Array.prototype.forEach = function (cb) { for (var i = 0; i < this.length; i++) { cb(this[i], i, this); } }; Array.prototype.map = function (cb) { var 阅读全文
posted @ 2024-01-11 10:50 laremehpe 阅读(2) 评论(0) 推荐(0) 编辑
2024年1月9日
摘要: 在项目根目录下创建文件:.prettierrc 输入一下内容: 保存即可 { "htmlWhitespaceSensitivity": "ignore" } 阅读全文
posted @ 2024-01-09 09:34 laremehpe 阅读(364) 评论(0) 推荐(0) 编辑
2024年1月4日
摘要: WCHAR* concatWcharStr(const WCHAR* str1, const WCHAR* str2) { size_t len1 = wcslen(str1) * 2; size_t len2 = wcslen(str2) * 2; size_t len3 = len1 + len 阅读全文
posted @ 2024-01-04 14:37 laremehpe 阅读(74) 评论(0) 推荐(0) 编辑
2024年1月3日
摘要: // main.cpp#include <stdio.h> #include <iostream> #include <string> #include "md5.h" #include <fstream> using namespace std; int getFileSize(ifstream* 阅读全文
posted @ 2024-01-03 16:06 laremehpe 阅读(39) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <iostream> #include <string> #include <windows.h> #include <fstream> using namespace std; void writeFile(string path,strin 阅读全文
posted @ 2024-01-03 10:25 laremehpe 阅读(18) 评论(0) 推荐(0) 编辑
2023年12月29日
摘要: 下载php非线程安全版本: https://windows.php.net/downloads/releases/archives/ 重命名php.ini-recommend >php.ini 修改配置文件: 其中wwwroot为项目文件夹: 在wwwroot下创建index.php等会可以用到 添 阅读全文
posted @ 2023-12-29 15:12 laremehpe 阅读(6) 评论(0) 推荐(0) 编辑
2023年12月28日
摘要: 打开regedit 注册表编辑器 找到 HKEY_CLASSES_ROOT 新建 如下目录 "C:\Windows\System32\cmd.exe" "%1" 最后在浏览器中输入 cmd:// 即可打开cmd #include <stdio.h> #include <iostream> #incl 阅读全文
posted @ 2023-12-28 23:30 laremehpe 阅读(103) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 18 下一页