Entries by Stefan Helander

Joomla! Component skeleton or framework

I was going to develop a Joomla! Component for a client and started to read the documentation on how to build a Joomla! Component. I searched online for a skeleton or framework so I didn’t have to program that from scratch. Googeling it didn’t show up any really good results. Until I realized there are […]

Meltdown and Spectre vulnerabilities – what to do?

Meltdown and Spectre are two vulnerabilities present in hardware making it potentially possible for programs to steal information, like passwords etc. Meltdown affects only Intel processors while Spectre, which is more complex, also partly affects AMD and ARM based processors. It is not yet known if these vulnerabilities has been exploited by anone. It can […]

Asterisk no sound from client

I was running an Asterisk server behind NAT without any problems at one location. Due to reoargnization it was moved to a new location and placed behind a pfsense firewall. After a while users reported increasing problems with no sound from the clients. It turned out running a SIP server behind a pfsense can be […]

How to vertically center text in a div

This is a neat way of centering text in a div. Live demo here.   <html> <head> <title>Vertical text center demo</title> </head> <body> <style> .textbox { height: 200px; width: 300px; text-align: center; font-size: 14px; font-weight: bold; background-color: blue; } .textbox p { height: 100%; display: flex; /* vertically center text */ justify-content: center; align-content: center; […]

Unable to mount NTFS filesystem due to hibernation

I had retrieved a harddisk out of a broken laptop containing Windows 10 in order to retrieve some files from it. The harddisk had been removed from the broken laptop and then installed in a HDD enclosure with USB connection. When I connected it to a Windows computer I could browse the Users folder but […]