mac

Install Homebrew & Basic Homebrew Setup

遇见问题:
==> Downloading and installing Homebrew...
fatal: unable to access 'https://github.com/Homebrew/brew/': Empty reply from server
Failed during: git fetch origin master:refs/remotes/origin/master --tags --force

解决:
vi /etc/hosts后加 192.30.253.113 github.com

Creating a .bash_profile on your mac
A typical install of OS X won't create a .bash_profile for you. When you want to run functions from your command line, this is a must-have.

Start up Terminal
Type "cd ~/" to go to your home folder
Type "touch .bash_profile" to create your new file.
Edit .bash_profile with your favorite editor (or you can just type "open -e .bash_profile" to open it in TextEdit.
Type ". .bash_profile" to reload .bash_profile and update any functions you add.

https://redfinsolutions.com/blog/creating-bashprofile-your-mac

XCODE
https://blog.csdn.net/kangguang/article/details/78935761
homebrew
https://www.cnblogs.com/xd502djj/p/6923690.html

Mac OS X mkdir: /home/test: Operation not supported
https://blog.csdn.net/jecons/article/details/8680100

chflags hidden abc
就可以隐藏。
chflags nohidden abc
就可以显示。

mac中怎样修改文件夹为只读
选中文件夹,command+i
共享与权限,把所有用户的权限设置为只读即可!
如果修改不了,先点右下角的小锁头,然后输入密码就可以修改了!

Mac 下修改intellij内存设置
选中intellij并右击后点击显示包内容,打开idea.vmoptions,修改为:

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容