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

7.4 KiB

Userful tools

This just a raw list.

Tools

Terminal

Memory

For fun

Fun memory

Windows

UI

Memory

macOS

Memory

Developement

Terminal

Format

Language server

Misc

Memory

Go

Memory

UI

Memory

macOS

Memory

Notes

Prefer nix/go/cargo/pipx to MacPorts, HomeBrew

Quirks:

# Add to ~/.zshrc
# https://github.com/NixOS/nix/issues/3616
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
  source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi

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.

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

Clean up leftover data:

  • ~/Library/Application Support
  • /Library/Application Support
  • ~/Library/LaunchAgents
  • /Library/LaunchAgents
  • ~/Library/Fonts (Removed)

Clean up clipboard:

pbcopy < /dev/null

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