Author Archives: Pod Master

About Pod Master

The difference between stupidity and genius is that genius has its limits.

JQUERY setLocale Errors

A number of JQUERY plugins can throw up syntax errors after setting setlocale(“LC_ALL”,XXX.utf8)   Make sure you change back the LC_NUMERIC variable;   setlocale (LC_ALL, $language); setlocale(LC_NUMERIC, ‘C’);      

Posted in Miscellaneous | Leave a comment

BT Home Hub URL — Log into your BT Home hub

Its easy… just visit this URL: http://bthomehub.home Your login information will be on the home hub itself!   Bookmark it so you dont forget!!    

Posted in Miscellaneous | Tagged | Leave a comment

Opt out of BT FON – BT Openzone

BT may activate your BT home hub to automatically become a BT openzone public hub!! Little do most people know that when you sign up to BT you are automatically opted IN to this service!!! Yes annoying. You can opt … Continue reading

Posted in Miscellaneous | Tagged , | Leave a comment

ALT- Code for international characters

Hold down the ALT key and type the numbers next to the character you need.     German / deutsch   Portuguese / português ä 132 Ä 142 à 133 À 0192 ö 148 Ö 153 á 0225 Á 0193 … Continue reading

Posted in Miscellaneous | Leave a comment

Automatically find and re-attach to a detached screen session

SCREEN -RR OR SCREEN -X SCREEN -R ……

Posted in UNIX | Leave a comment

Upgrade Your Dell Laptop Hard Drive in Windows 7

There is probably an easier way to do this, but I got there doing the following steps.. 1. Find out the type of hard drive you currently have in your laptop. Mine was a 250Gb SATA 2.5inch drive. 2. Purchase … Continue reading

Posted in Windows | Tagged , , , | Leave a comment

Extract CREATES from SQL dump

If you are trying to extract the create routines from a SQL dump, this might help you! Basically it picks out the contents between “CREATE” and “\;” You can modify these two variables as need be..   cat dump.sql |awk … Continue reading

Posted in UNIX | Leave a comment

Perl – Fork and Kill a System Process on Timeout

$pid = open(PIPE, “$command |”) or die $!; eval { local $SIG{ALRM} = sub { die “TIMEOUT” }; alarm($timeout); while (<PIPE>) { $data = $_; }; close(PIPE); alarm(0); }; if ($@) { die $@ unless $@ =~ /TIMEOUT/; kill 15, … Continue reading

Posted in Perl | Leave a comment

Removing the AVG secure search bar!!

This annoying install is a bit of a bugger and doesnt allow you to strictly change your home page back to normal. What you need to do is go to Start -> Control Panel -> Uninstall Programs and select ‘AVG … Continue reading

Posted in Apps | Leave a comment

Restrict Media Wiki Access

To prevent new user registrations add the following to LocalSettings.php # This snippet prevents new registrations from anonymous users # (Sysops can still create user accounts) $wgGroupPermissions['*']['createaccount'] = false; To prevent anonymous users reading pages add the following to LocalSettings.php … Continue reading

Posted in UNIX | Tagged , | Leave a comment