Author Archives: juhap

Filezilla GnuTLS error -15: An unexpected TLS packet was received and VsFTP

Too-long-don’t-want-to-read–give-me-commands-to-paste-to-my-terminal: sudo /usr/sbin/setsebool -P ftp_home_dir 1 Long(er) story I ran into “interesting” problem on CentOS while trying to setup VsFTP with FTPS. I was using FileZilla to connect to the server. The VsFTPd version that comes with my CentOS version … Continue reading

Posted in Misc |

Enable debug log in Azure Storage Emulator

Azure Storage Emulator has logging capability but this is not enabled by default and it does not seem to be available via user interface. In order to enable the log, Head to the Storage Emulator data directory, which is located … Continue reading

Posted in Azure |

Ubuntu, disable special effects

I installed Ubuntu under Hyper-V and for reason the UI with all the effects is S-L-O-W. Quick steps for disabling the UI effects: Then head to the effects tab and disable those that you want. This does not make the … Continue reading

Posted in Ubuntu |

Keymapper mappings for using Apple keyboard with Windows

I fell in love with the full size Apple keyboard. It is low profile and I really like how it works. Plus it’s pretty affordable (compared to premium keyboards). Unfortunately by default few of the keys are out of place … Continue reading

Posted in Web development |

Change SQL Server Express authentication mode

When you install SQL Server Express you can select the authentication mode. If you want to enable SQL Server authentication mode (username and password) later on, you can use T-SQL to do it:

Posted in Web development |

Digging Liferay article categories from database

In order to investigate certain issues I wanted to find out the journal categories directly from database. Below is the select I came up with. This is for MySQL. The string operations on the second line try to extract the … Continue reading

Posted in Liferay |

Write log from Liferay velocity templates

A simple example for writing log entries from Liferay velocity templates

Posted in Liferay |

Visio 2013 and 2016 disable rerouting

Drop something to the drawing surface, all other shapes freak out, running away from your new shape which you just wanted to throw in the background. Sounds familiar? If this something you don’t like, then disable connector splitting. Head to … Continue reading

Posted in Misc |

Disable Tomcat thread pool

I recently ran into issues with a third party application that had certain issues with threadlocals. Namely certain parts of the application were using threadlocal to store information, but did not clean up the stored information. This information then caused … Continue reading

Posted in Misc |

Create self-signed SSL certificate for Azure

Creating a self-signed certificate is simple – when you know the correct commands. First create the sertificate and private key (specify some password, remember it) Next combine the cert and private key to PFX: Now this should be good enough … Continue reading

Posted in Azure |