I do stuff sometimes.

Author's posts

How to update your Git credentials on Windows

https://cmatskas.com/how-to-update-your-git-credentials-on-windows/ You set in in the Control Panel. Not the control panel of Git (Bash) but in actual Windows Control Panel.

How to connect to Energenie EG-UPS-002 UPS via USB?

Intro Because I apparently live in a third world part of my country, I experience a power outage almost every week. Currently it is not that bad, but in the fall, there was a month with at least 4 outages. Most of them last only a couple of seconds, but enough to restart my computer …

Continue reading

Web trackers

Screenshot of Camparison

It has been my longtime wish to make a web tracker, that tracks changes on a given webpage. I tried doing things like that in the past, most successfully with tracking the progress of TeamTrees some years ago. My interest was renewed with the launch of TeamSeas this fall. With this stuff, one must be …

Continue reading

WordPress Anchors

Link to a specific part of the post The how-to should be explained here https://wordpress.org/support/article/page-jumps/. This post is intended to test the functionality. Second heading Filler text Third heading ΒΆ The url for third heading should be the post + #third-heading. What sucks about it, that nothing about this is automatic. You need to manually …

Continue reading

How to mark weekends with plotBands in HighCharts

So you have a plot y vs time and you want to denote different days of a week with plotBands. The only problem is, you want to do it dynamically, only from the beginning of your data to the end. Welcome to my world a couple of days ago. This is surely built in to …

Continue reading

XP220 Power Bank Specs

Input 5V, 500mAOutput 5V, 1000mACapacity 2600mAhLEDs meaning?

Merge PDF files with Python

from PyPDF2 import PdfFileMerger, PdfFileReader merger = PdfFileMerger() for i in range(len(games)):     merger.append(PdfFileReader(open(filename, ‘rb’))) merger.write(out_filename)

L298N Motor Driver

I have several L298N Motor Drivers, that are different. Because the L298N is just the chip, but the boards then have capacitors and diodes and stuff, that make the use easier. I decided that the biggest is the best, as it has a heatsink, that gets hot when there is 2A flowing through it (5-7V). …

Continue reading

Remove 5 second startup delay on Digispark

This worked after I tried a lot of options that did not work. Everyone was talking about some files named “deuxvis-1.05-digispark-d5-progbutton.hex” or “micronucleus-1.06-jumper-v2” or similar, but in the end, what worked was (assuming drivers for Digispark are already installed i.e. you are able to install software on digispark the normal way). Get micronucleus. Drag main.hex …

Continue reading

How to program LilyPad Nano (LilyTiny?)

The board is not necessarily called LilyPad Nano. The board I have looks like this and was bought at (Aliexpress – non-affiliate link). You upload to it exactly the same as to Digispark (Probably also need the same drivers, I did not need any additional driver). Including the annoying 5 second timeout (you need to …

Continue reading