19 Apr 2014

Quick Image library check for PHP-GD

donmc@etiikka:~$ php -r 'print_r(gd_info());' Array ( [GD Version] => 2.0 [FreeType Support] => 1 [FreeType Linkage] => with freetype [T1Lib Support] => 1 [GIF Read Support] => 1 [GIF Create Support] => 1 [JPEG Support] => 1 [PNG Support] => 1 [WBMP Support] => 1 [XPM Support] => [XBM Support] => [JIS-mapped Japanese Font Support] => ...

02 Sep 2013

Multiple copies per page printing of business cards in MS Publisher 2007/2010

A bug I had noted in Publisher 2007 & 2010 is fixed by this simple change to the page size settings: After following your steps I see the same problem in Publisher 2010 and Publisher 2007 Service Pack 2 but not in 2003 Service Pack 3. I see the 5 rows of 2 in 2003 as you are expecting in 2010 but not getting. What type of Avery labels are you printing? If you have the existing Publication...

23 Apr 2013

Proxmox Vhost IP Address Configuration

Some key cmds that I had to use to get the networking operational on the proxmox server: root@proxmax:/etc/network# vzctl set 103 --ipadd 192.168.3.88 --save This will poke a new IP address into the config for the container. The "/etc/network/interfaces" files that results will look like this: root@XXX4 /etc/network# less interfaces # This configuration file is auto-generated. #...

12 Feb 2013

VNC Install on RedHat

[donmc@MSJ ~]$ sudo rpm -Uvh VNC-Server-5.0.4-Linux-x86.rpm [sudo] password for donmc: Preparing... ########################################### [100%] 1:realvnc-vnc-server ########################################### [100%] Checking for xauth... [OK] Updating /etc/pam.d/vncserver Looking for font path... not found. Generating private key: p: ..........................

08 Jan 2013

bash history date/time stamps

By default, the bash history does not keep tabs on the time of day that a given command was run. But it is really as simple as defining ONE environment variable: "HISTTIMEFORMAT" This from "Linux by Example": HISTTIMEFORMAT takes format string of strftime. Check out the strftime manual to choose and construct the timestamp that suit your taste. My favorite is "%F %T ". export HISTTIMEFORMAT...

14 Nov 2010

Fixing the WEBMIN module for APCUPSD in Ubuntu Linux 10.04

I recently enabled the APC UPS monitor in my Ubuntu Linux 10.04 web server, and as a part of that, chose to use the webmin module available at: http://download.webmin.com/download/modules/apcupsd-0.81-2.wbm.gz And for the sake of complete disclosure, the APCUPSD module is available by a simple: sudo apt-get install apcupsd I then configured the "/etc/apcupsd/apcupsd.conf" to reflect the f...

Subscribe to