About MeCurriculumLicensePortfolioProjectsPublicationsBD-blog

Posts Tagged ‘url’

According to Netcraft, BD-blog recently broke the wall of top 50k in the most visited web sites. And finally, the RiskRating of the url reached score 0 (I don’t know why, but it had a minimum RiskRating for almost two years).
Anyway, here is the screenshot of the site rank:

I’m so happy about it! :D

 
 
Tags: ,
Categories: Misc

Sabato 22 Settembre ho avuto il mio primo live con i Morak, a San Doná, sopra Trento. É stato fantastico! Il pubblico eccezionale, un casino della madonna! Acclamazioni, applausi, urla, cori, poghi, corna, richieste di bis! Eccezionale davvero!
Abbiamo letteralmente spaccato, nonostante le casse spia fossero sempre in saturazione e voci + tastiera non sentissero nulla =)

Per dare un piccolo assaggio, ecco qui il video della canzone piú famosa, The Ghost Age:

L’intero concerto é stato ripreso da un nostro fan (Kino), con un cellulare, a lui vanno i nostri piú sinceri ringraziamenti!

 
 
Tags: , , , , , , , , , ,
Categories: Activism?

As you maybe already know, my permalink structure of the blog was of type http://bd-things.net/year/month/day/title-of-the-article/
I’ve just updated the permalink structure to this new one: http://bd-things.net/title-of-the-article/

This is nothing difficult, you can set it in Wordpress control panel (Options->Permalinks)

The problem was that, if I just updated the settings in WP control panel, all the links which pointed to my articles, written in forums, mailing lists, etc, would have been broken. I needed a mod_rewrite rule. And I’m a noob about mod_rewriting.
After some googling, I found this awesome mod_rewrite Cheat Sheet which brought me to the solution (after about 30 x /etc/init.d/apache2 reload :-) ):


RewriteEngine On
RewriteBase /
RewriteRule ^200[0-9]/[0-1][0-9]/[0-3][0-9]/(.*)/$ $1/ [R,NC,L]
RewriteRule ^200[0-9]/[0-1][0-9]/[0-3][0-9]/(.*)$ $1/ [R,NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


You just need to add two new lines in your mod_rewrite rules, as you see:

RewriteRule ^200[0-9]/[0-1][0-9]/[0-3][0-9]/(.*)/$ $1/ [R,NC,L]
RewriteRule ^200[0-9]/[0-1][0-9]/[0-3][0-9]/(.*)$ $1/ [R,NC,L]

The line basically means:
take the urls which starts with a year (200x) / continue with a month / continue again with a day / contain some text / (with or without the final slash / )
re_write the url just like this: /contain some text/

Yeap, it works! You can try it!
This is my famous article about thermal problems of Amd Turion X2 cpus and Linux (this is the link that Google knows) http://bd-things.net/2006/12/02/hp-nx6325-and-friends-thermal-problems-solved/
The link will be redirected to http://bd-things.net/hp-nx6325-and-friends-thermal-problems-solved/.

Cool, isn’t that? In this way, you can change your permalinks structure without loosing your google rank :-P

 
 

This document contains some precious definitions about Introduction to Programming, with Java as programming language supported. All of these definitions do not come from my mind, I just wrote a summary of the exhaustive teaching material of prof. Diego Calvanese of the free University of Bolzano. You can read his whole work at this url: http://www.inf.unibz.it/~calvanese/teaching/06-07-ip/lecture-notes/

I hope you will find the following interesting and useful. Enjoy it!
Read the rest of this entry »

 
 

You can find your favourite linux distribution at linode.com, a great hosting service where I’m transferring my blog and all other services I need. They offer great cheap VPS solutions, and you can choose Archlinux from the available linux distributions.
Archlinux is currently in testing: for example, ssh will not work after a fresh install. Here I’m going to explain how to fix this and how to access your VPS.

After the installation of Archlinux, if you try to connect to ssh, you will receive this error:

ssh yourUsername@yourIP
ssh: connect to host yourIP port 22: Connection refused

That’s because Archlinux does not install the openssh server by default. Let’s install it!
Linode offers a workaround to connect to your machines, called Lish, the LInode SHell. From this shell, you will be able then to connect to your machines.

ssh yourLinodeUsername@yourLinodeHost.linode.com

Where yourLinodeUsername is the username you chose for Linode registration, and yourLinodeHost is the host address of the machine (you can see it in this page, after a login: https://www.linode.com/members/remote.cfm, it’s in the form hostNUMBER).

You will be then prompted to Archlinux console. Use your root access and install ssh:

pacman -Sy
pacman -S openssh

Add sshd to your deamons array in /etc/rc.conf

DAEMONS=(… sshd …)

If you try to connect to your account via ssh, you will get another error at this time, because you need to allow external internet connections to the ssh daemon.
Your /etc/hosts.allow should look like this:

sshd: ALL

Start opensshd (/etc/rc.d/sshd start) or reboot the machine, you’re finished!

 
 
Tags: , , , ,
Categories: Uncategorized

Ho aspettato finchè diventasse ufficiale, ora lo posso urlare al mondo:

Sono il nuovo cantante dei Dark Season!
Dark Season Logo

Oooooh, ora mi sento meglio..

Stiamo provando da un mesetto circa, le cose vanno meglio di come sperassi, sto scoprendo quanto sia una figata cantare in un gruppo serio e piuttosto affermato, ma che soprattutto ti comprende al massimo, nei momenti positivi e in quelli negativi..
Vi voglio bene ragazzi :-)

La notizia ufficiale si trova qui

Per aggiornamenti, http://www.darkseason.org