Collection of cool things I learnt today.
Rofi config syntax
Today I learned that rofi has two configuration syntaxes, the Xressource-like and the json-like (rasi).
Collection of cool things I learnt today.
Today I learned that rofi has two configuration syntaxes, the Xressource-like and the json-like (rasi).
Today I learned about openbsd, a unix-like OS, focusing on the security. I also learned about the SMTP protocol, and Opensmtpd the default SMTP server for openbsd. I also studied a vulnerability present in opensmtpd and exploited it. Opensmtpd CVE-2020-7247 The exploit
Today I learned the difference between passwords and passphrases. Password are shorter and contains special characters and less vulnerable to dictionary attacks, while passphrases are a series of words separated with spaces or not. Passphrases have more entropy and are usually easier to remember. Passwords vs passphrases - ProtonMail
Today I learned how to setup rootless containers with podman. It requires cgroups v2 and crun (runc does not support cgroups v2 yet). It also requires slirp4netns for internet connection, fuse-overlay and shadow-utils to set subuid/subgid rootless setup - libpod github
Today I learned about XDG base directories, which are environement variables containing XDG specific paths. The ones that were useful to me today were, XDG_CONFIG_HOME, XDG_CACHE_HOME and XDG_DATA_HOME XDG base dirs - Arch wiki
Today I learned how to substitute text from the last run command: ^foo^bar # replaces foo with bar in the last run command !!:gs/foo/bar # the same but globaly fc -s foo=bar # same with fc From Distrotube
Today I learned abour event designators (exclamation point): !! # run the last command !-10 # run the 19th previous command !cd # run the last cd command in history From Distrotube