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

apache 2 on debian wheezy upgrade failure

After running apt-get update && apt-get upgrade on a Debian Wheezy server package apache2-mpm-prefork:amd64 was removed and package apache2-mpm-itk:amd64 installed instead.  After this change in Apache worker, all Virtualhosts sites on the server stopped working, with the following error format in the logs: [Mon Nov 21 09:57:41 2016] [emerg] [client] (13)Permission denied: mod_fcgid: can’t … Read moreapache 2 on debian wheezy upgrade failure

debian post-installation

Useful utilities I like to install after a fresh Debian installation (or on a running system): vim-nox debfoster localepurge htop iotop mytop latencytop sysstat debian-archive-keyring (to avoid apt-get update warnings) apticron (list available updates of installed packages along with the differences in the two versions) hdparm (measure I/O speeds) virt-what (decide if we are running inside … Read moredebian post-installation