mac-howto
ipad air 5 64G 选购依据
产品对比官网: iPad Air (4th generation) vs iPad Air (5th generation) vs iPad Pro 11‑in. (3rd generation) - Apple
4 代和 4 代的差异主要体现在芯片上,我的电脑就是 intel,现在想试试 m1 芯片,所以 4 代不考虑了:
ipad 上玩音乐创作还是一绝的,这种场景需要屏幕相对较大,所以不考虑 mini 的主要原因是这个:
我之前就想要紫色来着,可惜当时看的没有货,只有蓝色,我手机就是蓝色:
总结一下的话就是:
- 不选 mini 是因为屏幕太小,不适合艺术创作;
- 不选 air 4 是因为芯片不是 m1;
- 不选 pro 是因为性能过剩; 只选 64g 是因为家庭基于无线与外接硬盘已经足够;综上,air 5 64g 紫色这一款是满足我需求性价比最高的产品。
最后,感谢文文姐给我预付款:
numbers
trigger applescript within numbers
ref:
mac switch between hidden/minimized tabs
值得注意的是,mac 对 hidden 与 minimize 是两种不同的处理方式,当我们 minimize 一个程序的时候,我们是没法通过 command + tab 方式再次切换过去的,它几乎消失了。
如果我们想在 command+tab 中还能找到它,我们要用 command+Hidden 去隐藏,而非 command+Minimize 去最小化。
此话,我们还可以用 option+command+Hidden,去只显示当前窗口,而隐藏所有其他窗口,这非常方便可以看到桌面的样子。
ref:
mac 录屏
为什么 mac 录屏无法录制耳机(系统输出)
ref:
mac dict config
how to disable iphone copy ...
ref
how to disable floating window after macOS screenshot
ref:
mac file system management
trash
position: ~/.Trash
open trash:
open ~/.Trash
ref
远程控制 windows
ref
add filepath into python path permanently
- we need to add path into
$PYTHONPATH
, instead of$PATH
- we should add into
~/.zshrc
, as well as~/.bashrc
in case that running py under any circumstance.
evidence:
ref
how to configure permanent environment variable?
I tried but to find only if I push A=xxx
into .zshrc
file can it work rather than into .bashrc
which even causes to the garbled(乱码) output.
For example, I will use this:
echo "\nhjxh=/Users/mark/Documents/mark_projects/皇家小虎/HJXH/hjxh_express_match
zkj=101.43.125.199\n" >> ~/.zshrc
source ~/.zshrc
so I can see the tail of file changes into:
Can local dns set and work for chrome? [No, it can't]
But, I can still use the local DNS for terminal use, e.g, when I added 101.43.125.199 zkj
then I can DIRECTLY see the zkj
as an alias of 101.43.125.199
since my MacOS would help me do the right thing:
Compared to export variable into PATH file, this method's best advantage is that I do not need to write a $
prefix and at the same time, the shortage is that it can only work for IP address while in PATH file I can define more variables.
However I can't let it work in the chrome, which seems a bit disappointing.
ref
how to uninstall Microsoft AutoUpdate and microsoft worksuits
- locate the microsoft auto-update application
At this step, I used the Alfred to help me goto the target position, just enable the alfred search by start with a /
.
quit its running process, and then delete it.
deleting all the microsoft work suit, since they seem not helpful than the wps and the experience is rather terrible.
ref
how to disable sudo password
see: https://jefftriplett.com/2022/enable-sudo-without-a-password-on-macos/
sudo visudo
change:
%admin ALL = (ALL) ALL
to:
%admin ALL = (ALL) NOPASSWD: ALL
re-login may need.
TODO: how to symlink /home
to /Users
I did it in recovery mode on Ventura
system, with shift + command + t
to open hidden terminal, and executed the following:
mount -uw /
ln -s /Users /home
ls /home
# out: share
It's OKAY, but it won't after I rebooted.
ref: - unix - Mac OS X - How to Symlink /home to /Users - Ask Different