黑苹果Config.plist文件常用修改项
###1.修改启动选项时间Root–>Misc—>Boot–>timeout项的number值改为想要等待的时间,单位秒###2.取消开机日志Root–>Misc—>Debug–>Target项的number值改为0即为关闭开机日志###3.声卡I
###1.修改启动选项时间Root–>Misc—>Boot–>timeout项的number值改为想要等待的时间,单位秒###2.取消开机日志Root–>Misc—>Debug–>Target项的number值改为0即为关闭开机日志###3.声卡I
1.安装 brew install cliclick 2.使用 # 打印当前鼠标位置 $ /usr/local/bin/cliclick p # 点击指定位置坐标 $ /usr/local/bin/cliclick c:x,y (x横坐标,y纵坐标) 3.python代码 import os import time cmd1 = "/usr/local/bin/cliclick c:3451,392" for i in range(5): mess1 = os.system(cmd1) print(mess1) time.sleep(1) print('----' + str(i+1) + '------')
1.查看EFI所在分区sudo diskutil list2. 挂载分区sudo diskutil mount disk0s1###3.允许任意安装源sudo spctl –master-disable4.查找端口对应的进程号#以5000端口为例lsof -i :5000# 杀死进程kill -9
1.comand + R 进入recover模式 2.清除格式化硬盘 3.reinstall mac 4.注意: 出现 this item is temporarily unavailable 开启mac按住:comand + option + r + p 重启多次后,再进入recovere模式
截图 command + shift + 4 休眠 command + option + power 复制 command + c 粘帖 command + v 剪切 command + option + v 搜索 command + 空格 访问网络共享 command + k 网页刷新 command + r 网页强制刷新 command + shift + r 应用退出全屏 command + ctrl + f
安装 /bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)" 卸载 /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/HomebrewUninstall.sh)"
1.首先确保已安装xcode和homebrew 2.安装 brew install node 3.检查 node -v npm -v 4.更换为淘宝镜像 sudo npm install -g cnpm --registry=https://registry.npm.taobao.org --verbose