Quickies, by Andrea Olivato

Sep 21

Taken with Instagram at Cascina - Centro Storico

Taken with Instagram at Cascina - Centro Storico

Aug 26

Nuvole finalmente! (Taken with Instagram)

Nuvole finalmente! (Taken with Instagram)

Aug 25

De-li-zio-si 

Furono (Taken with Instagram)

De-li-zio-si

Furono (Taken with Instagram)

So far so good (Taken with Instagram)

So far so good (Taken with Instagram)

Seppie comprate fresche al mercato di Livorno un profumo buonissimo in tutta la casa…. prima volta che cuciniamo gli spaghetti al nero. Mmm… (Taken with Instagram)

Seppie comprate fresche al mercato di Livorno un profumo buonissimo in tutta la casa…. prima volta che cuciniamo gli spaghetti al nero. Mmm… (Taken with Instagram)

Taken with Instagram at Cascina - Centro Storico

Taken with Instagram at Cascina - Centro Storico

Jun 21

Linux Foundation 2012 t-shirt contest
Vote the red one (freedom lifts us up), it’s my fiancèe’s one! :)

Linux Foundation 2012 t-shirt contest

Vote the red one (freedom lifts us up), it’s my fiancèe’s one! :)

Dec 07

Du sort by size and human readable

Quick example to improve the du command output by displaying the biggest 10 subfolder of the current folder, each with its human redable size.

	
du -k * | sort -nr | cut -f2 | xargs -d '\n' du -sh | head -n 10

Found on ubuntu forums

Jul 28

Simple PHP updating counter on a Bash shell

If you’re running a php script on a shell and want to know what it’s doing, at which point of the script it is you can simply use the chr function to print a backspace and updating a counter while running.

Below is a quick example

	
<?php
	$howmany = 20;
	echo "I have to do $howmany cycles\n";
	for($a=0;$a<$howmany;$a++) {
		$bkspacestring = "";
		for($k=0;$k<strlen(($a-1));$k++)
			$bkspacestring .= chr(8);
		echo $bkspacestring.$a;
		sleep(1);
	}
	echo "\nDid it!\n";
?>

Feb 12

tw2buzz -

Find your twitter followers using buzz too and connect with them!