Nov
01
How do I make an offline recovery USB for macOS?
Published 16:11 Nov 01, 2023 by @ezra.
#macOS#
You can use the command below to list which versions of macOS full installers are available to down...
May
02
Power your terminal using Tmux
Published 06:05 May 02, 2023 by @ezra.
#macOS#
Note
以下所有按键都区分大小写!
Tmux
安装
$ sudo apt install tmux # Debian/Ubuntu
$ sudo pacman -S...
Nov
23
VMWare Fusion Pro 11: Application cannot run correctly.
Published 12:11 Nov 23, 2018 by @ezra.
#Programming# If you cannot get VMWare Fusion Pro 11 for macOS to launch properly with this error message:
Pleas...
Feb
24
Remove all macOS generated invisible files
Published 23:02 Feb 24, 2018 by @ezra.
#macOS# Remove all macOS generated invisible files in current folder: both .DS_Store and ._XXXX files.
find ...
Feb
10
RSYNC Cheatsheet
Published 15:02 Feb 10, 2018 by @ezra.
#macOS#
Commands
Description
rsync /path/to/file.ext /path/to/dest
简单的复制文件 file.ext 到 /path...
Apr
13
Determining UTIs defined by App bundles
Published 12:04 Apr 13, 2017 by @ezra.
#Programming# We know that lsregister -dump is an option; however, I'm left to wonder if there isn't a better solu...
Feb
12
OS X: Problem with IntelliJ IDEA License Server on Sierra
Published 12:02 Feb 12, 2017 by @ezra.
#Programming# Using sudo ./IntelliJIDEALicenseServer_darwin_amd64 on macOS 10.12+ will be some problems like Permi...
Jan
02
How to hide the Spotlight icon from the Menu Bar
Published 12:01 Jan 02, 2017 by @ezra.
#Programming# If you never use the Spotlight feature on your Mac, or if you only use it from the Finder rather tha...
Nov
27
OS X: Best practical way to validate NSTouchBar items
Published 12:11 Nov 27, 2016 by @ezra.
#Programming# Protocol and extensions:
@available(macOS 10.12.1, *)
protocol TouchBarItemValidations: class {
...
Nov
12
OS X: Setting up Spotlight Control in OS X El Capitan to macOS Sierra
Published 12:11 Nov 12, 2016 by @ezra.
#Programming# OS X El Capitan introduced a new Security Feature called System Integrity Protection. With System In...
Aug
16
OS X: Simulating mouse input programmatically
Published 12:08 Aug 16, 2016 by @ezra.
#Programming# 玩过远程辅助工具小伙伴应该都对模拟鼠标事件不陌生, 要做到这件事, 可以使用 Quartz Event Services。
先来一个 Demo, 首先要引入 ApplicationServices:
...
Aug
10
Sierra: 找回消失的允许“任何来源”的应用
Published 12:08 Aug 10, 2016 by @ezra.
#Programming# 自从 Sierra 之后, 系统偏好设置 -> 通用 -> 允许以下位置下载的应用 中的 任何来源 便消失了。
为了找回它,我们打开 终端, 输入:
sudo spctl --master...