posts-go/docs/2023-06-25-useful-tools.html

824 lines
22 KiB
HTML
Raw Normal View History

2023-06-24 18:27:39 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.2.0/github-markdown-dark.min.css"
/>
<title>haunt98 posts</title>
</head>
<style>
.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
margin: 0 auto;
padding: 45px;
}
@media (max-width: 767px) {
.markdown-body {
padding: 15px;
}
}
</style>
<body class="markdown-body">
<div><a href="index.html">Index</a></div>
<h1>
<a
id="user-content-userful-tools"
class="anchor"
aria-hidden="true"
href="#userful-tools"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Userful tools
</h1>
<p>This just a raw list.</p>
<h2>
<a id="user-content-tools" class="anchor" aria-hidden="true" href="#tools"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Tools
</h2>
<h3>
<a
id="user-content-terminal"
class="anchor"
aria-hidden="true"
href="#terminal"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Terminal
</h3>
<ul>
<li>
<a href="https://github.com/ohmyzsh/ohmyzsh"
>https://github.com/ohmyzsh/ohmyzsh</a
>
<ul>
<li>
<a href="https://github.com/romkatv/powerlevel10k"
>https://github.com/romkatv/powerlevel10k</a
>
</li>
<li>
<a href="https://github.com/zsh-users/zsh-autosuggestions"
>https://github.com/zsh-users/zsh-autosuggestions</a
>
</li>
</ul>
</li>
<li>
<a href="https://github.com/junegunn/fzf"
>https://github.com/junegunn/fzf</a
>
<ul>
<li>
<a href="https://github.com/junegunn/fzf-git.sh"
>https://github.com/junegunn/fzf-git.sh</a
>
</li>
</ul>
</li>
<li>
<a href="https://github.com/folke/lazy.nvim"
>https://github.com/folke/lazy.nvim</a
>
</li>
<li>
<a href="https://github.com/sharkdp/fd"
>https://github.com/sharkdp/fd</a
>
</li>
<li>
<a href="https://github.com/sharkdp/bat"
>https://github.com/sharkdp/bat</a
>
</li>
<li>
<a href="https://github.com/BurntSushi/ripgrep"
>https://github.com/BurntSushi/ripgrep</a
>
</li>
<li>
<a href="https://github.com/dandavison/delta"
>https://github.com/dandavison/delta</a
>
</li>
<li>
<a href="https://github.com/ogham/exa">https://github.com/ogham/exa</a>
</li>
<li>
<a href="https://github.com/zellij-org/zellij"
>https://github.com/zellij-org/zellij</a
>
</li>
<li>
<a href="https://github.com/adrianlopezroche/fdupes"
>https://github.com/adrianlopezroche/fdupes</a
>
</li>
<li>
<a href="https://github.com/rclone/rclone"
>https://github.com/rclone/rclone</a
>
</li>
<li>
<a href="https://github.com/restic/restic"
>https://github.com/restic/restic</a
>
</li>
<li>
<a href="https://github.com/dbrgn/tealdeer"
>https://github.com/dbrgn/tealdeer</a
>
</li>
<li>
<a href="https://github.com/GothenburgBitFactory/taskwarrior"
>https://github.com/GothenburgBitFactory/taskwarrior</a
>
</li>
<li>
<a href="https://github.com/dundee/gdu"
>https://github.com/dundee/gdu</a
>
</li>
<li>
<a href="https://github.com/muesli/duf"
>https://github.com/muesli/duf</a
>
</li>
<li>
2023-07-01 08:28:52 +00:00
<a href="https://github.com/charmbracelet/glow"
>https://github.com/charmbracelet/glow</a
>
</li>
<li>
<a href="https://github.com/sharkdp/vivid"
>https://github.com/sharkdp/vivid</a
2023-06-24 18:27:39 +00:00
>
</li>
</ul>
<p>Memory</p>
<ul>
<li>
2023-07-05 02:13:35 +00:00
<a href="https://github.com/junegunn/vim-plug"
>https://github.com/junegunn/vim-plug</a
2023-06-24 18:27:39 +00:00
>
</li>
<li>
2023-07-05 02:13:35 +00:00
<a href="https://github.com/wbthomason/packer.nvim"
>https://github.com/wbthomason/packer.nvim</a
2023-06-24 18:27:39 +00:00
>
</li>
<li>
<a href="https://dev.yorhel.nl/ncdu" rel="nofollow"
>https://dev.yorhel.nl/ncdu</a
>
</li>
<li>
2023-07-05 02:13:35 +00:00
<a href="https://github.com/Wilfred/difftastic"
>https://github.com/Wilfred/difftastic</a
2023-06-24 18:27:39 +00:00
>
</li>
2023-07-05 02:13:35 +00:00
<li>
<a href="https://github.com/jonas/tig">https://github.com/jonas/tig</a>
</li>
2023-06-24 18:27:39 +00:00
<li>
2023-07-01 08:28:52 +00:00
<a href="https://github.com/extrawurst/gitui"
>https://github.com/extrawurst/gitui</a
2023-06-24 18:27:39 +00:00
>
</li>
2023-07-05 02:13:35 +00:00
<li>
<a href="https://github.com/wustho/epr"
>https://github.com/wustho/epr</a
>
</li>
2023-07-01 08:28:52 +00:00
</ul>
<p>For fun</p>
<ul>
2023-06-24 18:27:39 +00:00
<li>
<a href="https://github.com/asciinema/asciinema"
>https://github.com/asciinema/asciinema</a
>
<ul>
<li>
<a href="https://github.com/asciinema/agg"
>https://github.com/asciinema/agg</a
>
</li>
</ul>
</li>
<li>
<a href="https://github.com/o2sh/onefetch"
>https://github.com/o2sh/onefetch</a
>
</li>
<li>
<a href="https://github.com/Gobidev/pfetch-rs"
>https://github.com/Gobidev/pfetch-rs</a
>
</li>
<li>
<a href="https://github.com/jarun/nnn">https://github.com/jarun/nnn</a>
<ul>
<li>
<a href="https://github.com/ImageMagick/ImageMagick"
>https://github.com/ImageMagick/ImageMagick</a
>
</li>
<li>
<a href="https://github.com/dirkvdb/ffmpegthumbnailer"
>https://github.com/dirkvdb/ffmpegthumbnailer</a
>
</li>
</ul>
</li>
<li>
<a href="https://github.com/Genymobile/scrcpy"
>https://github.com/Genymobile/scrcpy</a
>
</li>
2023-07-16 03:50:43 +00:00
<li>
<a href="https://github.com/libjxl/libjxl"
>https://github.com/libjxl/libjxl</a
>
</li>
<li>
<a href="https://github.com/yt-dlp/yt-dlp"
>https://github.com/yt-dlp/yt-dlp</a
>
</li>
2023-06-24 18:27:39 +00:00
</ul>
2023-07-01 08:28:52 +00:00
<p>Fun memory</p>
<ul>
<li>
<a href="https://github.com/htop-dev/htop"
>https://github.com/htop-dev/htop</a
>
</li>
<li>
<a href="https://github.com/aristocratos/btop"
>https://github.com/aristocratos/btop</a
>
</li>
<li>
<a href="https://github.com/dylanaraps/neofetch"
>https://github.com/dylanaraps/neofetch</a
>
</li>
<li>
<a href="https://github.com/dylanaraps/pfetch"
>https://github.com/dylanaraps/pfetch</a
>
</li>
<li>
<a href="https://github.com/Dr-Noob/cpufetch"
>https://github.com/Dr-Noob/cpufetch</a
>
</li>
<li>
<a href="https://gitlab.com/jallbrit/cbonsai" rel="nofollow"
>https://gitlab.com/jallbrit/cbonsai</a
>
</li>
2023-07-16 03:50:43 +00:00
<li>
<a href="https://github.com/ytdl-org/youtube-dl"
>https://github.com/ytdl-org/youtube-dl</a
>
</li>
2023-07-01 08:28:52 +00:00
</ul>
2023-06-24 18:27:39 +00:00
<h3>
<a id="user-content-ui" class="anchor" aria-hidden="true" href="#ui"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>UI
</h3>
<ul>
<li>
<a href="https://github.com/kovidgoyal/kitty"
>https://github.com/kovidgoyal/kitty</a
>
</li>
<li>
<a href="https://github.com/wez/wezterm"
>https://github.com/wez/wezterm</a
>
</li>
<li>
<a href="https://transmissionbt.com/" rel="nofollow"
>https://transmissionbt.com/</a
>
</li>
<li>
<a href="https://tailscale.com/" rel="nofollow"
>https://tailscale.com/</a
>
</li>
<li>
<a href="https://www.libreoffice.org/" rel="nofollow"
>https://www.libreoffice.org/</a
>
</li>
<li>
<a href="https://github.com/johnfactotum/foliate"
>https://github.com/johnfactotum/foliate</a
>
</li>
2023-07-16 03:50:43 +00:00
<li>
<a href="https://www.xnview.com/en/xnviewmp/" rel="nofollow"
>https://www.xnview.com/en/xnviewmp/</a
>
</li>
2023-06-24 18:27:39 +00:00
</ul>
<p>Memory</p>
<ul>
<li>
<a href="https://github.com/alacritty/alacritty"
>https://github.com/alacritty/alacritty</a
>
</li>
</ul>
<h4>
<a id="user-content-macos" class="anchor" aria-hidden="true" href="#macos"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>macOS
</h4>
<ul>
<li>
<a href="https://theunarchiver.com/" rel="nofollow"
>https://theunarchiver.com/</a
>
</li>
<li>
<a href="https://github.com/iina/iina">https://github.com/iina/iina</a>
</li>
<li>
<a href="https://github.com/pilotmoon/Scroll-Reverser"
>https://github.com/pilotmoon/Scroll-Reverser</a
>
</li>
<li>
<a href="https://github.com/rxhanson/Rectangle"
>https://github.com/rxhanson/Rectangle</a
>
</li>
<li>
<a href="https://github.com/waydabber/BetterDisplay"
>https://github.com/waydabber/BetterDisplay</a
>
</li>
<li>
<a href="https://github.com/pedrommcarrasco/Brooklyn"
>https://github.com/pedrommcarrasco/Brooklyn</a
>
</li>
<li>
<a href="https://github.com/ganeshrvel/openmtp"
>https://github.com/ganeshrvel/openmtp</a
>
</li>
<li>
<a href="https://github.com/coteditor/CotEditor"
>https://github.com/coteditor/CotEditor</a
>
</li>
2023-07-06 02:59:43 +00:00
<li>
<a href="https://github.com/lwouis/alt-tab-macos"
>https://github.com/lwouis/alt-tab-macos</a
>
</li>
2023-06-24 18:27:39 +00:00
</ul>
<p>Memory</p>
<ul>
<li>
<a href="https://www.tunabellysoftware.com/balance_lock/" rel="nofollow"
>https://www.tunabellysoftware.com/balance_lock/</a
>
</li>
<li>
<a href="https://github.com/tuyenvm/OpenKey"
>https://github.com/tuyenvm/OpenKey</a
>
</li>
<li>
<a href="https://github.com/objective-see/LuLu"
>https://github.com/objective-see/LuLu</a
>
</li>
<li>
<a href="https://github.com/ivoronin/TomatoBar"
>https://github.com/ivoronin/TomatoBar</a
>
</li>
<li>
<a href="https://github.com/pqrs-org/Karabiner-Elements"
>https://github.com/pqrs-org/Karabiner-Elements</a
>
</li>
2023-07-03 07:22:51 +00:00
<li><a href="https://zed.dev/" rel="nofollow">https://zed.dev/</a></li>
2023-06-24 18:27:39 +00:00
</ul>
<h2>
<a
id="user-content-developement"
class="anchor"
aria-hidden="true"
href="#developement"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Developement
</h2>
<h3>
<a
id="user-content-terminal-1"
class="anchor"
aria-hidden="true"
href="#terminal-1"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Terminal
</h3>
<ul>
<li>
<a href="https://github.com/Schniz/fnm"
>https://github.com/Schniz/fnm</a
>
</li>
<li>
<a href="https://github.com/sdkman/sdkman-cli"
>https://github.com/sdkman/sdkman-cli</a
>
</li>
<li>
<a href="https://github.com/oven-sh/bun"
>https://github.com/oven-sh/bun</a
>
</li>
2023-07-01 08:37:21 +00:00
</ul>
<p>Format</p>
<ul>
2023-06-24 18:27:39 +00:00
<li>
<a href="https://github.com/prettier/prettier"
>https://github.com/prettier/prettier</a
>
</li>
<li>
<a href="https://github.com/mvdan/sh">https://github.com/mvdan/sh</a>
</li>
<li>
<a href="https://github.com/JohnnyMorganz/StyLua"
>https://github.com/JohnnyMorganz/StyLua</a
>
</li>
<li>
<a href="https://github.com/tamasfe/taplo"
>https://github.com/tamasfe/taplo</a
>
</li>
2023-07-01 08:37:21 +00:00
</ul>
<p>Language server</p>
<ul>
<li>
<a href="https://github.com/golang/tools/tree/master/gopls"
>https://github.com/golang/tools/tree/master/gopls</a
>
</li>
<li>
<a href="https://github.com/bufbuild/buf-language-server"
>https://github.com/bufbuild/buf-language-server</a
>
</li>
<li>
<a href="https://github.com/luals/lua-language-server"
>https://github.com/luals/lua-language-server</a
>
</li>
</ul>
<p>Misc</p>
<ul>
2023-06-24 18:27:39 +00:00
<li>
<a href="https://github.com/mikefarah/yq"
>https://github.com/mikefarah/yq</a
>
</li>
<li>
<a href="https://github.com/stedolan/jq"
>https://github.com/stedolan/jq</a
>
</li>
</ul>
<p>Memory</p>
<ul>
<li>
<a href="https://github.com/sigstore/gitsign"
>https://github.com/sigstore/gitsign</a
>
</li>
<li>
<a href="https://github.com/gitleaks/gitleaks"
>https://github.com/gitleaks/gitleaks</a
>
</li>
<li>
<a href="https://github.com/tailscale/golink"
>https://github.com/tailscale/golink</a
>
</li>
2023-07-01 08:28:52 +00:00
<li>
<a href="https://github.com/burntsushi/toml"
>https://github.com/burntsushi/toml</a
>
</li>
2023-07-04 19:25:36 +00:00
<li>
<a href="https://github.com/koalaman/shellcheck"
>https://github.com/koalaman/shellcheck</a
>
</li>
2023-07-01 08:28:52 +00:00
<li>
<a href="https://github.com/bojand/ghz"
>https://github.com/bojand/ghz</a
>
</li>
2023-06-24 18:27:39 +00:00
<li>
<a href="https://github.com/sharkdp/hyperfine"
>https://github.com/sharkdp/hyperfine</a
>
</li>
2023-07-01 08:28:52 +00:00
<li>
<a href="https://github.com/boyter/cs">https://github.com/boyter/cs</a>
</li>
2023-06-24 18:27:39 +00:00
</ul>
<h4>
<a id="user-content-go" class="anchor" aria-hidden="true" href="#go"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Go
</h4>
<ul>
<li>
<a href="https://github.com/mvdan/gofumpt"
>https://github.com/mvdan/gofumpt</a
>
</li>
2023-06-30 17:48:48 +00:00
<li>
<a href="https://github.com/golangci/golangci-lint"
>https://github.com/golangci/golangci-lint</a
>
</li>
<li>
<a
href="https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/fieldalignment"
rel="nofollow"
>https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/fieldalignment</a
>
</li>
2023-06-29 10:40:26 +00:00
<li>
<a href="https://github.com/gotestyourself/gotestsum"
>https://github.com/gotestyourself/gotestsum</a
>
</li>
</ul>
<p>Memory</p>
<ul>
2023-06-24 18:27:39 +00:00
<li>
<a href="https://github.com/maruel/panicparse"
>https://github.com/maruel/panicparse</a
>
</li>
<li>
<a href="https://github.com/go101/golds"
>https://github.com/go101/golds</a
>
</li>
2023-06-25 09:15:45 +00:00
<li>
<a href="https://github.com/burrowers/garble"
>https://github.com/burrowers/garble</a
>
</li>
2023-06-24 18:27:39 +00:00
</ul>
<h3>
<a id="user-content-ui-1" class="anchor" aria-hidden="true" href="#ui-1"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>UI
</h3>
<ul>
<li>
<a href="https://www.sublimemerge.com/" rel="nofollow"
>https://www.sublimemerge.com/</a
>
</li>
<li>
<a href="https://insomnia.rest/" rel="nofollow"
>https://insomnia.rest/</a
>
</li>
<li>
<a href="https://httpie.io/desktop" rel="nofollow"
>https://httpie.io/desktop</a
>
</li>
<li>
<a
href="https://redis.com/redis-enterprise/redis-insight/"
rel="nofollow"
>https://redis.com/redis-enterprise/redis-insight/</a
>
</li>
<li>
<a href="https://www.jetbrains.com/datagrip/" rel="nofollow"
>https://www.jetbrains.com/datagrip/</a
>
</li>
</ul>
<p>Memory</p>
<ul>
<li>
<a href="https://www.sublimetext.com/" rel="nofollow"
>https://www.sublimetext.com/</a
>
</li>
<li>
<a href="https://github.com/MuhammedKalkan/OpenLens"
>https://github.com/MuhammedKalkan/OpenLens</a
>
</li>
</ul>
<h3>
<a
id="user-content-macos-1"
class="anchor"
aria-hidden="true"
href="#macos-1"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>macOS
</h3>
<p>Memory</p>
<ul>
<li>
<a href="https://gpgtools.org/" rel="nofollow">https://gpgtools.org/</a>
</li>
</ul>
<h2>
<a id="user-content-games" class="anchor" aria-hidden="true" href="#games"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Games
</h2>
<ul>
<li>
<a href="https://github.com/PCSX2/pcsx2"
>https://github.com/PCSX2/pcsx2</a
>
</li>
<li>
<a href="https://github.com/RPCS3/rpcs3"
>https://github.com/RPCS3/rpcs3</a
>
</li>
<li>
<a href="https://github.com/cheat-engine/cheat-engine"
>https://github.com/cheat-engine/cheat-engine</a
>
</li>
</ul>
<h2>
<a id="user-content-notes" class="anchor" aria-hidden="true" href="#notes"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Notes
</h2>
<p>MacPorts/native package manager &gt; go/rust/pip.</p>
<p>Ignore HomeBrew, nix (for now).</p>
<p>Don't install:</p>
<ul>
<li>Postman</li>
<li>Lens</li>
<li>Sourcegraph</li>
<li>Docker Desktop</li>
<li>Any JetBrains IDE beside DataGrip</li>
</ul>
2023-07-01 08:28:52 +00:00
<h2>
<a id="user-content-misc" class="anchor" aria-hidden="true" href="#misc"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Misc
</h2>
2023-06-24 18:27:39 +00:00
<h3>
<a
id="user-content-macos-2"
class="anchor"
aria-hidden="true"
href="#macos-2"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>macOS
</h3>
<p>Hide Developer in Spotlight:</p>
<div class="highlight highlight-source-shell">
<pre><span class="pl-c1">cd</span> /Applications
touch Xcode.app
<span class="pl-c"><span class="pl-c">#</span> Xcode mini version</span>
xcode-select --install</pre>
</div>
<h3>
<a id="user-content-linux" class="anchor" aria-hidden="true" href="#linux"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Linux
</h3>
<p>
Fix black screen when open game in fullscreen in external monitor with
<a
href="https://github.com/kazysmaster/gnome-shell-extension-disable-unredirect"
>kazysmaster/gnome-shell-extension-disable-unredirect</a
>
</p>
2023-07-04 19:10:28 +00:00
<h3>
<a
id="user-content-firefox"
class="anchor"
aria-hidden="true"
href="#firefox"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Firefox
</h3>
<p><code>about:config</code>:</p>
<ul>
<li>
<p>Disable unused features:</p>
<ul>
<li><code>extensions.pocket.enabled</code>: false</li>
<li><code>identity.fxaccounts.enabled</code>: false</li>
<li><code>reader.parse-on-load.enabled</code>: false</li>
</ul>
</li>
<li>
<p>Good settings:</p>
<ul>
<li>
<code
>media.videocontrols.picture-in-picture.video-toggle.always-show</code
>: true
</li>
<li><code>network.IDN_show_punycode</code>: true</li>
</ul>
</li>
<li>
<p>Encrypted Client Hello (ECH):</p>
<ul>
<li><code>network.dns.echconfig.enabled</code>: true</li>
<li><code>network.dns.use_https_rr_as_altsvc</code>: true</li>
</ul>
</li>
2023-07-16 04:13:38 +00:00
<li>
<p>Experiment</p>
<ul>
<li><code>image.jxl.enabled</code>: true</li>
</ul>
</li>
2023-07-04 19:10:28 +00:00
</ul>
2023-06-24 18:27:39 +00:00
<h2>
<a
id="user-content-thanks"
class="anchor"
aria-hidden="true"
href="#thanks"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Thanks
</h2>
<ul>
<li>
<a
href="https://boyter.org/posts/my-list-of-useful-command-line-tools/"
rel="nofollow"
>My list of useful command line tools</a
>
</li>
2023-07-04 19:10:28 +00:00
<li>
<a
href="http://www.quippd.com/firefox/wiki/useful-customizations/"
rel="nofollow"
>Useful Customizations for Firefox</a
>
</li>
<li>
<a
href="https://blog.mozilla.org/security/2021/01/07/encrypted-client-hello-the-future-of-esni-in-firefox/"
rel="nofollow"
>Encrypted Client Hello: the future of ESNI in Firefox</a
>
</li>
<li>
<a href="https://www.xudongz.com/blog/2017/idn-phishing/" rel="nofollow"
>Phishing with Unicode Domains</a
>
</li>
<li>
<a href="https://sizeof.cat/links/" rel="nofollow"
>https://sizeof.cat/links/</a
>
</li>
2023-06-24 18:27:39 +00:00
</ul>
<div>
Feel free to ask me via
<a href="mailto:hauvipapro+posts@gmail.com">email</a> or
<a rel="me" href="https://hachyderm.io/@haunguyen">Mastodon</a>. Source
code is available on
<a href="https://github.com/haunt98/posts-go">GitHub</a>
</div>
</body>
</html>