Skip to content

Instantly share code, notes, and snippets.

View ivalsaraj's full-sized avatar
💭
Making ✨awesome things that helps ✨super awesome people 👩‍💻

Valsaraj R ivalsaraj

💭
Making ✨awesome things that helps ✨super awesome people 👩‍💻
View GitHub Profile
@ivalsaraj
ivalsaraj / mac-osx-tahoe-debloater-openclaw-2026.md
Created February 5, 2026 11:56
Mac mini optimiser/debloater for openclaw high performance (-30% RAM usage)

Manual Mode (Advanced Users) — Disable macOS “Bloat” Services with Full Control

This is the manual alternative to running the script. You’ll run each command yourself, service by service.

✅ What this does

  • Disables selected LaunchAgents (per-user) and LaunchDaemons (system) using launchctl bootout + launchctl disable.

❌ What this does NOT do

  • Does NOT delete apps from /System/Applications
  • Does NOT require disabling SIP / authenticated-root (this is launchctl-only)
@ivalsaraj
ivalsaraj / mac-osx-tahoe-debloater-2026.sh
Last active February 5, 2026 11:42
macOS Tahoe Debloat Script / osx optimiser (Disable System Bloat, Reduce CPU & RAM Usage)
#!/usr/bin/env bash
set -euo pipefail
# ============================================================
# macOS Lean Mode (Interactive) - Mac mini friendly
#
# ✅ Does:
# - Disable selected Apple LaunchAgents (per-user) and LaunchDaemons (system)
# using `launchctl bootout` + `launchctl disable`.
# - Creates a backup log so you can restore what was changed.
@ivalsaraj
ivalsaraj / worker.js
Created November 15, 2020 10:16 — forked from tobiaslins/worker.js
Notion Custom Domain using Cloudflare Workers + Splitbee Analytics
const MY_DOMAIN = "help.splitbee.io"
const START_PAGE = "https://www.notion.so/splitbee/Help-Center-bbf26e2b70574901b9c98e5d11e449de"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, HEAD, POST,PUT, OPTIONS",