compress images into webp

This commit is contained in:
Yan Lin 2026-01-30 22:04:35 +01:00
parent 50459f199d
commit ee7245f82f
70 changed files with 67 additions and 67 deletions

View file

@ -16,11 +16,11 @@ Let's say I am currently in `~/Documents/Projects/personal-blog` and I want to j
With the classic `cd`, I will have to type the whole path.
With `cd` aliased to `zoxide`, I only need to type `cd n` (supposing that `~/.config/nix` is the most frequently visited directory among all matched directories).
![zoxide jump](zoxide-jump.png)
![zoxide jump](zoxide-jump.webp)
Internally `zoxide` records my visits to directories in a SQLite database and sorts them based on frequency. If the first hit is not what I want, I can also interactively select from the matched list.
![zoxide select](zoxide-select.png)
![zoxide select](zoxide-select.webp)
## `du` -> `ncdu`
@ -29,17 +29,17 @@ Internally `zoxide` records my visits to directories in a SQLite database and so
[`ncdu`](https://dev.yorhel.nl/ncdu) is an interactive alternative to `du`, and is very usable out of the box. Interestingly, I also feel it is a touch faster than `du`.
It can totally be an alternative to those fancy disk space analyzers as well.
![ncdu](ncdu.png)
![ncdu](ncdu.webp)
## `top` -> `btop`
`top` is quite basic and looks "unexciting". `htop` also ships with most Unix/Linux systems and looks better.
![htop](htop.png)
![htop](htop.webp)
[`btop`](https://github.com/aristocratos/btop) might be the most "nerdy-looking" `top` alternative out of the box. It can be a handy tool if you are trying to make people believe you are a hacker.
![btop](btop.png)
![btop](btop.webp)
At the same time, it is very feature-rich and configurable. To some extent, it is also an alternative to bandwidth monitoring tools like `iftop` and disk utilization tools like `df`.
@ -47,11 +47,11 @@ At the same time, it is very feature-rich and configurable. To some extent, it i
I think there is nothing wrong with the classic `ls`. So, as an alternative, [`eza`](https://github.com/eza-community/eza) just has a few quality-of-life improvements, like file type icons, Git status, and (based on personal taste) prettier colors.
![eza list](eza-list.png)
![eza list](eza-list.webp)
It can replace the `tree` command as well.
![eza tree](eza-tree.png)
![eza tree](eza-tree.webp)
## `vim` -> `nvim`
@ -63,6 +63,6 @@ You can simply use `vim` keybindings in many editors or IDEs. `vim` itself can f
To put it simply, it is a TUI editor that can truly be your only text editor. With countless plugins and ways to configure it, it can be a basic text editor, or a fully-featured development IDE, or anything in-between.
Syntax highlighting, file browser, fuzzy search, intelligent autocompletion, debugging, AI™ integration. You name it, `neovim` has it.
![neovim](nvim-1.png)
![neovim](nvim-1.webp)
![neovim fuzzy search](nvim-2.png)
![neovim fuzzy search](nvim-2.webp)