Archive

标签为 ‘Macos’的文章

我用过的MacBook

之前的笔记本都是公司发的,原来用的是Windows,联想居多,但不管多强大的电脑,用了1年左右后都会变慢,即使重装,也就只能缓解下,实在无法理解为什么?……2012年后,换了MACOS的电脑,发现打开了一扇崭新的大门~

关于MAC的使用技巧,可以参考我之前的总结:MacOS Tips

2012 – 2015

工欲善其事,必先利其器,武器都不好用,谈什么开心工作,如何提高效率,你说是不~ ?所以自从2012年后,办公主力电脑就换成了RMBP,如果记忆没错,那应该是第一代Retina屏幕的MBP,真的非常惊艳,下面是当时的配置:

完整阅读

MacOS 多用户场景下共享使用Brew

由于办公用的是自己的电脑,为了跟原有管理原账号分开,单独创建了一个办公账号,这样可以方便多场景使用,权限也被限制,但今天在尝试用brew安装软件时,会报下面的错误:

xxx@MacBook ~ % brew install wget
Error: /usr/local/Cellar is not writable. You should change the
ownership and permissions of /usr/local/Cellar back to your
user account:
  sudo chown -R $(whoami) /usr/local/Cellar
Error: The following directories are not writable by your user:

按照提示的操作,没多大用处,最后报下面错误:

xxx@MacBook ~ % brew install gettext
==> Downloading https://homebrew.bintray.com/bottles/gettext-0.21.big_sur.bottle
#=#=-#  #                                                                     
curl: (22) The requested URL returned error: 403 Forbidden
Error: Failed to download resource "gettext"

执行下面命令后,恢复正常使用:

sudo chown -R $(whoami) $(brew --prefix)/*

Install and deploy Cisco WAE 7.1.1

Introduction

I installed the WAE 6.4.5 at formal and summaried to Blog, e.g: INSTALL CISCO WAE 6.4.5. After 7.0, install/config have big change and similar with NSO that easy/module to deploy. For this article, only talk about how to install and enable.

Auto source profile

Similar with NSO, add “source” command to “.bash_profile” that in MacOS. That will let you direct to login to WAE but not do “source wae711/waerc”, as follow:

[root@frank ~]# echo "source /opt/wae711/waerc" >> .bash_profile
[root@frank ~]# more .bash_profile | grep wae
source /opt/wae711/waerc

完整阅读

MacOS Tips

版本不同,特性开启的方式会稍有不同。下面Tips更新时间也不相同,所以需要根据自己版本进行尝试,下面最新的更新版本是Monterey,12.0.1;

开启三指拖拽

System Preferences -> Accessibility -> Mouse & Trackpad -> Trackpad Options -> Enable dragging -> three finger drag

鼠标触控激活屏保并立即锁屏

System Preferences -> Desktop & Screen Saver -> Hot corners -> choose one corner and choose “Start Screen Saver”

解决windows10在fusion中分辨率的问题

  1. 在fusion的setting中启动Retina 显示,并开启自动调整
  2. 在win10中安装Vmware tools
  3. 在win10的Display中,选择高级scaling setting,打开“let windows try to fix apps ……”
完整阅读

在MacOS中部署Python虚拟开发环境

部署虚拟开发环境

虽然自己不是软件工程师,但有时候为了测试会写一些小程序,所以常常需要在自己电脑上设置开发环境。由于MacOS原生支持Python,所以我们可以不用那么麻烦的设置开发环境。但为了系统的稳定性,还是不要随便增加或变更自带的python,所以开发环境直接用虚拟环境就可以了,大概构架如下:

完整阅读
blonde teen swallows load.xxx videos