Author: psla
-
Shucking WD Easystore WDBCKA0120HBK-NESN
WD Easystore 12TB from BestBuy, purchased in May 2020, contains WDC WD120EMFZ-11A6JA0. It weighs XXX grams. (to be filled in when I actually take the drive out) smartctl -a (still…
-
Freezing Acrobat Reader DC when signing pdfs using Smart Card
I couldn’t figure out why I cannot sign PDFs using my smartcard anymore (I had no troubles on a different computer a couple months back). Adobe Acrobat Reader would simply…
-
Automatic renewal of letsencrypt.com certificates
On my personal servers I am using letsencrypt certs on debian and/or ubuntu. Several times now I couldn’t renew it automatically, due to a various of reasons, but there is…
-
Serialization choices
I’ve been recently looking into different serialization options. While there are plenty of writeups (even in C#) already available, I wanted to: Have one about C# Learn something new 😉 Look into…
-
Programming Atmega 328P-PU using Raspberry Pi (B+)
[I am new to microcontrollers – whatever I’ve written worked for me, but proceed at your own risk] I wanted to start playing with a little bit of home automation.…
-
A few words about (unit) testing
Purpose of testing I think every developer knows something about different types of testing (unit, integration, functional / acceptance, regression, etc.). Add to this performance testing, black-box testing and you…
-
Reasons to avoid Try/catch/swallow block
This question has been asked multiple times before: why is “try { … } catch {}” a bad practice? ([0], [1], [2]). All of those answers are good, but I would…
-
cn=admin,cn=config password and bdb_equality_candidates: not indexed
So you want to modify your config of ldap, you might want to use ldapvi, such as below: ldapvi -h ldap://localhost -D cn=admin,cn=config -b cn=config — Login Type M-h for…
-
Ruby – Regex – Special characters
“There ain’t no such thing as plain text”. Joel Spolsky (what every developer must know about unicode). This text is based on the assumption, that current locale uses UTF-8 encoding.…
-
find & chmod & xargs – changing uid of files
Because of the system reinstallation & user ids remapping, I wanted to update all of the files from given UID to new UID. One of the ways to do this…