Pages

Tuesday, September 28, 2010

Zend Framework Performance - specifically helper vs partial vs action helper vs action stack

There is a good section in the ZF reference guide regarding performance.  Specifically, pertaining to helpers, partials, action helpers, and action stacks.  This article hates on the partial because it is expensive to clone the view object.

http://framework.zend.com/manual/en/performance.view.html
http://framework.zend.com/manual/en/


Sunday, September 12, 2010

Wipe or shred hard drive before selling to remove personal data

sudo shred /dev/sda1 -f -v -z --iterations=1

Where /dev/sda1 is the partition you wish to wipe clean.

Increase the iterations for a "deeper" wipe.

This actually runs two iterations because of the -z.  The first pass is random and the second pass is zeros.

I've also used wipe which seems to be held in higher regard by some.  It just ran and ran on the default settings.. I let it run for a full day and it was still going.

The major problem with wipe is that it does not come on the Ubuntu live disk and shred does.  Makes it a bit easier if connecting to a network is not handy.

If you need to use wipe, you can add it using the package manager, but you have to add the "user contributions" package repository to find it.  -- Lightly paraphrased.