Showing your last “twit” using php

While editing my blog theme, I decided to add my last thoughts in twitter to the website. Came with a very simple php code that will get the information from the last twitter post and show it as a text line, so you can add in anywhere you want.

This is the code:

< ?php
preg_match('#(.*)#',file_get_contents('http://twitter.com/statuses/user_timeline/username.xml?count=1'), $matches);
echo $matches[0]
?>

Of course, remember to change username for your own.

BarCamp Floripa 2.0

Two weekends ago was kinda different from other weekends, I finally went to a BarCamp, after hearing so much about it on the web. It’s the second time that there is a BarCamp in my town, unfortunately I couldn’t attend to the first one, so I couldn’t miss this one. Two days (19/20 of May), a amazing opportunity to meet new minds, exchange ideas and have a great time talking about web related things, culture and art. The conversations was hold for exchanging knowledge about mostly in the web + education area, talking about copyright issues on the web (DRM), Web 2.0, Second Life, OpenSource, Blogs…There were a great presentation about the OLPC (One Laptop Per Children) project, where everyone could play with that little green thing.

Continue reading

DX 9 V.S. DX 10 Comparison video

The website GameTrailers released today two videos from the game Crysis, comparing the quality of the game working on DirectX 9 and DirectX 10, take a look at the results below. The news is that they can play the game with DirectX 9, and with some patch or Windows XP version, because till now it only works with Vista and DX 10.

To watch the movies in high-resolution click here > Hunter/Jungle Fight, or continue reading for embedded movie.

Continue reading

WordPress 2.2

Well, just upgraded my wordpress from 2.1 to 2.2, now full of new features. And it means my old theme isn’t working… I’ll be using this theme till I get my to work or make I new one. Sorry folks, I’ll change it as soon as possible.