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

325 lines
8.2 KiB
Markdown

# Userful tools
This just a raw list.
## Tools
### Terminal
- https://github.com/ohmyzsh/ohmyzsh
- https://github.com/romkatv/powerlevel10k
- https://github.com/zsh-users/zsh-autosuggestions
- https://github.com/junegunn/fzf
- https://github.com/folke/lazy.nvim
- https://github.com/sharkdp/fd
- https://github.com/sharkdp/bat
- https://github.com/BurntSushi/ripgrep
- https://github.com/dandavison/delta
- https://github.com/Wilfred/difftastic
- https://github.com/eza-community/eza
- https://github.com/chmln/sd
- https://github.com/adrianlopezroche/fdupes
- https://github.com/WayneD/rsync
- https://github.com/rclone/rclone
- https://github.com/restic/restic
- https://github.com/ayoisaiah/f2
- https://github.com/dbrgn/tealdeer
- https://github.com/GothenburgBitFactory/taskwarrior
- https://github.com/dundee/gdu
- https://github.com/muesli/duf
- https://github.com/sharkdp/vivid
- https://github.com/zellij-org/zellij
- https://github.com/ajeetdsouza/zoxide
- https://github.com/atuinsh/atuin
Memory
- https://github.com/tmux/tmux
- https://github.com/junegunn/vim-plug
- https://github.com/wbthomason/packer.nvim
- https://github.com/so-fancy/diff-so-fancy
- https://github.com/jonas/tig
- https://github.com/extrawurst/gitui
- https://dev.yorhel.nl/ncdu
- https://github.com/wustho/epr
- https://github.com/junegunn/fzf-git.sh
- https://github.com/ogham/exa
- https://github.com/charmbracelet/glow
For fun
- https://github.com/asciinema/asciinema
- https://github.com/asciinema/agg
- https://github.com/Gobidev/pfetch-rs
- https://github.com/sxyazi/yazi
- https://github.com/dirkvdb/ffmpegthumbnailer
- https://github.com/Genymobile/scrcpy
- https://github.com/libjxl/libjxl
- https://github.com/yt-dlp/yt-dlp
- https://github.com/talwat/pokeget-rs
- https://github.com/newsboat/newsboat
Fun memory
- https://github.com/htop-dev/htop
- https://github.com/aristocratos/btop
- https://github.com/dylanaraps/neofetch
- https://github.com/dylanaraps/pfetch
- https://github.com/Dr-Noob/cpufetch
- https://github.com/o2sh/onefetch
- https://gitlab.com/jallbrit/cbonsai
- https://github.com/ytdl-org/youtube-dl
- https://github.com/instaloader/instaloader
- https://gitlab.com/phoneybadger/pokemon-colorscripts
- https://github.com/jarun/nnn
- https://github.com/ImageMagick/ImageMagick
#### Windows
- https://github.com/abbodi1406/KMS_VL_ALL_AIO
- https://github.com/massgravel/Microsoft-Activation-Scripts
- https://github.com/abbodi1406/vcredist
### UI
- https://github.com/kovidgoyal/kitty
- https://github.com/wez/wezterm
- https://transmissionbt.com/
- https://www.libreoffice.org/
- https://github.com/johnfactotum/foliate
- https://fbreader.org/
Memory
- https://github.com/alacritty/alacritty
- https://www.xnview.com/en/xnviewmp/
- https://tailscale.com/
#### macOS
- https://theunarchiver.com/
- https://github.com/iina/iina
- https://github.com/linearmouse/linearmouse
- https://github.com/rxhanson/Rectangle
- https://github.com/waydabber/BetterDisplay
- https://github.com/pedrommcarrasco/Brooklyn
- https://github.com/ganeshrvel/openmtp
- https://github.com/coteditor/CotEditor
- https://github.com/zed-industries/zed
- https://github.com/lwouis/alt-tab-macos
- https://github.com/pqrs-org/Karabiner-Elements
Memory
- https://github.com/pilotmoon/Scroll-Reverser
- https://www.tunabellysoftware.com/balance_lock/
- https://github.com/tuyenvm/OpenKey
- https://github.com/objective-see/LuLu
- https://github.com/ivoronin/TomatoBar
- https://github.com/alin23/Lunar
- https://github.com/CodeEditApp/CodeEdit
- https://github.com/Ranchero-Software/NetNewsWire
## Developement
### Terminal
- https://github.com/Schniz/fnm
- https://github.com/oven-sh/bun
- https://github.com/denoland/deno
- https://github.com/pypa/pipx
- https://github.com/corbindavenport/nexus-tools
Format
- https://github.com/prettier/prettier
- https://github.com/mvdan/sh
- https://github.com/JohnnyMorganz/StyLua
- https://github.com/tamasfe/taplo
Language server
- https://github.com/golang/tools/tree/master/gopls
Misc
- https://github.com/mikefarah/yq
- https://github.com/itchyny/gojq
- https://github.com/ankitpokhrel/jira-cli
- https://github.com/cli/cli
- https://github.com/Textualize/toolong
Memory
- https://github.com/stedolan/jq
- https://github.com/sigstore/gitsign
- https://github.com/gitleaks/gitleaks
- https://github.com/tailscale/golink
- https://github.com/burntsushi/toml
- https://github.com/koalaman/shellcheck
- https://github.com/bojand/ghz
- https://github.com/sharkdp/hyperfine
- https://github.com/boyter/cs
- https://github.com/luals/lua-language-server
- https://github.com/fullstorydev/grpcurl
- https://github.com/bufbuild/buf-language-server
- https://github.com/sdkman/sdkman-cli
- https://github.com/antonmedv/fx
- https://github.com/plantuml/plantuml
#### Go
- https://pkg.go.dev/golang.org/x/telemetry/cmd/gotelemetry
- https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck
- https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/fieldalignment
- https://github.com/mvdan/gofumpt
- https://github.com/golangci/golangci-lint
- https://github.com/maruel/panicparse
- https://github.com/gotestyourself/gotestsum
- https://github.com/bufbuild/buf
Memory
- https://github.com/go101/golds
- https://github.com/burrowers/garble
- https://github.com/dkorunic/betteralign
### UI
- https://httpie.io/desktop
- https://redis.com/redis-enterprise/redis-insight/
- https://www.jetbrains.com/datagrip/
- https://github.com/riok/Kreya
Memory
- https://www.sublimemerge.com/
- https://www.sublimetext.com/
- https://github.com/MuhammedKalkan/OpenLens
- https://github.com/bloomrpc/bloomrpc
- https://github.com/Kong/insomnia
- https://github.com/variar/klogg
#### macOS
- https://github.com/orbstack/orbstack
Memory
- https://gpgtools.org/
- https://github.com/gnachman/iTerm2
## Notes
Prefer `nix`/`go`/`cargo`/`pipx` to MacPorts, HomeBrew
Quirks:
```sh
# 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:
```sh
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:
```sh
cd /Applications
touch Xcode.app
# Xcode mini version
xcode-select --install
```
Reset launchpad:
```sh
defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock
```
Reduce padding in menu bar (Log out then log in to apply):
```sh
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 6
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 6
```
Clean up leftover data:
- `~/Library/Application Support`
- `/Library/Application Support`
- `~/Library/LaunchAgents`
- `/Library/LaunchAgents`
- `~/Library/Fonts (Removed)`
Clean up clipboard:
```sh
pbcopy < /dev/null
```
Thanks:
- https://apple.stackexchange.com/a/466029
- [Native fix for applications hiding under the MacBook Pro notch](https://flaky.build/native-fix-for-applications-hiding-under-the-macbook-pro-notch)
- https://apple.stackexchange.com/q/406316
### 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
- [My list of useful command line tools](https://boyter.org/posts/my-list-of-useful-command-line-tools/)
- [Useful Customizations for Firefox](http://www.quippd.com/firefox/wiki/useful-customizations/)
- [Encrypted Client Hello: the future of ESNI in Firefox](https://blog.mozilla.org/security/2021/01/07/encrypted-client-hello-the-future-of-esni-in-firefox/)
- [Phishing with Unicode Domains](https://www.xudongz.com/blog/2017/idn-phishing/)
- https://sizeof.cat/links/