本站提供的常用运维脚本(方便国内使用)
Linux换源
bash <(curl -sSL https://emohe.cn/mirrors.sh)
更换官方源
bash <(curl -sSL https://emohe.cn/mirrors.sh) --use-official-source true
一键安装Docker并配置镜像地址
bash <(curl -sSL https://emohe.cn/docker.sh)
清华源安装脚本:
bash <(curl -sSL https://emohe.cn/install.sh) --mirror Tuna
Liunx系统修改root密码,并开启root用户登录。
bash <(curl -sSL https://emohe.cn/root.sh)
Cursor无限重置试用脚本
- 使用
PowerShell
以管理员用户运行
irm https://gitee.com/wanfeng789/shell/raw/master/cursor.ps1 | iex
注意:Cursor重置脚本会修改系统注册表这可能会影响某些软件的授权状态和一些基于硬件标识的系统功能
- Windows禁用
Cursor
自动更新
1:关闭所有Cursor
进程
2:删除cursor-updater
文件夹:C:\Users\用户名\AppData\Local\cursor-updater
3:创建同名文件:cursor-updater
(注意是文件,不是文件夹,并且不能带任何扩展名)