Entries by Stefan Helander

Fix the Heartbleed Bug on Ubuntu

OpenSSL on Ubuntu can be vulnerable to the Heartbleed Bug. Not all versions of OpenSSL are affected though.  OpenSSL version 1.0.1 to 1.0.1f are vulnerable. OpenSSL version 1.0.1g are not vulnerable. OpenSSL branches 1.0.0 and 0.9.8 are not vulnerable. To fix this issue on Ubuntu systems:  Check your OpenSSL version to see if it is vulnerable […]

[Solved] Samsung Galaxy Note II (GT-7105) + Plantronics Voyager Legend bluetooth headset poor audio quality

I recently bought a Plantronics Voyager Legend headset to use with my Samsung Galaxy Note II phone. It worked fine for a day or two, then I started to experience poor sound quality. Especially the person I was talking to had real trouble hearing me. Restarting bluetooth in the Samsung or restarting the Plantronics headset […]

Vertical and horizontal center img in div

This example shows how an image (img) can be vertically and horizontally centered inside a div. At the same time it illustrates how to resize the image to fit inside the div. A live view of this code can be seen here.  <html>   <head>     <title>Vertically aligned img in div</title>     <style […]

Create custom blog category layout in Joomla 1.5

If you need to customize the blog category layout in Joomla 1.5 you do like this:  Create the following subfolders to your template directory:  mkdir -p templates/yourtemplate/html/com_content/category Copy blog.php and blog_item.php from Joomla core: cp -p components/com_content/view/category/tmpl/blog.php templates/yourtemplate/html/com_content/category cp -p components/com_content/view/category/tmpl/blog.php templates/yourtemplate/html/com_content/category Customize blog.php and blog_item.php in the components/com_content/view/category/tmpl/blog.php templates/yourtemplate/html/com_content/category folder to your needs. These modified files will […]