fix squirrelmail greek language encoding issues

When sending mail through the squirrelmail webmail interface and using the installation defaults on Debian Wheezy and Debian Jessie, Greek characters do not appear properly in the destination inbox. This has to do with the default squirrelmail encoding which is set to iso-8859-1 . To solve this, I had to perform the following: View the … Read morefix squirrelmail greek language encoding issues

fix grub after upgrade from jessie to stretch

After the upgrade from Jessie to Stretch, GRUB started throwing the following error: error: no symbol table. … Press any key to continue… If I pressed any key or didn’t press anything at all, system would boot normally after a few seconds. Still, the error message bothered me, so I fixed it by using the … Read morefix grub after upgrade from jessie to stretch

pac manager failure on debian stretch

After upgrading my laptop from Jessie 8.8 to Debian 9 Stretch on the 19th of June, 2017, PAC Manager stopped working. Specifically, it would start, but hanged when I tried to open a connection, either ssh or local. After searching around, I found the following post which seems to have given the solution: https://sourceforge.net/p/pacmanager/bugs/293/ The … Read morepac manager failure on debian stretch

enable arrow keys support in nslookup

I use nslookup daily, and I find the fact that I can’t access previous commands or the command history inside nslookup command prompt frustrating to say the least. Looking for a solution, I stumbled across an apple.stackexchange.com question and answer and solved the annoyance. In Debian, do the following (as root, or with sudo): apt-get … Read moreenable arrow keys support in nslookup

quick way to generate passwords under the terminal

Install pwgen package: apt-get install pwgen Then run the following command to generate one password of length 15 and include at least one capital letter, one number and one special character: pwgen -1 -c -n -y 15 Update (2018-09-23): For even more secure passwords, you should type the command as follows: pwgen -1 -c -n … Read morequick way to generate passwords under the terminal

apache2 mod_python version mismatch

I was getting some warnings in one machine’s Apache 2 web server error log regarding mod_python, see below: [Wed Jan 25 01:29:11.717727 2017] [:error] [pid 4389] python_init: Python version mismatch, expected ‘2.7.5+’, found ‘2.7.9’. [Wed Jan 25 01:29:11.717856 2017] [:error] [pid 4389] python_init: Python executable found ‘/usr/bin/python’. [Wed Jan 25 01:29:11.717864 2017] [:error] [pid 4389] … Read moreapache2 mod_python version mismatch

add dropshadow to image with imagemagick

Tiny shell script to add drop shadow to a PNG image with the use of convert(1) from ImageMagick and save the output as a new file with .shadow appended to the input image file name, before the suffix. #!/bin/sh convert $1 -bordercolor none -border 12 \( +clone -background black \ -shadow 80×3+3+3 \) +swap -background … Read moreadd dropshadow to image with imagemagick