Skip to main content

3 posts tagged with "tips"

View All Tags

Thêm font cho Linux

· One min read
Doko
Writer
  1. Mở console.
  2. cd vào folder $HOME.
  3. Copy các file font vào đây.
info

Có thể dùng script sau để tách font từ mkv, cần cài đặt thêm mkvmerge:

  1. Update font cache:
fc-cache -fv
  1. Xong.

Kill the Terminal and disable its session restoration

· 2 min read
Doko
Writer

The problem

When developing apps using React Native, I realized that every time the packager opens, it will spawn a new process of Terminal (Mac OS built-in shell app). This behavior is not too complicated to deal with if you are only using in local development. Right click > Quit and everything will be done.

But with CI / CD, it's another story.

Disable MDM on Mac OS Big Sur

· One min read
Doko
Writer

There are several ways to disable MDM on Mac OS. If you don't know what they are, you can do a quick search on Google.

Anyway this is what needed to be done: Edit hosts file:

sudo nano /private/etc/hosts

(You might be asked for your password)

Then append these lines:

0.0.0.0 iprofiles.apple.com // [!code ++]
0.0.0.0 mdmenrollment.apple.com
0.0.0.0 deviceenrollment.apple.com
0.0.0.0 gdmf.apple.com

And DO NOT append this line:

0.0.0.0 albert.apple.com