til Renumber all windows in tmux If you have a large number of windows open in tmux, it can be a pain when deleting some of them as the numbers are no longer consxistent. You could have 20 windows open, but the next window you create will be #2 because
til Compile Emacs 27 on CentOS 7 Quick instructions for installing Emacs 27 on CentOS 7 since it doesn't seem to be available in any popular yum repositories. Install dependencies: # Note: This installs dependencies for X11 as well. Change this and the ./configure below if you don't want any X11 deps
til Upload files to Nextcloud using curl (and webdav) I recently had the need to upload a bunch of PDF files from a linux server to my Nextcloud instance. Nextcloud doesn't currently have a headless linux client, but WebDAV is available by default. Uploading a single file is as simple as: curl -T