Skip to content

Instantly share code, notes, and snippets.

View andresrinivasan's full-sized avatar

André Srinivasan andresrinivasan

View GitHub Profile
@AppleBoiy
AppleBoiy / alias_eza.md
Last active March 11, 2026 04:15
eza-ls

Alias eza for ls command

Put to shell configure file

first install eza by homebrew

brew install eza

Basic setup

@AndrewSouthpaw
AndrewSouthpaw / calendarCopy.js
Last active January 22, 2026 19:41
Google Apps script to copy personal events and block those times in your work calendar.
// *******************
// Contributors:
// - Andrew Smith (@AndrewSouthpaw)
// - Shaun Mosley (@Shaunm44)
// *******************
// This setup will allow you to synchronize personal events from one calendar (the "secondary calendar")
// to another calendar, e.g. work (the "primary calendar"), but obfuscate the details. Then your coworkers
// know when you're busy but don't get to see the personal details.
//
@a7ul
a7ul / jamf.md
Last active September 2, 2025 18:19
removing all restrictions on jamf managed macos device - Provided you have root access.

REMOVE JAMF RESTRICTIONS ON MAC

REMOVE ONLY RESTRICTIONS

sudo jamf removeMDMProfile removes all restrictions

sudo jamf manage brings back all restrictions and profiles

REMOVE ALL RESTRICTIONS AND DISABLE JAMF BINARIES WHILE KEEPING YOUR ACCESS TO VPN AND OTHER SERVICES

sudo jamf removeMDMProfile removes all restrictions

@masklinn
masklinn / cheatsheet.md
Last active March 5, 2026 04:00
launchctl/launchd cheat sheet

I've never had great understanding of launchctl but the deprecation of the old commands with launchctl 2 (10.10) has been terrible as all resources only cover the old commands, and documentation for Apple utilities is generally disgracefully bad, with launchctl not dissembling.

Mad props to https://babodee.wordpress.com/2016/04/09/launchctl-2-0-syntax/ which contains most details

domains

Internally, launchd has several domains, but launchctl 1 would only ask for service names,

Short name Full name
csr       certificatesigningrequests
cs componentstatuses
cm configmaps
ds daemonsets
deploy deployments
ep endpoints
ev events
hpa       horizontalpodautoscalers