会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
刺头
博客园
首页
新随笔
联系
订阅
管理
2023年6月8日
js 生成函数
摘要: ```javascript // 生成6位随机 function generateMixed(n = 6) { var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; var res = ""; for (var i = 0; i < n; i++)
阅读全文
posted @ 2023-06-08 11:04 刺头
阅读(20)
评论(0)
推荐(0)
2023年5月2日
ngxin 配置 二级目录使用nodejs处理
摘要: 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:17 刺头
阅读(16)
评论(0)
推荐(0)
2022年10月4日
js 函数
摘要: 延迟执行 function debounce(wait) { var timer = null; return function (fn) { if (timer !== null) { clearTimeout(timer); } timer = setTimeout(fn, wait); };
阅读全文
posted @ 2022-10-04 13:13 刺头
阅读(23)
评论(0)
推荐(0)
2022年8月13日
cmd 文本作为命令使用
摘要: 💖 Use the following command: cmd < command.txt Or: type command.txt|cmd
阅读全文
posted @ 2022-08-13 01:12 刺头
阅读(84)
评论(0)
推荐(0)
2022年7月15日
win 端口号查询
摘要: // 查询指定端口号状态 netstat -ano | findstr "3306"
阅读全文
posted @ 2022-07-15 14:04 刺头
阅读(24)
评论(0)
推荐(0)
2022年7月12日
npm 命令打包
摘要: 安装 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 刺头
阅读(743)
评论(0)
推荐(0)
2022年6月20日
choco config
摘要: 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 刺头
阅读(79)
评论(0)
推荐(0)
2022年6月15日
FFMPEG 4.4 Ubuntu 20.04, 18.04
摘要: # 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 刺头
阅读(159)
评论(0)
推荐(0)
2022年6月12日
jetbrains
摘要: 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 刺头
阅读(234)
评论(0)
推荐(0)
vue style scoped 子组件问题
摘要: scoped .wrapper >>> .swiper-pagination-bullet-active{ background: #fff; } .wrapper /deep/ .swiper-pagination-bullet-active{ background: #fff; }
阅读全文
posted @ 2022-06-12 09:21 刺头
阅读(18)
评论(0)
推荐(0)
下一页
公告