Zero Filling a Disk in Linux

Zero Filling a Disk in Linux

The simple way to wipe or zerofill a disk is: dd if=/dev/zero of=/dev/sd? bs=1M However I found an article describing how to zero-fill with a progress indicator using pipebench, installed on Debian/Ubuntu ...

Increasing CentOS LVM under VMWare

Increasing CentOS LVM under VMWare

Background: I had an existing CentOS machine as a virtual machine running on VMWare ESX Server and it was running out of space so for future reference I did the ...

SquidGuard LDAP User Search and Special Characters

SquidGuard LDAP User Search and Special Characters

So I had a problem with the ldapusersearch string as some eejit has created an OU with spaces and an apostrophe in the name. So the characters are represented as: comma ...

Flushing local client DNS cache

Flushing local client DNS cache

From info I found here. This is how to flush the local client DNS cache. Windows: ipconfig /flushdns Linux: sudo /etc/init.d/networking restart Mac: lookupd -flushcache

Browsing all articles in web design

jQuery Reading Shakespeare XML

I was helping someone with some jQuery to read XML files of Shakespeare plays and this is what I came up with. Very incomplete but he so I can reference [...]

Visualising Social Networks like Facebook

I was asked to check out Gephi with the aim of visualizing Twitter and Facebook social networks. I installed Gephi on Ubuntu using the following (PPA): sudo apt-add-repository ppa:rockclimb/gephi-daily sudo [...]

cPanel: Adding Apache and PHP Modules

I needed to add mysqli support to cPanel and did so by logging in to the WHM on port 2087 scrolling down the left menu to Software and clicking EasyApache [...]

WordPress Upgrades and LDAPS

I have a WordPress installation which uses LDAP against Active Directory to authenticate users. I upgraded PHP to version 5.3.8 from version 5.1.6 (using the Atomic Repository) and also upgraded [...]

Website Vulnerability Scanning

So I tested out Skipfish today to do a quick check on a website / web server. Hosted on Google at: http://code.google.com/p/skipfish/ download it, extract it and make and run: [...]

jqplot Problem and Simple Example

This is a simple example usage of the jqPlot jQuery plugin. The example on the author website omits the “, {}” options in the .jqplot function call. <html> <head> <script [...]

Piwik Funnel Plugin

The goals analysis in Piwik is a little limited in comparison with Google Analytics but the following plugin which is in development looks promising and of use already.http://dev.piwik.org/trac/ticket/220

Google Font Directory

The Droid Sans font from Google Font Directory is a lovely font with great readability for use on web pages.To use Droid Sans add a css link: <link href=’http://fonts.googleapis.com/css?family=Droid+Sans‘ rel=’stylesheet’ [...]

TinyMCE for Sending Email

I had an issue today with TinyMCE WYSIWYG editor which uses proper XHTML and CSS for aligning elements. This is all good for CMS style usage but my usage was [...]

Images Working in IE but not Firefox

I had an issue today while working on Peter Fitzpatrick Estate Agents website. I had an image to add to the side bar to focus visitors attention on a new [...]