I wrote before about sending system emails using sendmail as smarthost.
Today I describe how to do that using gmail smtp servers.
The software that will allow us to do that is called “ssmtp” and it’s a “send-only sendmail emulator for machines which normally pick their mail up from a centralized m[……]
How to shred/wipe disks/partitions
If I decide to sell or when I have to return a hard drive I want to make sure not everyone can access my data.
To do that I’ve often used the command shred this way:
shred -vzf -n 5 /dev/sdb
where:
-v; show progress
-z; add an extra pass of zeros to hide shredding
-f; change permissions to a[……]
How linux sucks
Root HTC Wildfire (Android 2.2.1), install Cyanogenmod 7 and fix GPS
I’ve been using my Android phone (HTC Wildfire) for quite some time now.
It’s not a bad phone but it’s somewhat limited, mainly in memory and speed.
Plus, I really wanted to experiment with it and see what a custom ROM could do.
From my research SuperOneClick is the most popular software to roo[……]
Formatting a partition from command line
Formatting a new partition from the command line is pretty straight forward.
I do it quite often when playing working with LVM.
So, long story short, format the partition (to ext4 in this example)
mkfs.ext4 /dev/sdxy
Change the “reserved-blocks-percentage” for data partition (optional).
Normall[……]
Please Insert Windows Install Disk #1
Drush intro – Drupal
Drush is a command line shell interface for Drupal which can be very helpful for all sort of automated tasks like backups, package management, updates etc..
Installation
The preferred way to install Drush is via the official PEAR channel but it can also be installed manually (which might be the[……]
XBMC 11 (aka Eden) stable release download available
XBMC Media Center (formerly Xbox Media Center) is a free and open source cross-platform media center/HTPC (Home theater PC).
I’ve been using it for just a few months now but, I must say, I never tried any media center as good, configurable and feature-rich as this.
Here you can have a look at[……]
Accelerate downloads with lftp
lftp is a command-line file transfer software.
Basically it’s a versatile FTP client with some interesting features.
The feature/command I use the most is “pget”.
The option “n” accepts an integer which defines the number of parallel connections to be created.
Some servers limit the bandwidt[……]
PHP UK Conference 2012 slides – London
As mentioned in the last post, I was going to go to the PHP Conference in London.
Well, I have been! :-)
It was the first time for me but was exactly as expected. Very interesting, entertaining, and absolutely inspiring…
Unfortunately the slides are not always easy to find as I haven’t found a[……]

