home

Quickies, by Andrea Olivato

Taken with Instagram at Cascina - Centro Storico

photo Taken with Instagram at Cascina - Centro Storico

1 year ago

September 21, 2012
Comments (View)

Nuvole finalmente! (Taken with Instagram)

photo Nuvole finalmente! (Taken with Instagram)

1 year ago

August 26, 2012
Comments (View)

De-li-zio-si

Furono (Taken with Instagram)

photo De-li-zio-si 

Furono (Taken with Instagram)

1 year ago

August 25, 2012
Comments (View)

So far so good (Taken with Instagram)

photo So far so good (Taken with Instagram)

1 year ago

August 25, 2012
Comments (View)

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)

photo 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)

1 year ago

August 25, 2012
Comments (View)

Taken with Instagram at Cascina - Centro Storico

photo Taken with Instagram at Cascina - Centro Storico

1 year ago

August 25, 2012
Comments (View)

Linux Foundation 2012 t-shirt contest

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

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

2 years ago

June 21, 2012
Comments (View)
text

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

2 years ago

December 7, 2011
Comments (View)
text

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";
?>

2 years ago

July 28, 2011
Comments (View)
link tw2buzz

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

4 years ago

February 12, 2010
Comments (View)