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 Every time I move though, it goes there and sits, right next to the last branch, instead of under it. So I would grumble a bit, and then go hit the return key as required, to get it all right and proper....

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....

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...

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! Feedback on this post? Mail me at feedback@janusworx.com P.S. Subscribe to my mailing list!...

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?...

January 23, 2023 · Mario Jason Braganza

Learning Kubernetes, Setup Notes

Ok, here’s to learning Kubernetes in earnest, to get that career pivot going. Notes as I learn, over the coming days. This one, is a lot of random thoughts on bringing up a cluster. It is both harder than you think, and easier than you think I did this, because I wanted to run my own cluster, just like the big boys do.1 It’s much easier to run alternatives like kind, if that suits your needs better....

November 3, 2022 · Mario Jason Braganza

Make KVM Use a NIC in Bridge Mode

I wanted to start learning Kubernetes. So I thought I’d spin up a Ubuntu VM to use as my sacrificial guinea pig. While the normal NAT mode works well enough for most of my networking needs, I wanted the Ubuntu VM to show up and work as a machine on my host’s network.1 I have two network cards on my desktop and wanted to allocate one of them to this VM....

October 18, 2022 · Mario Jason Braganza

Make SSH Ignore Key, When Logging On to a Fresh Box

Every now and then, I spin up a fresh vm. And being a creature of habit, I use the same username on my play / experimental vms as my normal login. So everytime I try to login to such a vm or pi, I get a Too many authentication failures error. So to just get in and start working, I need to tell ssh to ignore my keys and try using passwords as the authentication mechanism....

October 18, 2022 · Mario Jason Braganza