Photo by ZanBon
A good friend of mine created this great custom map for the Heroes of Might & Magic V strategy game. Read the description and give it a try:
“The Demon Sovereign has settled for many years in a distant underground castle, planing a fierce unleash of his army on the world. Strong magic has trapped the demon within his castle for over two centuries but now he has discovered a way out. It is time to stop him once and for all. Conquer any other claimer of the title because you only shall be remembered as the Demon Hunter!”
Download Link: Demon Hunter by ZanBon
no comments | belongs to: freebies, games | posted on October, 2009
It took me several seconds to write the title, but as time passes, I’m getting better at it!
It’s the first time I have one of these incredible machines in my hands and I’m excited. It’s an amazing feeling to have a powerful (for its size) PC that fits into your palm. There are amazing capabilities in them and the best thing is they can be carried everywhere. On the other hand, there are several privacy concerns but this is another (huge) discussion.
I was considering it an expensive and unuseful (at least for most of the people) trend. Maybe that’s still true, but every technology enthusiast out there should try it, at least once!
no comments | belongs to: urban legends | posted on October, 2009
If you are using twitter’s API to display your tweets in your Website you have probably faced the problem that your mentions (e.g. @burnmind) and URLs are displayed as plain text and not as active links. You can fix this in a very easy way, using regular expressions in php.
Assuming that you have stored your tweet in the variable named $tweet, you’ll only need the following two lines of code to convert the mentions and URLs to links:
$tweet = preg_replace("/((http)+(s)?:\/\/[^<>\s]+)/i", "<a href=\"\\0\" target=\"_blank\">\\0</a>", $tweet );
$tweet = preg_replace("/[@]+([A-Za-z0-9-_]+)/", "<a href=\"http://twitter.com/\\1\" target=\"_blank\">\\0</a>", $tweet );
If you don’t know how to retrieve your tweet using the twitter’s API you can learn how by reading the following tutorials:
how to retrieve and display your latest tweet using PHP
how to store and retrieve your latest tweet from an XML file
no comments | belongs to: tutorials | posted on September, 2009