Basic VI Editor Shortcuts If you’re a Unix or Linux System Administrator then you will most likely have come across the VI editor, whether you’re bashing out a shell script or need to modify a configuration file VI comes in…
Basic VI Editor Shortcuts
PHP Extract Data from HTML
PHP Extract Data from HTML I’ve recently been working on a PHP project to analyse raw HTML, I needed to extract data from HTML so to make processing a bit easier I decided to store HTML tag elements in an…
PHP Search Multi Dimensional Arrays
PHP Search Multi Dimensional Arrays PHP provides some nice functions (in_array, array_search) to check if a particular value exists inside an array, without the need for any additional for or while loops in your code. If you want to search…
LVM – Resizing a Linux partition
LVM Resizing a Linux partition I’m sure at some point you will need to resize a partition, particularly if you aren’t using LVM (Logical Volume Manager), to create and manage your disks. **** This will only work for non-root partitions…
Who moved my cheese – Has it moved at all
Who moved my cheese? by Dr Spencer Johnson Wondering around the shops this afternoon with Ange, drawn into the Business section in Waterstones I started to browse the books aimed at start-ups. My cheese, or rather my goal, to develop…
Retail – What’s the big idea?
The Economy I’m sure by now most people in the UK are aware of the current economic climate, with the rippling effect of cost cutting and tax mark ups. Why is this ‘recession’ digging deeper? Could it be because of…
snmp Race condition Large routing table
SNMP I recently configured a Linux based system running BGP (Quagga / Zebra) to allow SNMP data to be collected by a monitoring server. Initially all looked fine, interface metrics and CPU utilization was all showing; randomly the monitoring server…
O2 Network Outage
Update 00:05 I managed to get to the O2 service status where they have a tool to check coverage in your area… Live Results for Leeds, Leeds Our network is currently working fine We’ve been working on phone masts in…
Disaster recovery
Whether it be in the cloud or physical across multiple data centres, disaster recovery can work seamlessly or require constant guidance. Over the past weeks several companies have been hit by considerable downtime, which poses the question how feasible ‘the…