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

358 lines
9.5 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/ohmyzsh/ohmyzsh/tree/master/plugins/gitfast
- https://github.com/junegunn/fzf
- https://github.com/Aloxaf/fzf-tab
- 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/tldr-pages/tlrc
- 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
- https://github.com/extrawurst/gitui
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://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
- https://github.com/dbrgn/tealdeer
- https://github.com/GothenburgBitFactory/taskwarrior
For fun
- https://github.com/yt-dlp/yt-dlp
- https://github.com/talwat/pokeget-rs
- https://github.com/newsboat/newsboat
- https://github.com/orhun/daktilo
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/Gobidev/pfetch-rs
- 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/Genymobile/scrcpy
- https://github.com/asciinema/asciinema
- https://github.com/asciinema/agg
- https://github.com/sxyazi/yazi
- https://github.com/dirkvdb/ffmpegthumbnailer
- https://github.com/jarun/nnn
- https://github.com/ImageMagick/ImageMagick
- https://github.com/libjxl/libjxl
- https://github.com/bloznelis/kbt
#### 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/
- https://github.com/localsend/localsend
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/rxhanson/Rectangle
- https://github.com/waydabber/BetterDisplay
- https://github.com/lwouis/alt-tab-macos
- https://github.com/pqrs-org/Karabiner-Elements
- https://github.com/crystalidea/macs-fan-control
Memory
- https://github.com/pilotmoon/Scroll-Reverser
- https://github.com/linearmouse/linearmouse
- 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/pedrommcarrasco/Brooklyn
- https://github.com/ganeshrvel/openmtp
- https://github.com/coteditor/CotEditor
- https://github.com/zed-industries/zed
- 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/astral-sh/rye
- https://github.com/astral-sh/uv
- https://github.com/astral-sh/ruff
- 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
- https://github.com/pyenv/pyenv
- https://github.com/pypa/pipx
Language server
- https://github.com/golang/tools/tree/master/gopls
- https://github.com/Microsoft/pyright
- https://github.com/artempyanykh/marksman
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/walles/moar
- https://github.com/ollama/ollama
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
- https://github.com/Textualize/toolong
- https://github.com/walles/riff
#### 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
- https://github.com/emqx/MQTTX
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 `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`
```ssh
Host *
IdentitiesOnly yes
UseKeychain yes
```
Thanks:
- [OpenSSH client side key management for better privacy and security](https://tim.siosm.fr/blog/2023/01/13/openssh-key-management/)
- [Git keeps asking me for my ssh key passphrase](https://stackoverflow.com/a/41576222)
- [OpenSSH updates in macOS 10.12.2](https://developer.apple.com/library/archive/technotes/tn2449/_index.html)
### 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/LaunchDaemons`
- `~/Library/Preferences`
- `/Library/Preferences`
- `~/Library/Fonts (Removed)`
- `/Users/Shared`
Clean up clipboard:
```sh
pbcopy < /dev/null
```
[Disable **Smart zoom** in **Track pad** settings to make right click instant](https://mastodon.online/@nikitonsky/112220593113484602)
Thanks:
- [Can Touch ID on Mac authenticate sudo in Terminal?](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)
- [Can the spacing of menu bar apps be modified in macOS Big Sur and later?](https://apple.stackexchange.com/q/406316)
- [How to fully uninstall Logitech G HUB on macOS via terminal/command line](https://gist.github.com/timotgl/f3d8c49ad582ec1af8ff01143465e116)
### 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/