After having setup an email server (eg: using gmail as smtp server or sendmail as a SMART HOST or any other way you want..) you need to test it.[……]
Category: How To
Tutorials and guides on how to install software, tweak and personalize your system…
PHP: remove duplicate elements from a multi-dimensional array
array_unique removes duplicate values from an array. Unfortunately it doesn’t work with multi-dimensional arrays.
A quick workaround is to serializ[……]
Ban offending IP addresses – fail2ban
If you have logwatch installed (or you read auth.log file) you can find lots of entries mentioning login attempts/attacks.
Something like:
Nov 20[......]
Send system emails using gmail as smtp server
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[……]
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[……]
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.[……]
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[……]
Logical Volume Management basics
I’ve explained how to activate a LVM Logical Volume before but never talked too much about LVM itself. Here is a brief introduction.
I’ve been play[……]
How to run a system command in background from PHP
If you are at the command line (eg: bash) and want a command to run in background you simply add an “&” at the end of the command, eg:
sleep 10 &[......]
Re-open last tab/tabs closed on Google Chrome/Chromium
Sometimes I close tabs by mistake and I never remember the shortcut to re-open them again.
I’m sure after this I will remember it… :-D
Ctrl+Shif[......]