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

I Should Write Down and Summarize What I Did

I did a lot of research the other day about what I’d need to build a contact form for my website. I bookmarked lots of pages. And today, I come and look at this mountain of videos and sites and pages and woneder what exactly it is, that I am supposed to tackle. Nothing makes sense. I know I ruled out Sendy as an option. Or did I? Do I need Javascript? How much? Can I get snippets to copy paste? Do I need to go learn Javascript? What is spam protection? Do I need spam protection? How do I do it? I’ll have to go look at it all again now.1 ...

January 23, 2023 · Mario Jason Braganza