222 private links
A good starting point
Cowsay asking itself if it is the real life, wrapped into a cowsay, wrapped into another cowsay, recursively...
A command-line client for SQLite databases that has auto-completion and syntax highlighting.
D'une manière général quand une machine ne répond pas bien, il s'agit de l'un des 4 goulots d'étranglement:
- le CPU
- la mémoire
- le disque
- le réseau
top/htop te permettent d'examiner la consommation CPU et mémoire.
iotop te permet de voir celle du disque.
pour le réseau, il y a nethogs.
Record your terminal and generate animated gif images or share a web player.
Available at https://github.com/faressoft/terminalizer
Edit: the project is slowly maintained. #RIIR ?
Summary:
Use Boyer-Moore (and unroll its inner loop a few times).
Roll your own unbuffered input using raw system calls. Avoid copying
the input bytes before searching them. (Do, however, use buffered
output. The normal grep scenario is that the amount of output is
small compared to the amount of input, so the overhead of output
buffer copying is small, while savings due to avoiding many small
unbuffered writes can be large.)Don't look for newlines in the input until after you've found a match.
Try to set things up (page-aligned buffers, page-sized read chunks,
optionally use mmap) so the kernel can ALSO avoid copying the bytes.The key to making programs fast is to make them do practically nothing. ;-)
Returns the ping, dns, SystemDNS, TLS certificate validity and HTTPS connection of the given URL.
A CLI alternative to classic GUI interfaces
edit 2024: the project got more flexibility.
- smartlog list only your commits
- one PR one with stacked commits (https://jg.gg/2018/09/29/stacked-diffs-versus-pull-requests/)
and more
Improve the quality of a picture using GAN. There are models for specialized pictures such as anime.
This project has a great roadmap with models for human faces and texts. More options: scaling et controllable restoration strength are on it too.
Mhmhmh ok ! I note the hyperfine
command to benchmark the speed of cli commands :)
touch {hero,lightbox,form,another-component}.njk
Ok. A more or less dropdown in the terminal that provides the next word possible
Same as remove.bg (removing a background of an image), but in the CLI:
pip install rembg
curl -s http://input.png | rembg > output.png # from an external source
rembg -o path/to/output.png path/to/input.png # from a file
rembg -p path/to/input path/to/output # convert an entire directory
Easy to use cli text editor.
Aims to be more powerful than nano but easier to use than vim.