随笔分类 -  其他

摘要:github地址: https://github.com/Schniz/fnm 1. 系统属性新建FNM_DIR变量值C:\Program Files\fnm-windows (替换为自己的Fnm安装路径) 2. 系统属性找到path新建 %FNM_DIR% 3. 新建start.cmd @echo 阅读全文
posted @ 2025-03-04 11:03 coffeemil 阅读(509) 评论(0) 推荐(0)
摘要:要让浏览器缓存视频,您需要使用Nginx配置HTTP响应标头,告诉浏览器何时可以缓存视频以及缓存多长时间。以下是一个示例配置文件: server { listen 80; server_name example.com; root /var/www/html; location /videos/ { 阅读全文
posted @ 2023-03-23 13:27 coffeemil 阅读(942) 评论(0) 推荐(0)
摘要:npm npm install -g npm npm仍然提供了一个非常有用的解决方案,支持大量的测试用例。大多数开发人员使用原始npm客户端仍然可以做得很好 cnpm npm install -g cnpm --registry=https://registry.npm.taobao.org cnp 阅读全文
posted @ 2022-03-20 19:29 coffeemil 阅读(79) 评论(0) 推荐(0)
摘要:vue2.x 代码片段 { "Print to console": { "prefix": "vCom", "body": [ "<template>", " <div>", " <!-- -->", " </div>", "</template>", "<script>", "export def 阅读全文
posted @ 2022-01-21 15:55 coffeemil 阅读(44) 评论(0) 推荐(0)
摘要:sed -i "s|enabled=1|enabled=0|g" /etc/yum/pluginconf.d/fastestmirror.conf mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backu 阅读全文
posted @ 2021-12-26 22:36 coffeemil 阅读(34) 评论(0) 推荐(0)
摘要:#region #endregion 阅读全文
posted @ 2021-11-17 11:24 coffeemil 阅读(298) 评论(0) 推荐(0)
摘要:搜索Windows PowerShell 以管理员身份运行 set-executionpolicy remotesigned 选A 阅读全文
posted @ 2021-10-11 01:25 coffeemil 阅读(562) 评论(0) 推荐(0)
摘要:1.启动 # ./sbin/nginx -c ./nginx/conf/nginx.conf 2.停止 ./sbin/nginx -s quit 正常停止 ./sbin/nginx -s stop 强制停止 3.重启 ./sbin/nginx -s reload 阅读全文
posted @ 2021-08-19 18:33 coffeemil 阅读(60) 评论(0) 推荐(0)
摘要:1.选取与选中相同的文字 //下一行Ctrl+D //选中所有 Crtl + Shift + L 2.Ctrl+Shift+P 调出用于执行命令的输入框 3.Ctrl+~ 调出cmd窗口 阅读全文
posted @ 2021-07-11 01:12 coffeemil 阅读(168) 评论(0) 推荐(0)
摘要:1.Chinese (Simplified) Language Pack for Visual Studio Code //中文汉化 2.JS-CSS-HTML Formatter //格式化插件 Ctrl+Shit+P 选择 Configure Display Language zh-cn 3.v 阅读全文
posted @ 2021-06-05 23:45 coffeemil 阅读(97) 评论(0) 推荐(0)
摘要:环境: 服务器 CentOS6.7 + git(version 1.7.1) 客户端 Windows7 + git(version 2.8.4.windows.1) 1.安装 Git #yum install -y git 安装完后,查看 Git 版本 [root@localhost ~]# git 阅读全文
posted @ 2021-04-19 23:56 coffeemil 阅读(189) 评论(0) 推荐(0)
摘要:指令注释 git init 初始化 git config --global user.name "姓名" 配置姓名 git config --global user.email "邮箱" 配置邮箱 git add ./ 添加到待提交 git commit -m "注释" 提交修改 git reset 阅读全文
posted @ 2020-11-19 21:44 coffeemil 阅读(87) 评论(0) 推荐(0)