Archive for the ‘Work’ category

Removing a password protected Symantec AntiVirus

December 2nd, 2009

The magic key I need to remember:

HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\VirusProtect6\CurrentVersion\Administrator Only\Security\UseVPUninstallPassword

Change to 0 (zero)  and run the uninstall program again.  Voila!

Domain Renewal Group – scammy smelling snailmail

November 28th, 2009

Another day, another letter from “Domain Renewal Group” sent to our house, warning that one of my domain names (my main work one) will expire on April 10th 2010.   Apart from the fact that it’s a wee bit early to renew (I’d prefer to keep my cash in the bank as long as possible, TYVM), they charge an outrageous £20 for a single year.  One & One charge me £8.99, so we’re looking at a 122% increase, yet they don’t host the web site or email, they just redirect these to ones I supply myself.

A pretty poor offer, yet their modus operandi seems to be:

  • Do a whois lookup for the billing contact for a domain that will expire in the next N months (N seems to be getting larger)
  • Send a letter on good quality paper to this address, vague enough to confuse a non-technical person.
  • Take their ridiculous cut for not doing very much.
  • Profit!

There’s more information over here about their dodgy practices. People are even implying that they won’t provide the basic service they claim, but I can’t comment on that since I’ll never use their service.

Parasites.

VMWare Server 2.0 Console not working

March 19th, 2009

I’ve had a few issues recently  opening a VMWare Server 2.0 web based console with Firefox 3.07 running on OpenSUSE 11.1.  The console session just didn’t appear, which is a problem when you can’t SSH into the target VM due to lack of networking.  The answer is obscure but works well:

VMWARE_USE_SHIPPED_GTK=TRUE firefox &

With this, the console works correctly as expected.  Lovely.

Speeding up a slow NVidia 8400 card in opensuse linux

November 27th, 2008

I was having dreadful problems on my HP Laptop with KDE4 or Compiz – jaggies, slow performance, difficulty switching tabs in Firefox, the whole experience was poor.  After a spot of Google trawling, I added these to the /etc/modprobe.conf.local on my installation of 11.0 (and 11.1)

#
# please add local extensions to this file
#

options nvidia NVreg_RegistryDwords=”PerfLevelSrc=0×2222″
options nvidia NVreg_Mobile=1

This was with a Geforce 8400M GS which shows up in lspci as:

05:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)

The difference was pretty dramatic.  KDE 4.1is usable with KWin display effects turned on, tab switching is smooth and generally it’s pretty usable again.  All using the NVidia 177.82 driver.

Getting symfony running on 1&1 shared hosting

September 30th, 2007

This is mainly for my own record. I’ve been playing with the Symfony PHP framework to see if it’s suitable for a new project I’m working on, but had a little bit of trouble getting it working on my 1&1 shared server.

The first problem was fairly easy to fix – the default version of PHP on the server is 4, but symfony needs 5.0+. A quick entry into the .htaccess file for the site fixes this. Add “AddType x-mapp-php5 .php ” and all is well. It’s a pain to have to remember to type “php5 symfony”to get things working, but no big stress.

The next issue is to get the images to show up in the test index.php page. I installed symfony using the PEAR packages, so the symfony_data/web/sf directory wasn’t visible as it was way outside the web root for the domain. A simple link fixed that. First, I needed to get the directory for my php/symfony data directory using the pear5 comand
> pear5 config-show
Configuration (channel pear.php.net):
=====================================

<snip>
PEAR executables directory bin_dir /kunden/homepages/18/d96003440/htdocs/local/bin
PEAR documentation directory doc_dir /kunden/homepages/18/d96003440/htdocs/local/lib/php/docs
PHP extension directory ext_dir /kunden/homepages/18/d96003440/htdocs/pear/ext
PEAR directory php_dir /kunden/homepages/18/d96003440/htdocs/local/lib/php
PEAR Installer cache directory cache_dir /kunden/homepages/18/d96003440/htdocs/pear/cache
PEAR data directory data_dir /kunden/homepages/18/d96003440/htdocs/local/lib/php/data
<snip>

Next I created a link in the web directory for my new application to the symfony web/sf/ directory in my applications web directory (the bolded one above):

cd web

ln -s /kunden/homepages/18/d96003440/htdocs/local/lib/php/data/symfony/web/sf/

Hit the URL http://www.servername/app/web/app_dev.php and all was well. Now to crack on with some development.

Bad Behavior has blocked 1330 access attempts in the last 7 days.

peteconnolly.co.uk is Digg proof thanks to caching by WP Super Cache