Skip to content

Instantly share code, notes, and snippets.

@macshome
macshome / defang.md
Last active September 18, 2024 20:36
How to defang system protections on macOS

How to Defang macOS System Protections

If you want to change things on the root drive of a Mac you will need to take some steps to disable the built in security of the system. Most of these steps are the same regardless if you are on Intel or Apple Silicon. If there is a difference it is noted.

Note that all of these things put a Mac into an unsupported and less secure state.

Make sure you either perform these steps in a VM or that you reset the protections after you are done poking around

Protections and Terms

(This list is not exahustive on the details of each. Check the links at the end for more info.)

@quarbby
quarbby / countries.json
Last active June 8, 2024 08:44
JSON compilation of countries with timezone offset from UTC and Lat-Long data
// Json file of the countries of the world
// Fields:
// - name: name of country, String
// - timezone_offset: offset from UTC time, float
// - latlong: latitude and longtitude (N, E), String
// **************************************************************************************************************
// NOTE: REMOVE THESE COMMENTS BEFORE USING THIS FILE OTHERWISE IT IS NOT A VALID JSON FILE
// **************************************************************************************************************
{"countries":[