View SSL certificate thumbprint / fingerprint / serial number

Assume you've just installed your certificate from LetsEncrypt and you want to verify that the thumbprint you see in your browser matches the value in the certificate itself.

Note that certificate thumbprint, fingerprint and serial number are all the same thing.

From the browser, we can see that the cert is using sha1 for the thumbprint.


The path to the cert provided by LetsEncrypt would be something like

McAfee virus

My laptop came pre-installed with a trial version of McAfee anti-virus software. Since my employer got hit with the qbot trojan I was concerned that it might have spread to my personal laptop so I decided to refresh it, which brought back all the pre-installed software including McAfee. In light of the qbot incident I decided to leave McAfee alone this time.

After a couple days I opened my laptop and wanted to work on a project. After 10 minutes waiting for the machine to become usable, watching Task manager and all of the McAfee processes, I decided this wasn't working out.

Drupal 7 print stack trace

Drupal 7 stack trace


//$e = new \Exception;
//$trace = var_dump($e->getTraceAsString());
//$trace = $e->getTraceAsString();
//$formatted_trace = str_replace('#', '<br />#',$trace);

Repair mysql database

After an unexpected shutdown, your mysql dastabase files might need to be recovered.…

Database datafiles for mysql are typically in


There will be one folder for each schema so long as you have innodb_file_per_table set.


MySQL Log file

The mysql log file can be found at /var/log/mysql/error.log. 


Subscribe to Front page feed