curl: GET request with --data-urlencode 2026-10-09 ------------------------------------------------------------------------------- When using curl with --data-urlencode, curl will send a POST request instead of the usual GET request. This can be wrong for API requests. Instead, use -G/--get when using with --data-urlencode curl -G '...' \ --data-urlencode "..." X11: kill a window with xkill 2026-05-08 ------------------------------------------------------------------------------- Sometimes, when a window in i3wm is frozen, a connot kill it with the usual Mod+Shift+q. In this case, open another terminal window and run: $ xkill This will let you kill a window by using your cursor. bash: Comand line edititing, the Vim way 2026-04-26 ------------------------------------------------------------------------------- If familiar with vim motion keys, you can switch in bash to vim-based keybinds. In .bashrc: set -o vi To see, if in which mode you are, edit .inputrc to something like: set editing-mode vi set show-mode-in-prompt on set vi-ins-mode-string \1\e[32m\2[+]\1\e[0m\2 set vi-cmd-mode-string \1\e[33m\2[:]\1\e[0m\2 Then, in bash (starting in INSERT mode): or Switch to COMMAND mode i Switch to INSERT mode Replace muscle memory: Works in COMMAND and INSERT mode