Skip to content

Instantly share code, notes, and snippets.

@mizlan
Last active January 5, 2023 04:08
Show Gist options
  • Save mizlan/e752f992a07c609eabaee60770014bc9 to your computer and use it in GitHub Desktop.
Save mizlan/e752f992a07c609eabaee60770014bc9 to your computer and use it in GitHub Desktop.

hacks for macs, in a way

spotlight bug?

  • reindex with sudo mdutil -E /
  • check $HOME/Library/Application Support/com.apple.spotlight/com.apple.spotlight.Shortcuts

prevent ios backups

run maintenance

  • sudo pmset repeat wake MTWHFSU 05:00:00
  • cronjob at 5:02AM should do the trick

change npm global package location

  • for example, npm config set prefix $HOME/.my-npm-global-pkgs
  • does not need sudo in the future

tools for scripting macOS

emacs PATH

  • /Applications/Emacs.app/Contents/Info.plist

lol

aria2c --seed-time=0 --enable-dht --dht-listen-port=2345 --listen-port=2346-2349 '<link>' enable Local Network Sharing for vpn

  • mullvad / soulseek / qbittorrent fun

sideload iOS apps (without jailbreaking)

  • altstore + altserver

firefox window-switching sluggish

https://www.reddit.com/r/firefox/comments/wifspw/firefox_running_sluggish_on_m1_pro_macbook_pro/ijb58go/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment