Realizing the power of Hugo shortcodes - Profile icons section

Hugo shortcodes offer a great method to modularize a website, separating content from other code. My website has some hacky code snippets for certain parts of it. I know that being sloppy from the beggining is never a good omen so I try to be as strict as possible with myself. At the homepage, I include a simple section with fontawesome icons about my profiles in other social networks: This is the hacky code that was used for this:
Read more →

Matching /dev/hidraw* devices with physical devices

During development of ContourUSB device driver (I’ ve dedicated a post for this one) I had a hard time detecting the hidraw device created for the meter. I’ ve been suggested to just print all available hidraw devices (pseudo files), then plug the meter and re-print hidraw devices to detect which one was just created. While this worked I wasn’t really thrilled with the approach. So I created this simple following script.
Read more →