摘要: ```javascript // 生成6位随机 function generateMixed(n = 6) { var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; var res = ""; for (var i = 0; i < n; i++) 阅读全文
posted @ 2023-06-08 11:05 刺头 阅读(9) 评论(0) 推荐(0) 编辑
摘要: ngxin 配置 location /napi { proxy_pass http://127.0.0.1:7018; proxy_set_header Host $host:$server_port; proxy_set_header X-Real-IP $remote_addr; proxy_s 阅读全文
posted @ 2023-05-02 11:18 刺头 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 延迟执行 function debounce(wait) { var timer = null; return function (fn) { if (timer !== null) { clearTimeout(timer); } timer = setTimeout(fn, wait); }; 阅读全文
posted @ 2022-10-04 13:13 刺头 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 💖 Use the following command: cmd < command.txt Or: type command.txt|cmd 阅读全文
posted @ 2022-08-13 01:12 刺头 阅读(78) 评论(0) 推荐(0) 编辑
摘要: // 查询指定端口号状态 netstat -ano | findstr "3306" 阅读全文
posted @ 2022-07-15 14:04 刺头 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 安装 7z { "scripts": { "start": "electron .", "pack": "electron-builder --dir", "7z": "7z a ./dist/%npm_package_name%_%npm_package_version%.zip ./dist/w 阅读全文
posted @ 2022-07-12 10:51 刺头 阅读(666) 评论(0) 推荐(0) 编辑
摘要: choco 设置永久代理 choco config set proxy http://localhost:8888 choco install wamp -y --proxy http://127.0.0.1:1080 win11 系统丢失MSVCR110.dll choco install vcr 阅读全文
posted @ 2022-06-20 22:34 刺头 阅读(56) 评论(0) 推荐(0) 编辑
摘要: # 1 sudo add-apt-repository ppa:savoury1/ffmpeg4 # 2 sudo add-apt-repository ppa:savoury1/graphics sudo add-apt-repository ppa:savoury1/multimedia # 3 阅读全文
posted @ 2022-06-15 10:15 刺头 阅读(105) 评论(0) 推荐(0) 编辑
摘要: https://search.censys.io/search?resource=hosts&sort=RELEVANCE&per_page=25&virtual_hosts=EXCLUDE&q=services.http.response.headers.location%3A+account.j 阅读全文
posted @ 2022-06-12 09:45 刺头 阅读(120) 评论(0) 推荐(0) 编辑
摘要: scoped .wrapper >>> .swiper-pagination-bullet-active{ background: #fff; } .wrapper /deep/ .swiper-pagination-bullet-active{ background: #fff; } 阅读全文
posted @ 2022-06-12 09:21 刺头 阅读(15) 评论(0) 推荐(0) 编辑