MOK's Onomatomaniske Kaos
Super Cool

Tags

    The walpal utility for creating color themes
    This is the writeup of a new utility I have written, inspired by Pywal. You can find it on Codeberg. This project is heavily inspired by Dylan Araps’ Pywal application. Dylan archived the github repository in April 2024, it has since been forked by github user eylles and expanded for 16 colors in the project Pywal16. However I found that Pywal16 gave me two sets of identical colors, not 16 unique. ...

    Patching suckless programs using Quilt
    I created a system to patch suckless programs using GNU quilt. When building suckless programs from source I found that dealing with the patches was confusing and error prone. I therefore made a tool to make looking at patches systematic and reproducible by making use of quilt. This tool is used by Debian for patching source packages which is why I know about it. The advantage of using quilt is that you can always reverse the patches and get back to a blank slate, which means you can do git pull from the upstream repo and then reapply your patches. ...

    Using pyenv to manage your Python versions
    In this blog post I will explain how I use pyenv to manage my Python installation. The following is only of relevance if you develop Python programs. Most – if not all – Linux distributions come with a system version of Python, and the most important reason to include it as a system package is to run Python code from other packages. If you develop Python programs you find you’ll need to install other Python modules. ...

    Timezone Aware Timestamps in Python

    The datetime object in Python is very powerful, but if you want to do serious timeseries analysis and use data from around the world, you need to use timezone aware datetime objects, and these are not the default.

    ...