Translate

Archive for February, 2006

Create Base32 SHA1 hashes out of files in PHP 5

Thursday, February 9th, 2006

LimeWire and other Gnutella clients uniquely identify files by creating a SHA1 hash of the files.

I thought that it might be useful to the gnutella network to have regular webservers sharing legal files.

Usually regular Joe webmasters don’t have permissions to run java programs or have tcp ports open due to their webhosting contracts, however most of them can run PHP script, and some hosting companies allow for PHP5. This post is to have one more reason to start moving to PHP5 and one small step towards having more websites distributing content straight to the Gnutella network.
A few weeks LimeWire developer Karl Magdsick developed a simple base32 converter in python, he was creating a simple gnutella servent, I thougt I could build a set of PHP5 scripts which could serve files out of magnet link requests, PHP has a sha1 function but it won’t return results in base32, and Karl’s script was the missing link. Today he gave me his python base32 converter which I just ported to PHP5 and I couldn’t wait one second to share it with you all.
This will be the first step to building an open source Gnutella Server in PHP5.

I release this utility class under the GPL, use it for Magnet links, and Gnutella file sharing as you please.

Next possible steps:

- Serving a file with a php5 script after a LimeWire client hitting the script from a magnetlink

- Keep track of alternate locations

- When serving the files, send Alt-Loc headers :)

- Make more scripts to easily manage/share files on your server , and create a simple MySQL/PHP5 based website that publishes magnet links.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Gmail Enables Chat

Tuesday, February 7th, 2006

This morning when I signed up to GMail I saw some messages about a new feature that allows you to save your GTalk conversations in gmail. I also believe they’ll enable live chat right from the browser.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

My Firefox Wallpaper

Friday, February 3rd, 2006

If you want to have a simple Firefox Wallpaper, here’s the one I have.

Click to download

I grabbed the image from http://ie7.com and turned it into a 1024×768 image for my KDE background.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Caracas World Social Forum leaves it track in Flickr.com

Thursday, February 2nd, 2006

I was looking for pictures tagged with ‘caracas’ on flickr (Caracas is my home town), and I found a bunch of pictures taken by non-venezuelans, my best guess is that most of these new pictures come from international flickr users that spent a few days in Caracas due to the World Social Forum that took place there recently.

El Hatillo

Caracas @ Night


Parque Central

Plaza Altamira

Slum from the Sky

Fresas con Crema

Humboldt Hotel

Dawn in Caracas

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

What I see when I have my breakfast in the Morning

Thursday, February 2nd, 2006
Kaltenbrunnen View
View from the Terrace where we eat
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)


  • Categories

  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • October 2009
  • September 2009
  • July 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006
  • December 2005
  • November 2005
  • October 2005
  • September 2005
  • August 2005
  • July 2005
  • June 2005
  • May 2005
  • April 2005
  • March 2005
  • February 2005
  • January 2005
  • December 2004
  • November 2004
  • October 2004