Skip to main content

2 posts tagged with "mac"

View All Tags

Kill the Terminal and disable its session restoration

· 2 min read

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

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: // [!code ++]

And DO NOT append this line: