Skip to content

Instantly share code, notes, and snippets.

@b0gdanw
b0gdanw / Disable-Sequoia-Bloatware.sh
Last active October 22, 2025 00:26
Disable Sequoia Bloatware
#!/bin/zsh
# WARNING! The script is meant to show how and what can be disabled. Don’t use it as it is, adapt it to your needs.
# Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3
# Disabling unwanted services on macOS Big Sur (11), macOS Monterey (12), macOS Ventura (13), macOS Sonoma (14) and macOS Sequoia (15)
# Disabling SIP is required ("csrutil disable" from Terminal in Recovery)
# Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist, disabled.501.plist
# To revert, delete /private/var/db/com.apple.xpc.launchd/ disabled.plist and disabled.501.plist and reboot; sudo rm -r /private/var/db/com.apple.xpc.launchd/*
# user
- name: Overprovision like the pros'
hosts: all
tasks:
- name: Install early OOM killer and zram
ansible.builtin.apt:
pkg:
- earlyoom
- zram-tools
- name: Configure early OOM killer
ansible.builtin.lineinfile:
@thefonso
thefonso / disable.sh
Last active October 22, 2025 00:25
turn off mac SIP system security Kill Airplay
#!/bin/bash
# IMPORTANT: You will need to disable SIP aka Rootless in order to fully execute this script, you can reenable it after.
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
# Agents to disable
TODISABLE=('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' 'com.apple.AirPortBaseStationAgent' 'com.apple.CalendarAgent' 'com.apple.DictationIM' 'com.apple.iCloudUserNotifications' 'com.apple.familycircled' 'com.apple.familycontrols.useragent' 'com.apple.familynotificationd' 'com.apple.gamed' 'com.apple.icloud.findmydeviced.findmydevi
@quagliato
quagliato / select_estados.html
Last active October 22, 2025 00:25
<select> com todos os estados brasileiros
<select id="estado" name="estado">
<option value="AC">Acre</option>
<option value="AL">Alagoas</option>
<option value="AP">Amapá</option>
<option value="AM">Amazonas</option>
<option value="BA">Bahia</option>
<option value="CE">Ceará</option>
<option value="DF">Distrito Federal</option>
<option value="ES">Espírito Santo</option>
<option value="GO">Goiás</option>
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active October 22, 2025 00:20
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active October 22, 2025 00:18
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@Paraphraser
Paraphraser / Compiling GoSungrow.md
Last active October 22, 2025 00:13
Compiling GoSungrow

Updating GoSungrow

This gist is intended to help you deal with the following error messages:

  • Error: appkey is incorrect 'er_invalid_appkey
  • Error: unknown error 'Request is not encrypted'

This gist has four parts. The instructions you should follow depend on what you want to do:

| Part | Explains how to |

@TrueMyst
TrueMyst / README.md
Last active October 22, 2025 00:12
☕ BeatPrints: Get your user token from MusixMatch

☕ Welcome! This guide will help you to learn how to retrieve your user token from MusixMatch.

You might ask why?

Well, first of all, it's really hard to get an API key from MusixMatch for Developers. I've been told by a lot of people that they struggle with the login page there and never make out of it, so I found a solution for that.

📋 It is recommended to use Firefox browser for this.

Step 1: First of all, go to MusixMatch and click on the login button on the top right of the screen.
Step 2: Select "Community" as your product and sign in using your Google account.
Step 3: Go back to MusixMatch, press F12 on your keyboard, and then press Ctrl + R.

@Klerith
Klerith / testing-configuration.md
Last active October 22, 2025 00:12
Configuración de Vitest + React Testing Library