anki-push-u, Creating a Tiny Pushover Addon for Anki

Notifications! Notifications! Notifications! Notifications!

September 21, 2024 · Mario Jason Braganza

derb; Script to Create podcast RSS feeds

I wrote a tiny script that creates an RSS feed for all the audio files it finds in a folder. I call it derb. My mother gets devotional songs and sermons on cds, which I rip to MP3 files and then dump on her phone for her.1 She listens to them all the time, and now three of her friends want to do the same too. I thought of just sticking them in my self hosted Jellyfin instance,2 but then I realised, all of them have erratic, slow internet. So the idea of self hosting a podcast feed really appealed to me. ...

September 14, 2023 · Mario Jason Braganza

TIL: The Difference Between a CLI Tool and a Freeze Tool

I keep writing these tiny utilities for myself in Python and while I love writing in Python, I definitely don’t enjoy the little war dance I have to do everytime I want to run it on a new machine. Keeping track of virtual environments, and then installing packages in them, quickly gets tiresome. I want to just run the program once I’m done with it. Like a C program. Or Rust. Or Go. ...

March 1, 2023 · Mario Jason Braganza

What I Learned Today (8th of February, 2023)

Don’t know if it’s the gym or the regular work beat, but I seem to be waking up later and later everyday. I don’t know what to do about this. I feel a little anxious about not having enough hours in the day. Python Why use comprehensions? Because it reads better. Like I advice the young ones in DPGLUG on writing. Write short, choppy sentences. They read better. With my problem sets … I should stop trying to generalise in advance and solve the specific problem first. Read stuff carefully. Don’t do more than is necessary Solutions take time to understand too. Budget the time Linux Mint Nemo, the file browser in Linux Mint always opens the home directory, when I click on it and there’s no apparent way to change it to a preferred directory. I want it to always open Downloads A little bit of web spelunking led to an acceptable work-around. Right click the main menu button Click Menu => Open the menu editor => Accessories Then click Files in the items from the right and click Properties further right Change the command form nemo %U to nemo Downloads And that does it! Update 2023-02-09: Does not work. Will look for some other approach. Right now, with the workaround it opens a Downloads window alongside any other folder I click on 😂 Hugo Added a plain, hamburger menu to this blog, using Aditya’s helpful instructions over on the PaperMod Discord. With all the extra nav items, I’ve added to the header the menu would overflow on my iPhone (and probably on other folks’ phones too). So if this page scooches narrow enough, it will change the links on top to a plain menu. ...

February 8, 2023 · Mario Jason Braganza

What I Learned Today (7th of February, 2023)

Yesterday, took a lot out of me. Took it easy today. Python Got today’s assignment done well in time; and then went out looking for better ways to write it over again. Writing code is getting exciting now. Just like how I learnt to write in my teens. Write. And then go figure out, how I’d do it better. ...

February 7, 2023 · Mario Jason Braganza

What I Learned Today (6th of February, 2023)

Everything went to hell in a handbasket today. Time was short. I got up late. I forgot, I had physio. So most things got slightly abbreviated or dropped. Python Did not complete my assignment. Flunked it again. But on the plus side, those 45 minutes were some of the hardest thinking and iterating, I have done in weeks. So there’s that. And on the plusser1 side, I am proud of having stopped and then looked for help. That was my biggest learning for the day. ...

February 6, 2023 · Mario Jason Braganza