Posts Tagged ‘love’

Fedora 10, thank you very much! (macbook review and fixes)

Saturday, November 29th, 2008

I've never been a big fan of rpm-based Gnu/Linux distributions, since I've always preferred the stability of Debian and Debian based distros, with their great dpkg system.
The problem with Debian on Macbooks is that I do not see both the stability and performance anymore, as I have to use Lenny/Sid. Etch is too old and I don't have the time (*sic*) to play with it to make it work well. Lenny should be next to be released but I don't feel the very famous stability AND lightness of Debian distributions on this release, like I was accustomed in the past years. Is this because I own a Macbook? Maybe, but a Macbook Santa Rosa is nothing more than an Intel-powered notebook with some strange input devices and a strange non-bios system :-)

Regarding Ubuntu, I believe that this distribution has become naff and really slow. See this Slashdot discussion on this topic.

Yesterday I stumbled to Scientechie review of Fedora 10, which convinced me to try it out.
The software shipped with Fedora 10 is aligned with the one provided with the other distributions: Gnome 2.24.0, kernel 2.6.27.5, NetworkManager 0.7.0 (svn) and so on. Read the release notes for more information.

Fedora 10 really surprises me, as it is the first Gnu/Linux distribution in many, many years that makes me feel again the great stability and performance of the Penguin. Therefore I'm writing this review that is also a how-to, as it contains some fixes for Fedora 10 and Macbooks.

(more...)

Share/Save/Bookmark

The One

Tuesday, July 8th, 2008

 

This is dedicated to my angel..

Annihilator - The One

You are the one but so far away
To be with you, there's no other way
you kiss and you touch so perfectly
I need to hold you close to me

I want you and I need you
Like no one else before
Right here and right now
I can't take this anymore

I wanna be yours forever, a king for and a queen
But not in a story, not in a dream
I try to put myself to sleep but I miss the one I love
I miss the one I love
I think I got myself in deep with an angel from above
You're the one I love

I wanna be yours forever, a king for and a queen
But not in a story, not in a dream
I try to put myself to sleep but I miss the one I love
I miss the one I love
I think I got myself in deep with an angel from above
With an angel from above

You're the one I love

Share/Save/Bookmark

EHLO Gnu/Linux, I’m back!

Tuesday, July 1st, 2008

After about 5 months of separation from my preferred operating system, the discontent brought by Mac Os X led me to a re-born love with Gnu/Linux.
I Installed Gentoo (~x86, not x86) on my MacBook, following some articles found on the Gentoo wiki and on Ubuntu wiki.
The result is the following:

Clean Desktop

Some things opened: Gnome Menu, Gnome Terminal, Nautilus, Scite

Features:

  • Gnome 2.22.2
  • MurrinaGilouche + Elementary Metacity (link - link)
  • black-white 2 Gloss Icons (link)
  • Screenlets [RingSensors] (link)
  • A wallpaper included in Gnome, still looking for the perfect one

Let's have some fun with Gnu/Linux...again!

Share/Save/Bookmark

Me and Fra..

Tuesday, May 27th, 2008

If someone asked me how do I imagine love.. Instead of words I would answer with this photo:
Daniel e Francesca
We are so sweet..love you..

Share/Save/Bookmark

How to write secure php scripts - useful links

Wednesday, October 31st, 2007

If you're interested in writing secure php sites, there are some useful sources to be read.
I suggest some links:

  • Writing Secure Php from the author of another useful article about mod_rewrite (Ilovejackdaniels.com), three pages
  • Creating a Secure Php Login Script A little tutorial from devshed.com
  • SecurePHP Yeah cool! A wiki about secure php! Lots of interesting articles!
  • Php Security Guide From PHP Security Consortium
  • Pro PHP Security A book written by Chris Snyder and Michael Southwell, well written. You should really buy it!...Ok...I'm about at page 150 of 500 but..I's interesting, anyway :-P

Share/Save/Bookmark

New permalink structure: short wordpress urls

Monday, June 11th, 2007

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

Share/Save/Bookmark