Getting Emacs Windows to Not Be Shy

Figuring out my webapps problem yesterday made me ask myself if I could somehow repurpose that little xdotool script to solve another niche itch that I had. Spoiler alert: It did. I run Emacs as a daemon, and use EmacsClient to connect to the Emacs process. Makes it really ease to launch, work on, sling around and close lots of Emacs windows.1 Which brings me to the hiccough. I launch EmacsClient and a window (frame) does indeed launch, but it just … stays there in the background....

November 18, 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

Multiline Regex Search in VS Code

This is a picture of my notes, when I import them in from the Kindle. And every time I have to corral them into some sort of structure or write a blog post, I needed to laboriously get rid of all the Kindle metadata with multiple searches (and replaces.) I mean these lines ========== Draft No. 4 (John McPhee) - Your Highlight on page 27 | location 406-407 | Added on Sunday, 15 August 2021 12:43:15 But having learnt Regex about a year ago, I have been using it on and off and have come to appreciate the power it offers....

August 16, 2021 · Mario Jason Braganza

Joining Two Images Using ImageMagick

Sometimes, I want to share snippets of what I am reading with my friends. Kindles make it easy, with screenshots. The only issue being I want to share the full length of two pages, like I’d do if I was reading a book. And I need it often enough, that I felt I needed to go figure out some way to do it. It was an easy-ish hack on the mac with printing with Preview....

August 6, 2021 · Mario Jason Braganza

Reset Confirmations in Calibre

I have been deleting too many books by mistake, now a days. Past Jason might have been pretty sure about what he wanted, but I sure as heck am not. So I had to do a bit of spelunking to figure out how to get the delete book option to confirm first. All I needed to do was Preferences -> Behaviour -> Reset all disabled confirmation dialogs Et voilà, Calibre now asks me if I am sure about deleting my books :)

August 2, 2021 · Mario Jason Braganza