Basic Usage: mysqldump -u root -pSECRET –quote-names –databases mydatabasename > mydatabasename.sql If find it best to include the –databases switch as this will add the ‘DROP DATABASE’ and ‘CREATE DATABASE’ [...]
Oct
2009
Redirecting Mobile Web Users
There are a few potential methods for this, but the first worked fine for me.1. Apache Mod_Rewrite RewriteEngine On#redirect mobile browser using HTTP_ACCEPT headerRewriteCond %{HTTP_ACCEPT} “text/vnd.wap.wml|application/vnd.wap.xhtml+xml” [NC]RewriteCond %{HTTP_HOST} “!m.yourmobileurl.com” [NC]RewriteRule [...]
Oct
2009
Anonymous Firefox and Vuze (Azureus) on Ubuntu
Great instructions for anonymising torrents on Ubuntu here.
Oct
2009
Opera Mini on Ubuntu
I’m using Ubuntu 9.04 and I wanted to be able to run Opera Mini for testing web sites: Download MicroEmulator from here (or direct version 2.0.3) Extract the tar file [...]
Oct
2009
Apache DirectoryMatch for Intranet-Style Access
I needed to ensure that within a rather large directory structure any directory named ‘intranet’ was only accessible by internal IP addresses. Although from a security perspective this is not [...]
Oct
2009
Shutting Down Solaris 8
I was trying to shutdown an old solaris box with: shutdown now Obviously not the right thing to do as I got output similar to this: Shutdown started. Mon Oct [...]
Oct
2009
Apache DirectoryMatch for Intranet-Style Access
I needed to ensure that within a rather large directory structure any directory named ‘intranet’ was only accessible by internal IP addresses. Although from a security perspective this is not [...]
Oct
2009
Install RealPlayer on Ubuntu (9.04)
I wanted to try out Real Player on a radio station stream so … Visit: http://www.real.com/linux Click the Deb download link and Open with the GDebi Package Installer as prompted. [...]
Oct
2009
Easy Peasy on the eeepc
I decided to have a play installing Easy Peasy on the 7″ eeepc I borrowed from my sister.Setting it up was quite easy:1. Download the iso (at a whopping 800Mb)2. [...]
Oct
2009
Shell Script: Search for Strings in Web Files
I used this shell script to search through some web directories for references to particular strings – just for future reference.The find command only greps in html, php and pdf [...]

