I Found Rainbows in Emacs!

I must admit to stealing … quite a lot … from a bot at that! Zoetrope’s, “random color contrasts” gets colours from Adam Morse and John Otander’s Randoma11ly and posts them a few times a day. I’ve been writing down the ones I love and find interesting, in an Org note, in the hopes I’ll use them someday. (I know I’m just hoarding colours 😂. But hey, I used one1 out of the thirty-odd colours, I’ve jotted down so far) ...

January 20, 2024 · Mario Jason Braganza

Weirdly Placed Emacs Org Branches Are Only Cosmetic

Every evening, after my shutdown ritual, I move my current day’s branch to the bottom of my Org Mode file, so I begin the next day at the same fixed place, at line 36.1 The day is done; moving it to the bottom of the pile ...

November 27, 2023 · Mario Jason Braganza

Having My Emacs Tasks and Notes Ready

Updated: 2023-11-17. Read more below Nearly everything I write is in Emacs.1 It’s been slightly more than two years, since I made the move to using it as my everyday text editor. I have a spartan Emacs config, with only a few customisations, that I found by watching David Wilson aka System Crafters’ Emacs From Scratch #1 video and the rest by searching on the web and asking around on the fediverse. ...

November 16, 2023 · Mario Jason Braganza

My Custom CSS for Miniflux

Various bits and bobs, I gradually accumulated over the past couple of years, to make my self hosted Miniflux look just the way I want it. Width and Size Changed the width to 850 pixels wide, because even on my vertical monitor, there was quite a bit of wasted horizontal space. Changed the body to use a slightly smaller size. body { max-width: 850px; !important; font-size: 90%; } Italic Blockquotes Changed blockquotes to be italic, so that they’re better set off against normal body text. Also made them a wee bit tinier than the body. ...

November 15, 2023 · Mario Jason Braganza

htpasswd Notes to Self

To create the htpasswd file along with its first user, I just: htpasswd -c /path/to/htpasswdfile/htpasswd some-user It’ll ask you for the password for that user, encrypt it and store it in that location. Add these lines to get Nginx to use the file for basic auth: auth_basic "Login to Proceed: "; #(or whatever message you want) auth_basic_user_file /path/to/htpasswdfile/htpasswd; To append another user to the htpasswd file do: htpasswd /path/to/htpasswd/htpasswd second-user That ought to do it. P.S. Install apache-utils on Debian or use Paru/Yay to install nginx_passwd on Arch. ...

June 24, 2023 · Mario Jason Braganza

Org Mode Subtree Expansion With the Mouse

When I wrote about, ticking off checkboxes in Org Mode, I’d linked to line 101 of org-mouse.el. While I’d read the main summary, I somehow missed line 30 … ;; * subtree expansion/collapse (org-cycle) with the left mouse button Which I accidentally triggered today … After an (accidental) click opens up to … Org Mode continues to delight! Hurrah! ...

February 22, 2023 · Mario Jason Braganza