• mod_lotto

    mod_lotto (AKA LottoPredict) is a module for Joomla 2.5 onwards. It fulfils a range of functions including the display of recent results.

    This documentation details how to configure the module to suit your needs

  • Multi-homing a Joomla site between the WWW and a Tor Hidden Service

    I did some work recently on making BenTasker.co.uk available via both a Tor Hidden Service (otherwise known as a .onion) and via the WWW.

    The reasons for doing this are published elsewhere, but this documentation summarises the steps I had to take (and why) in order to have the site safely accessible via both routes of access.

    For those who are interested, there's a far higher level of detail over on Projects.bentasker.co.uk.

  • MySQL Cheatsheet

    I started an article on basic MySQL Tips and Tricks a little while ago, but never quite finished it. This documentation contains those tips as well as some additional techniques I've picked up

  • OpenVPN on CentOS 6

    Setting up OpenVPN is seldom complicated nowadays, but on CentOS it's far more straightforward than I've experienced on most other distro's.

    This documentation details how to install and configure OpenVPN on CentOS 6

  • OpenVPN on CentOS 6 (Updated) - With HMAC

    I've previously documented how to install and configure OpenVPN on CentOS 6, but the steps appear to be outdated.

    In this documentation, we'll (very quickly) detail how to configure OpenVPN on CentOS 6. We're also going to enable TLS Authentication so that OpenVPN won't even respond unless the connecting client provides the right pre-shared key.

    You'll need the EPEL repos installed and enabled.

  • OpenVPN on Windows 2003

    We all know that Microsoft probably couldn't organise an orgy in a brothel, so I'm not sure why I was so surprised that their "Routing and Remote Access" service was interfering with other applications that may wish to add a route (in this case OpenVPN).

    This tutorial will show you how to install and configure OpenVPN on Microsoft Windows 2003 (including Small Business Server).

  • Performance Power 1Kva Generator has no output

    Performance Power 1Kva Generator

    Although this isn't technically a vehicle, there isn't a more appropriate category, and it is basically just a petrol engine and stator, after all.

    My Performance Power 1Kva (label reads as Ikva though!) petrol generator failed in service, and I've just got around to stripping it down to look into why and whether it can reasonably be repaired.

    This documentation details the process I've followed.

  • PGP Encrypted Text Chat Via DNS

    In a recent post, I alluded to having given a little bit of thought to ways in which clandestine communications could be achieved.

    Having given a little more thought to the idea, I was unable to resist the temptation to build a small proof of concept - if only to see whether there were any obstacles that I hadn't considered.

    This post is the documentation for DNSChat - a small proof of concept enabling PGP encrypted text chat using DNS Queries as a transport mechanism

  • PHP Changed Binaries

    PHPChangedBinaries is a simple server monitoring script. It's designed and exists to do one thing - detect and notify when system files change. 

    I've been running a very similar script for years, but in the wake of CDorked/DarkLeech decided it needed a refresh. The script works by generating checksums for all files within pre-configured paths (you can add more through the configuration file). These are then checked against a stored hash to see if anything has changed - if it has, the system admin is alerted. 

  • PHP GPX Ingest

    GPS eXchange format files (GPX's) allow you to record data from your Global positioning system for processing/import into other systems.

    The PHP GPX-Ingest class allows you to import basic GPX files and converts them into an object for easy data retrieval. In the process of doing so, it also generates basic statistics such as average speed, number of track points and journey length.

    The resulting object can be exported as a JSON string for easy storage and re-import back into the class at a later date (perhaps to extract more information).

    This documentation details how to include and use the class in your project.

    PHP GPX-Ingest is licensed under the GNU GPL V2 License.

  • Recovering from corrupted InnoDB Pages

    I recently encountered an issue with various InnoDB pages becoming corrupted on the database that plays host to my JIRA install. It was - to some extent - a mess of my own making for mixing production and development databases (or more precisely, for hosting that production database on a dev machine).

    Lesson learnt, sure, but I still needed to address the issue so that I could get JIRA up and running again.

    This documentation details the steps to follow - it won't resolve every case of corruption, but it resolved the issues I was seeing

  • RemoteHashStore Documentation

    RemoteHashStore is an API designed for use by the PHP Changed Binaries monitoring script. It's function is to simply maintain a database of file hashes and compare those hashes against those submitted when checking files. This documentation relates to the client included in the PHP Changed Binaries system. See the relevant documentation if you're attempting to build a client for the RemoteHashStore API (Coming Soon!).

  • Removing index.php from SEF URLs

    So you set up your Joomla! site, made it live, and later realised that you'd forgotten to enable the HTAccess file for SEF URL's.

    The end result being that all your URLs contain /index.php/ What to do?

    You could just enable the HTAccess file, but all the old URL's will then return a 404. Not great if your site has already been indexed by search engines, even worse if others have linked to you too.

    In fact, on newer sites, it might even be worse - the old link will still be valid, but there'll be a 'new' link too, so you'll end up with two URLs for the same content.

    It's actually incredibly simple to resolve, and this documentation details the two steps you need to take to resolve it, without breaking the old URLs.

  • Republished: Manual Database Retrieval Script for ZoneAlarm

    Originally published on Benscomputer.no-ip.org Jun 2008 (Note: Attached Script still works at time of Republishing)

     

    I was browsing the net earlier to try and find an answer to whether it is possible to manually download the ZoneAlarm Anti-Virus signatures. For those wondering why you would want to, standalone machines can't access the net to download the signatures, but are still subject to users with CD's and USB sticks. The easy way would be to update ZoneAlarm on a net connected PC and then copy the files from C:\Windows\System32\Zonelabs\avsys\base\ but if you don't have access to one, but do have a Linux Box then the script I have written will fetch the files for you (there are a lot, but they only add up to about 30 megs at time of writing).

     

  • RPC Ping Plugin

    The RPC Ping plugin is a simple Joomla! Extension designed to tell search engines when your sitemap is updated. By default, the plugin triggers whenever you save a com_content item (or a K2 item), but can also be configured to only send an update when new items are added.

    This post is the documentation for the plugin.

  • Saab 9-3 Door Lock Unit Repair

    The central locking door lock mechanisms on Saab 9-3s (and 9-5s) are known to occasionally malfunction/stop working. When you hit the central locking button on the remote, the affected door often won't lock (or won't unlock if it was already locked). The issue tends to start out intermittent and then worsen with time.

    A new unit is currently around £140 (without labour), but they can be obtained second hand on ebay for around £30. Replacing them is incredibly easy.

    It is also possible to strip the unit down to repair it, however, it's not without it's risks. While the door lock unit is removed the door won't latch closed (and certainly won't lock), so if you damage the unit trying to repair it, you're going to be in a tricky position. The route I took was to buy a second hand unit from ebay, fit that and then look at repairing the original (so I've got it on the shelf if the replacement starts exhibiting the same symptoms).

    This documentation details how to dismantle and repair the locking unit mechanism

  • Saab 9-3 Front Fusebox Layout

    Below is the ordering and rating of fuses for the Passenger side fusebox (located in the end of the Dashboard) for the Saab 9-3

  • Saab 9-3 Rear Fusebox layout

    The rear fusebox is located in the boot, behind the right hand side panel. The panel should just pull outwards and then you'll see the fusebox and rear electrical centre (also the stock amp if it was fitted at the factory).

    This documentation details what each of those fuses are. The image is clicky so you can view a larger version if required.

  • Saab 9-3: Front Brake Pads and Disc Replacement

    Replacing the front brake rotors and pads on a Saab 9-3 is pretty straight forward (in fact, it's almost identical - down to the caliper springs, to the process of doing the same on a Volvo S60).

    Before you begin, you'll need to have made sure you've ordered the correct size of replacement disc for your car. If you're not sure what size discs you require, see my guide on how to ascertain brake disc sizes.

    This documentation will walk you through the process of replacing pads and discs on your Saab 9-3. The car I've used in this documentation is a UK 2010 model, but the process should be more or less the same across the years (the caliper spring does differ in shape on earlier models though).

    The process is simple, however, these are your brakes - if you don't feel entirely confident then either get a garage to do it, or get someone who is confident to help/supervise.

  • Saab 9-3: Installing a Dashcam Hardwire Kit

    I drive a lot of miles, so statistically it's likely that at some point I'll be involved in a collision. In all my earlier cars, I've fitted a dashcam so that I can show whether or not (hopefully the latter) I was at fault when that day arrives.

    Having recently changed car, I once again need to install the dashcam. The cam itself is a Nextbase 412G and simply clips to it's mount (stuck to the windscreen, with one of these adhesive mounts).

    This documentation details how to install the Nextbase Dashcam Hardwire kit into a 2010 Saab 9-3 Saloon. It should also apply to most other years and variants of the 9-3 (and, to some extent, things like the Vauxhall Vectra).