Deblog

Updates in the Python Telegram Heroku Template

Aug. 21, 2022 | Tags: terraform heroku infrastructure

Yesterday, I decided to start learning terraform and I started with some of my bots to see the gist of it. And can be very complex, these bots are simple enough in both code and required infrastructure that it was easy enough for me to try and play around a bit. Then, this morning, I decided to update the telegram heroku bot template repo to add these features. In the readme I wrote up all the necessary steps to create the repo and have it be managed by terraform.

[Read more]

Send UDP packets in python

Aug. 18, 2022 | Tags: python networking udp TIL

Not that it's terribly hard to do, but is one of these useful things to know anb be able to source. Using the sockets library is triivally easy if you know the parameters you need to use (and it's very well documented).

[Read more]

CSS Overflow

Aug. 14, 2022 | Tags: css TIL

I have been very frustrated with how some elements overflow off the container. And I did not know what that was called and finally I learned what it is and how to manage that in my blog/TIL.. So, now, I have the following in my CSS:

[Read more]

Removing broken symlinks

June 18, 2022 | Tags: zsh TIL

Today, I was looking for a way to delete all broken symlinks from a directory. And the anaswer I found was much better than I expected. I use ZSH as my shell and this was the answer:

[Read more]