Skip to content

Instantly share code, notes, and snippets.

View downthecrop's full-sized avatar

downthecrop downthecrop

View GitHub Profile
@macshome
macshome / defang.md
Last active May 8, 2025 09:21
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.)

@echo off
if not defined in_subprocess (cmd /k set in_subprocess=y ^& %0 %*) & exit
SetLocal EnableDelayedExpansion
set worlds=2 3 4 5 6 7 9 10 11 12 13 14 17 18 19 20 21 22 27 28 29 30 33 34 36 38 41 42 43 44 46 49 50 51 53 54 58 59 60 61 62 65 66 67 68 69 70 73 74 75 76 77 78 86
set pos=0
set found=false
@brotime
brotime / poolside.fm tracks
Created January 3, 2016 15:05
poolside.fm tracks as of 01.03.16
https://soundcloud.com/braxe1/3-voices
https://nextpreview.soundcloud.com/futureclassic/touch-sensitive-pizza-guy-3
https://soundcloud.com/foolsgoldrecs/grown-up-explicit
https://soundcloud.com/bondax/no-diggity
https://soundcloud.com/lordrecollectif/vanderway-early
https://soundcloud.com/electrocookie/metric-help-im-alive-the-twelves-remix
https://soundcloud.com/timsweeney/paradisbisrecords
https://soundcloud.com/itsindoorsoutdoors/cruiser-kidnap-me
https://soundcloud.com/greatgoodfineok/youre-the-one-for-me
https://soundcloud.com/oxfordsounds/goldroom-feat-chela-fifteen
@matthutchinson
matthutchinson / poolsider
Created February 5, 2015 20:32
Grab all http://poolside.fm tracks from SoundCloud with this one weird trick!
#!/bin/sh -x
# no python3 (pip3) or curl? use this
# brew install python3 curl
# https://github.com/flyingrub/scdl
# pip3 install scdl
curl -s http://poolsideapi2.herokuapp.com/tracks?p=2 | grep -o '"scUrl": ".*",$' | sed -E 's/("scUrl": "|",.*$)//g' | xargs -I 'url' scdl -l url --hidewarnings