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 more
~ $ alias | grep wanip alias wanip=’dig +short myip.opendns.com @resolver1.opendns.com’ ~ $ wanip xxx.xxx.xxx.xxx ~ $ xxx.xxx.xxx.xxx is indeed my external ISP dynamically assigned IP address
I thought it would be appropriate to write something about the VPS this blog is currently hosted on. It’s a Cloud SSD VPS from VPSie. This will be a short post. I will not be including any benchmarks or screenshots, as these can be exported at any time. I just want to give my impression … Read more
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 xxx.xxx.xxx.xxx] (13)Permission denied: mod_fcgid: can’t … Read more
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 more
WordPress served by Nginx on a cheap VPS This is a first, test post written in WordPress, hosted on a cheap but fast VPS and served by Nginx. I will post a short review about the VPS service I am currently using and hosts this blog. Enjoy!