Articles

Tech tutorials, documentation, and other longform articles



Solve a mysterious excess width causing horizontal scroll in Bootstrap's container class with this trick

Published on August 26, 2024.

It is caused by display: inline. Add a d-block beside the container class to resolve it.


Continue reading...

How to cover an image in a container with css or bootstrap: a technique

Published on August 23, 2024.

It involves a fixed-dimension parent, an image wrapper that inherits the dimensions of the parent, and the image where object-fit is defined.


Continue reading...

The Not So Elegant Way to Debug Multiple Python Versions on Your Terminal

Published on August 9, 2024.

Adding a preexec function on your shell resource file to show what and where the command is is not so elegant; but it might just help you catch yourself before you start chaining commands and wonder why the Python dependency you installed is not being recognized.


Continue reading...

A Quick and Dirty Way to Keep your MiniPC Cool and Reasonably Silent

Published on August 5, 2024.

Install CoolerControl for your Linux MiniPC and create a Fixed Profile to 40%. Keep the app running on the background. I don't know why this works, but this worked for me. Also, consider buying a router cooling fan. It's the same form factor as most minipc's.


Continue reading...

Maybe Grav Skeletons are the Way to Go

Published on July 21, 2024.

When you need to do client work for complicated websites, skeletons are a better alternative.


Continue reading...

Properly Updating the Theme Font in Sublime Text 4 So Far

Published on May 19, 2024.

It's been almost a year since I published how to override your ST4 Theme Font. But I encounter an issue where even my old settings are insufficient to fully override font settings.


Continue reading...

Only the sh1.13 package will work properly with python3.10

Published on September 20, 2023.

This post is to document an issue working with python-for-android on python3.10 on a modern tooling environment.


Continue reading...

Use pyenv shell instead of pyenv local when running poetry with it

Published on July 11, 2023.

If you are a pyenv and poetry user and need to spawn a virtualenv through poetry, run pyenv shell python-version before running your poetry commands. This post explains why.


Continue reading...

How to properly change the sidebar font face of Sublime Text 4

Published on July 11, 2023.

Navigate to Menu >> Preferences >> Customize Theme, and change all the "font_face" and "font.face" values you need to the font you want. Read this post to check the json you can copy-paste to show you how to properly override the theme font.


Continue reading...

Realme 8 Pro does not allow formatting sd card as internal storage

Published on May 22, 2023.


Continue reading...