Blog Links

Linux – disk usage (du) human readable AND sorted by size

This is quick tip to fix a problem that has always bugged me – When showing disk usage in a human readable form (KB, MB, GB) for each subdirectory using “du -sh *”, how can you properly sort it into size order.
If you just want the solution here it it…

pre.command {
width:80%;
background-color:#FFF5F5;
border:1px dashed #BB8888;
margin:10px;
padding:10px;
}

alias duf=’du [...]

XPaths with PHP by example

PHP

Learn by example how to scrape web pages using PHP and Xpath.

Example SMTP conversation

email

A quick overview of how SMTP emails are sent.