Posts By: jonny

IntegraTUM Web Disk

I decided to test IntegraTUM Web Disk which can provide a web interface to Samba shares, and just to get a demo working I did the following – these are not necessarily the best options for actual deployment.The first problem I had with this app was setting the tmp directory and I eventually used:                <param-name>uploadpath</param-name>               … Read more »

certwatch

Certwatch checks for Apache certificates which are due to expire. By default on Red Hat / Centos there is a cron job in /etc/cron.daily which runs and sends its output to root. To configure it: vi /etc/sysconfig/httpd Add a line such as: CERTWATCH_OPTS=”–period 30 –address my.user@domain.tld” It is also possible to switch it off with:… Read more »

Pancakes

Half a pint of buttermilk8 oz Plain Flour2 oz Caster Sugar1 dessertspoon of Golden Syrup1 Egg1 teaspoon Baking Soda1 teaspoon Salt Mix together and cook in a buttered pan until bubbles appear then flip to do the other side.

Red Hat up2date Subscription

If the Red Hat subscription expires. Edit the following file: /etc/sysconfig/rhn/sources Comment out the following line: up2date default Then add this line: yum dag http://apt.sw.be/redhat/el4/en/$ARCH/dag

MS Office 2007 Formats in Apache

In Apache 2 I added the following to stop Internet Explorer trying to open these formats as compressed archives (which they actually are) and to open them using the MS Office appliations: AddType application/vnd.ms-word.document.macroEnabled.12 .docm AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docxAddType application/vnd.openxmlformats-officedocument.wordprocessingml.template dotxAddType application/vnd.ms-powerpoint.template.macroEnabled.12 potmAddType application/vnd.openxmlformats-officedocument.presentationml.template potxAddType application/vnd.ms-powerpoint.addin.macroEnabled.12 ppamAddType application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsmAddType application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsxAddType application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptmAddType application/vnd.openxmlformats-officedocument.presentationml.presentation pptxAddType application/vnd.ms-excel.addin.macroEnabled.12… Read more »

HTC Hero Speed Symbols

Connection speed symbols on my HTC Hero. There are 4 symbols (shown below in order of speed) displayed in the top bar when using mobile network: G    GPRS ~ 56 kbit/s (171 kbit/s theoretical max)E    EDGE ~ 240 kbit/s (473 kbit/s theoretical max)3G  3G ~ 348kbit/s to 2Mbit/s H    HSPA ~ 3.6-7.2 Mbit/s with current… Read more »

PHP LDAPS

When using SSL connections ot an ldap server (active directory) the ldap functions worked with non-SSL connections but not with ldaps connections. I believe this is because I was using the hostname of the LDAP server rather than the service name and thus the SSL certificate did not match the server name I was using…. Read more »

Grub 2 Windows 7

I had initially installed Windows 7 then Ubuntu 9.10 on a singe SATA disk. Later I added an IDE disk and plugged in the SATA DVD drive and can no longer boot into Windows 7, with the error: error: invalid signaturePress any key to continue.. Back in Ubuntu I could see that my inital SATA… Read more »

Ubuntu Panels Lock Down

My sister had an issue with somehow moving the panels to different sides of the screen so to lock them down: In a terminal type: gconf-editor Expand apps > panel > globaland tick the option for locked_down

Debian chkconfig

On Debian-based systems adding a script to runlevels is accomplished with the following (assuming you have the script in /etc/init.d): update-rc.d -f myservicename start 80 2 3 4 5 . stop 30 0 1 6 . The priority (80 for start and 30 forstop) is set and the runlevels (starting in 2 3 4 5… Read more »