How can I safely erase an HDD?

How can I safely erase an HDD?

Found here