Skip to content

Instantly share code, notes, and snippets.

@huanggm
Last active November 28, 2021 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save huanggm/86b74afb7ea9d6d9e0ba6c54e4c9a27a to your computer and use it in GitHub Desktop.
Save huanggm/86b74afb7ea9d6d9e0ba6c54e4c9a27a to your computer and use it in GitHub Desktop.
初始化一台电脑需要的软件

软件

谷歌浏览器

登陆谷歌账号-同步主题和插件
安装DevDocs应用

iterm2

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不起作用

homebrew

安装命令:/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

oh-my-zsh

安装命令: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-autosuggestions

zsh-vscodee
git clone https://github.com/valentinocossar/vscode.git $ZSH_CUSTOM/plugins/vscode

plugins=(git zsh-autosuggestions vscode autojump)

nvm

安装命令:curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash
nvm list
nvm install v14
nvm install v12

nrm

安装命令: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 "your_email@example.com"
把~/.ssh/id_rsa.pub内容添加到github和gitlab中
ssh -T git@github.com

git 配置

git config --global user.name "XXX"
git config --global user.name
git config --global user.email "XXX@email.com"
git config --global user.email

配置workspace级别的配置,可以在~/.gitconfig中增加相应的基于文件夹的配置

[user]
	name = XXX
	email = XXXXXX@YYYYYY.com

[includeIf "gitdir:~/workspace/github-mine/"]
	path = ~/workspace/github-mine/.gitconfig

[core]
	quotepath = false

~/workspace/github-mine/.gitconfig 配置内容

[user]
	name = abc
	email = abc@domain.com

通过gita来批量管理git仓库

microsoft-todo

vscode

Setting Sync 同步插件和设置

微信开发者工具

charles

// 测试Charles版本 4.2.8
Registered Name: https://zhile.io
License Key: 48891cf209c6d32bf4

mac QQ

mac 微信

钉钉

The Unarchiver

网易云音乐

IINA播放器

群晖笔记-note station

为知笔记 - 需要付费使用 - 暂时使用群会笔记代替

sequelpro 数据库客户端

postman free download

docker for mac

kubernetic - The Kubernetes Desktop Client

clashX - 科学上网mac客户端

trojan 客户端
在云主机上部署服务
bash <(curl -sL https://s.hijk.art/trojan.sh)
systemctl status trojan
实际不太建议自己搭建服务,之前使用的是vultr的机器,每次都需要花很长时间才能找到一个能用的ip,而且还必须是10美元的机器才行。5美元的机器不可能有可用ip。但是过一段时间又可能被封禁掉。后来还是花钱买服务吧。推荐使用这个收费服务

阿里 oss browser

网易mumu - 手游模拟器mac版

Xmind - 思维导图 - 可以直接使用免费试用版

Mac版PS 2020

链接: https://pan.baidu.com/s/1GcnN9foL-M2hqOvyYMQdyA 密码: atn0ia

百度网盘

Beyond Compare - 30天免费试用

腾讯会议

其他

输入法快捷键
取消所有快捷键
触摸板滚动方向
触摸板轻点
触摸板点击力度
鼠标跟踪速度
修改调整应用图标位置 删除dock栏图标
调整dock栏位置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment