…lasciate un’impronta o voi ch’entrate. Ma anche un saluto, un link o uno spritz. Tutto bene accetto siori.
Filed under: pensieri | Leave a comment »
…lasciate un’impronta o voi ch’entrate. Ma anche un saluto, un link o uno spritz. Tutto bene accetto siori.
Filed under: pensieri | Leave a comment »
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.
Filed under: Uncategorized | Leave a comment »
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.
Filed under: perl, programmazione | Leave a comment »
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
Filed under: Uncategorized | Leave a comment »
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!!!
Filed under: Uncategorized | Leave a comment »
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
Filed under: apple, dashboard, mac | Leave a comment »
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
Filed under: linux, tips n tricks | Leave a comment »
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
Filed under: software, tips n tricks, Uncategorized, windows server 2003 | Leave a comment »
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.
Filed under: Uncategorized | Leave a comment »
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
Filed under: tips n tricks, ubuntu | Leave a comment »
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
Filed under: linux, tips n tricks, windows server 2003 | Tagged: linux, samba, share, windows | Leave a comment »