Skip to content

Instantly share code, notes, and snippets.

@maffinca69
maffinca69 / appleshit.agents.cfg
Last active July 26, 2022 17:49
This is gist has been created on based post @nebular - https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3#gistcomment-3019082. Thanks all, who helped creating this script
com.apple.security.keychainsyncingoveridsproxy
com.apple.personad
com.apple.passd
com.apple.screensharing.MessagesAgent
com.apple.CommCenter-osx
com.apple.Maps.mapspushd
com.apple.Maps.pushdaemon
com.apple.photoanalysisd
com.apple.telephonyutilities.callservicesd
com.apple.AirPlayUIAgent
@tjjh89017
tjjh89017 / README.md
Created August 3, 2020 10:36 — forked from rafaelfess/README.md
EdgeOS: Scheduled PPPoE reconnect configuration #EdgeRouter

EdgeOS: Scheduled PPPoE reconnect configuration

It will restart the PPPoE connection every day at 7a.m

The benefit to using the task-scheduler is that your commands get saved in config folder which ensures that they get copied over during firmware upgrades.

Creating the script file

cd /config/user-data && sudo mkdir scripts && sudo chown root scripts && cd scripts
@dchakro
dchakro / brew.installations.sh
Last active May 5, 2025 17:54
Make OSX great Again!
## Mac OS is my favorite operating system but some of the bundled CLI tools are either outdated or slow to the new-age counterparts
# With the hardworks of people over at Homebrew, getting alternatives is a breeze.
## Here's how to do it:
# STEP-1 Install brew.sh
# Visit https://brew.sh
# STEP-2 Install brewlog (allow you to keep a log of brew activity, i.e. where the files are installed, what modifications [if any] were done)
csrutil disable
sudo nvram boot-args="intcoproc_unrestricted=1 kext-dev-mode=1 amfi_allow_any_signature=1 amfi_unrestrict_task_for_pid=1 PE_i_can_has_debugger=1 cs_enforcement_disable=1 amfi_get_out_of_my_way=1 amfi=0xff cs_debug=1 ipc_control_port_options=0"
sudo spctl --global-disable
sudo defaults write /Library/Preferences/com.apple.security GKAutoRearm -bool NO
sudo defaults write /Library/Preferences/com.apple.security.coderequirements Entitlements -string always
sudo defaults write /Library/Preferences/com.apple.security.coderequirements AllowUnsafeDynamicLinking -bool YES
sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool YES
defaults write com.apple.loginwindow DisableScreenLockImmediate -bool yes
@niw
niw / README.en.md
Last active May 17, 2025 15:02
How to run Windows 10 on ARM or Ubuntu for ARM64 in QEMU on Apple Silicon Mac

How to run Windows 10 on ARM or Ubuntu for ARM64 in QEMU on Apple Silicon Mac

Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!

NOTE: that this is current, 10/1/2021 state.

Running Windows 10 on ARM

  1. Install Xcode from App Store or install Command Line Tools on your Mac
@qerub
qerub / index.md
Last active December 22, 2024 10:24
Useful macOS commands

How to list non-Apple kernel extensions

kextstat | egrep -v '\bcom.apple.'

How to restart the computer without having to manually unlock FileVault

sudo fdesetup authrestart
@git2358
git2358 / _verify-repair-permissions-disk.md
Created April 15, 2021 03:55 — forked from bzerangue/_verify-repair-permissions-disk.md
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /

@ThisIsNoahEvans
ThisIsNoahEvans / ccdl.command
Last active September 21, 2021 12:06 — forked from ayyybe/ccdl.command
Adobe Offline Package Generator v0.1.2 (macOS only)
#!/bin/bash
CYAN="$(tput bold; tput setaf 6)"
RESET="$(tput sgr0)"
clear
if command -v python3 > /dev/null 2>&1; then
if [ $(python3 -c "print('ye')") = "ye" ]; then
clear
BPUTIL(1) BSD General Commands Manual BPUTIL(1)
NAME
bputil -- Utility to precisely modify the security settings on Apple Sil-
icon Macs.
SYNOPSIS
bputil [-ldfgnmkcas] [-u username] [-p password]
[-v APFS Volume Group UUID]
@GetVladimir
GetVladimir / Force-RGB-Color-on-M1-Mac.md
Last active July 19, 2025 11:28
Force RGB Color on M1 Mac

Force RGB Color on M1 Mac

How to Force RGB Color Output instead of YPbPr on your M1 Apple Silicon Mac for an External Monitor.

This step-by-step video tutorial will guide you through the procedure of forcing RGB color output on your M1 Mac.

Force RGB Color on M1 Mac

Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4

The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed.