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

Regex Started doing regex exercises, so i don’t get bored doing only python. will alternate them for now Using Practice Makes Regexp. I have only the book though. It’s now expanded to include video solutions too. Highly recommend any of Reuven’s courses Set up environment and did one exercise which was to look up the user’s input in a dictionary (a word dictionary. not a programming dictionary) Linux Mint Yesterday’s work was for naught Devops Kubernetes, began doing some exercises Set up the environment today Spoke with a friend about practicing Ansible / Devops stuff Learnt about putting in environment variables into a docker compose file and then using them in a Django container Hugo Diddled with the code element font size on the blog, to make it look a little larger Urdu Learnt about the “tashdiid” symbol that helps add emphasis to a consonant Physical Fitness Nearing the end of my month long journey....

February 9, 2023 · Mario Jason Braganza

Using Regex to Prepend to Titles in Calibre

So I do this peculiar thing, where I prepend the author’s initials to the title of every book I add to Calibre.1 2 And all these years, I’ve just been manually editing the metadata, everytime I added a book, and changing the titles to what I want. It’s not a problem if it’s just one book, but I normally tend to go hogwild with authors, normally buying out / downloading all their work....

November 20, 2021 · Mario Jason Braganza

Regular Expressions (Regex) Resources

Will update this page whenever I come across something regex, that I love. Damian Conway’s 5 hour, Understanding Regular Expressions series. This one is the bestestest regex resource ever. If you know the basics of programming and then want to pick up Regular Expressions, this is it.1 And Damian is one of the finest, bestestestest teachers around. Damian Conway’s hour long youtube talk and the accompanying slides RegexTip, one of John D Cook’s many twitter accounts....

November 17, 2021 · 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