Remapping the Logitech R500s on Ubuntu 24.04 with keyd
Here’s my latest keyboard:
Here’s my latest keyboard:
Pelican is a powerful static site generator written in Python, primarily designed for blogs. However, sometimes you need to include custom HTML pages that don't fit into Pelican's standard content model. This guide explains how to add standalone HTML pages to your Pelican site while preserving their exact formatting and …
The io.BytesIO class in Python is an in-memory stream for binary data. It provides a file-like interface that lets you read and write bytes just like you would with a file, but all the data is kept in memory rather than on disk. This can be extremely useful when …
Pelican provides a syntax for linking to another post by its filename.
I’ve long used rsync for high fidelity, detailed copies of large swathes of files in Linux. For example:
I bought an 8TB external SSD to use as a live boot Linux device. I knew that this issue was due to the way that bits are aggregated into terabytes, but — thanks to our mate ChatGPT — here’s a nice explanation of why my 8TB SSD only shows 7,452 …
Using the Emmet capabilities in VSCode (see previous TIL) you can highlight a section of HTML code and quickly wrap it with other HTML using Emmet shortcuts.
This is, to a Python project / module, what if __name__ == '__main__ is to an individual Python file.
First, create a new project using poetry
neofetch provides a nice snapshot of system information. This is what you were wanting to add to the --sysinfo output for gpt-engineer.