摘要: open.js: const simpleGit = require('simple-git') const git = simpleGit('D:/source/edu-node-github'); const init = async () => { const status = await g 阅读全文
posted @ 2021-10-13 18:57 徐同保 阅读(0) 评论(0) 推荐(0) 编辑
摘要: tasklist | findstr nginx taskkill -PID 55232 -F taskkill -PID 59924 -F 阅读全文
posted @ 2021-10-13 16:31 徐同保 阅读(0) 评论(0) 推荐(0) 编辑
摘要: net stop nginx net start nginx 阅读全文
posted @ 2021-10-13 16:10 徐同保 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 或者: 阅读全文
posted @ 2021-10-13 15:24 徐同保 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 安装 choco Chocolatey Software | Installing Chocolatey 以管理员身份运行Windows Power Shell 执行下面的命令: Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Ne 阅读全文
posted @ 2021-10-13 14:49 徐同保 阅读(9) 评论(0) 推荐(0) 编辑
摘要: const net = require('net') const portUsed = (port) => { return new Promise((resolve, reject) => { let server = net.createServer().listen(port) server. 阅读全文
posted @ 2021-10-13 11:43 徐同保 阅读(11) 评论(0) 推荐(0) 编辑