登陆谷歌账号-同步主题和插件
安装DevDocs应用
In iTerm2 preferences, click on the "Keys" tab. In the bottom left, under "Hotkey", check "Show/hide iTerm2 with a system-wide hotkey" and assign the hotkey you'd like to use.
Command Line Tools
安装命令1:git --version
安装命令2:xcode-seleect --install
已经包含git
修改hosts
151.101.228.133 raw.github.com
151.101.108.133 raw.githubusercontent.com
accounts.google.com 以及 gist.github.com 修改hosts不起作用
安装命令:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
安装工具:brew install wget autojump yarn gawk mitmproxy gh cask ack
安装命令行常用工具:brew install navi
安装密码管理工具:brew install --cask keepassxc
安装java环境openJDK:brew install --cask temurin
安装画图工具graphviz:brew install graphviz
安装命令:sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
主题:ys
安装插件:zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionszsh-vscodee
git clone https://github.com/valentinocossar/vscode.git $ZSH_CUSTOM/plugins/vscodeplugins=(git zsh-autosuggestions vscode autojump)
安装命令:curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash
nvm list
nvm install v14
nvm install v12
安装命令:npm i -g nrm
nrm ls
nrm current
nrm use npm
nrm add hetao https://npm.corp.hetao101.com https://npm.corp.hetao101.com
nrm use hetao
npm adduser 创建账号
npm login 登录账号
ssh 配置
ssh-keygen -t rsa -C "[email protected]"
把~/.ssh/id_rsa.pub内容添加到github和gitlab中
ssh -T [email protected]
git 配置
git config --global user.name "XXX"
git config --global user.name
git config --global user.email "[email protected]"
git config --global user.email
配置workspace级别的配置,可以在~/.gitconfig中增加相应的基于文件夹的配置
[user]
name = XXX
email = [email protected]
[includeIf "gitdir:~/workspace/github-mine/"]
path = ~/workspace/github-mine/.gitconfig
[core]
quotepath = false
~/workspace/github-mine/.gitconfig 配置内容
[user]
name = abc
email = [email protected]
Setting Sync 同步插件和设置
// 测试Charles版本 4.2.8
Registered Name: https://zhile.io
License Key: 48891cf209c6d32bf4
kubernetic - The Kubernetes Desktop Client
trojan 客户端
在云主机上部署服务
bash <(curl -sL https://s.hijk.art/trojan.sh)
systemctl status trojan
实际不太建议自己搭建服务,之前使用的是vultr的机器,每次都需要花很长时间才能找到一个能用的ip,而且还必须是10美元的机器才行。5美元的机器不可能有可用ip。但是过一段时间又可能被封禁掉。后来还是花钱买服务吧。推荐使用这个收费服务
链接: https://pan.baidu.com/s/1GcnN9foL-M2hqOvyYMQdyA 密码: atn0ia
输入法快捷键
取消所有快捷键
触摸板滚动方向
触摸板轻点
触摸板点击力度
鼠标跟踪速度
修改调整应用图标位置
删除dock栏图标
调整dock栏位置