posts-go/posts/2023-06-25-useful-tools.md

10 KiB

Useful tools

This just a raw list.

Tools

Terminal

Memory

For fun

Fun memory

Windows

UI

Memory

macOS

Memory

Development

Terminal

Format

Language server

Misc

Memory

Go

Memory

UI

Memory

macOS

Memory

Notes

Prefer go/cargo/pipx to MacPorts, HomeBrew

Don't install:

  • Google Chrome
  • Visual Studio Code
  • Postman
  • Lens
  • Sourcegraph
  • Docker Desktop
  • Any JetBrains IDE beside DataGrip

Misc

Don't enable plugin git in ohmyzsh.

Edit ~/.ssh/config

Host *
    IdentitiesOnly yes
    UseKeychain yes

Thanks:

macOS

Use Touch ID in Terminal:

sudo cp /etc/pam.d/sudo_local.template /etc/pam.d/sudo_local

# Uncomment last line
sudo nano /etc/pam.d/sudo_local

Hide Developer in Spotlight:

cd /Applications
touch Xcode.app

# Xcode mini version
xcode-select --install

Reset launchpad:

defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock

Reduce padding in menu bar (Log out then log in to apply):

defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 6
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 6

Disable IPv6:

sudo networksetup -listallnetworkservices
sudo networksetup -setv6off Wi-Fi

Clean up leftover data:

  • ~/Library/Application Support

  • /Library/Application Support

  • ~/Library/LaunchAgents

  • /Library/LaunchAgents

  • /Library/LaunchDaemons

  • ~/Library/Preferences

  • /Library/Preferences

  • ~/Library/Fonts (Removed)

  • /Users/Shared

Clean up clipboard:

pbcopy < /dev/null

Disable Smart zoom in Track pad settings to make right click instant

Fix OpenVPN Client 3

sudo launchctl unload -w /Library/LaunchDaemons/org.openvpn.client.plist
sudo launchctl load -w /Library/LaunchDaemons/org.openvpn.client.plist

Thanks:

Firefox

about:config:

  • Disable unused features:

    • extensions.pocket.enabled: false
    • identity.fxaccounts.enabled: false
    • reader.parse-on-load.enabled: false
  • Good settings:

    • media.videocontrols.picture-in-picture.video-toggle.always-show: true
    • network.IDN_show_punycode: true
    • browser.tabs.insertAfterCurrent: true
  • Encrypted Client Hello (ECH):

    • network.dns.echconfig.enabled: true
    • network.dns.use_https_rr_as_altsvc: true
  • Experiment

    • image.jxl.enabled: true

Thanks: