Cari lettori o avventori…

…lasciate un’impronta o voi ch’entrate. Ma anche un saluto, un link o uno spritz. Tutto bene accetto siori.

TRON Legacy hidden message

A new tron movie has come and Disney decided to provide an iphone app for free. They put a binary message to describe the app:
ENTER THE GRID


//start program

010101000110100001101001011100110010000001010100010100100100111101001110001
000000110000101110000011100000010000001110111011010010110110001101100001000
000110010101110110011011110110110001110110011001010010111000100000010000110
110111101101101011010010101010001010010010011110100111000100000011000110110
111101101101011010010110111001100111001000000011000000110111001100100011001
0001100010011000000101110

//end program

I knew that something was hidden behind this bunch of 0s and 1s:
This TRON app will evolve. ComiTRON coming 072210.

[PERL] Include .pl file

I needed to use some function to include a .pl file as in C. The answer is: require

mainFile.pl

require "myFunc.pl";

betterPrint("test");

myFunc.pl

push @INC, \&betterPrint;

sub betterPrint {
...
}

Pay attention to what you require. The .pl file must be in the same directory or called through full path.

Top 10 TV Series

1. Doctor House
2. Doctor Who
3. The big bang theory
4. Scrubs
5. Desperate Housewives
6. Chuck
7. Fringe
8. V
9. Caprica
10. The IT Crowd

TV Series you must watch but already finished
1. Lost
2. Flash Forward
3. Jericho
4. Battlestar Galactica

Skype Mood message, I hate you

It’s really annoying, every time someone changes is own message on skype, it shows a red mark as if you just received a chat.
Preferences->Advanced->Enable Mood Message Chat <- NO!!!

A post from the dashboard

Hello dear mac users, I’m using a good widget to post on wordpress directly from the dashboard on my powerbook.
The configuration is not so easy (if you don’t have google of course): username and password are the same as on wordpress; Your xmlrpc is the URL of your blog with a /xmlrpc.php at the end. E.g.: http://yourblog.wordpress.com/xmlrpc.php.

Have a nice blogging.

Link: WordPressdash

Run a fsck on reboot

fsck is an utility that looks for bad blocks and errors on your filesystem. It usually runs at specificied number of system startups. If you want to force fsck to run on the next boot, the command is:
# echo y > /forcefsck

Instead, if you want to ever skip fsck on start, then the command is:
# touch /fastboot

Determining ms sql db size

Hello, this morning i needed a task to be accomplished: understand what is the dimension of a couple of databases standing on a windows server 2003 with sql server 2005.

Here it is the walkthrough:
– start-> run -> cmd
– sqlcmd
– USE master;
– EXEC sp_spaceused;
– go

and that’s all.

References: http://msdn.microsoft.com/en-us/library/ms188776.aspx

Alert() and Facebook’s FBJS

As you may have noticed developing some facebook application, alert() function doesn’t work.

Here it is a valid substitute:
var dialog = new Dialog(Dialog.DIALOG_POP).showChoice(‘Window title’,’Alert content’,’Yes’,’No’);

I tested it and works like a charm.

Nessus su Ubuntu 9.04 Jaunty

Dalla versione 8.10, nessusclient e’ stato sostituito con un pacchetto pro forma per spingere gli utenti ad utilizzare l’ottima alternativa OpenVAS.

Nel caso siate costretti ad utilizzare comunque Nessus, potete installare il server con apt-get. Per quanto riguarda il client invece, va effettuato il download del pacchetto debian della vecchia stable 8.10 da
http://packages.ubuntu.com/hardy/i386/nessusclient/download

Una volta scaricato il pacchetto lo si installa con
dpkg -i nomepacchetto.deb

e si avvia il client con NessusClient

Montare una condivisione Windows Server 2003 su Linux

smbmount mi ritornava sempre

Unknown parameter encountered: “character set”
Ignoring unknown parameter “character set”

Usare invece:
mount.cifs //ip_server/nome_condivisione dir_su_linux -o username=user%password,iocharset=utf8,noperm