Friday, November 24, 2017

Abou Basha Photography

Friday, October 12, 2007

A drawing in Electro-magnetic motor patent

It was in the 1821s. Thanks Faraday, without your patent life would be too hard.

Saturday, August 18, 2007

After a long wait, I've received my "Google Desktop Patch"

Today, I've just received the precious Google Desktop Patch. Hoho, after ~2 weeks of waiting.

Really it's a nice embroidered patch with a plastic back. You can stick it on your room's wall, put it at the front of your Computer Case, stick it on your T-Shirt so all friends ask "where did you get that?"

The patch

Shipped package, thik and heavy as
I thought its including money :D

How do I receive a Desktop Patch?
Simply, submit a good desktop gadget to google.

How to I develop a Desktop Gadget?
First, get a nice idea, get the Desktop SDK, check the attached samples, choose your preferred language JavaScript or vbscript ...

Wish you luck :)

Developers Guide
Submit Gadget form
Google Desktop SDK

Tuesday, August 14, 2007

Implementing an RSS reader using Java

RssParser rssReader = RssParserFactory.createDefault();

PrintStream printStream = System.out;
System.setOut( new PrintStream( new ByteArrayOutputStream() ) );
Rss rss = rssReader
.parse( new URL(
"" ) );
System.setOut( printStream );

Collection items = rss.getChannel().getItems();
if( items != null && !items.isEmpty() )
// Iterate over our main elements. Should have one for each article
for( Iterator i = items.iterator() ; i.hasNext() ; System.out.println() )
Item item = (Item);
System.out.println( "Title: " + item.getTitle() );
System.out.println( "Link: " + item.getLink() );
System.out.println( "Description: " + item.getDescription() );


// Iterate over categories if we are provided with any
Collection categories = rss.getChannel().getCategories();
if( categories != null && !categories.isEmpty() )
Category cat;
for( Iterator i = categories.iterator() ; i.hasNext() ; System.out
.println( "Category Domain: " + cat.getDomain() ) )
cat = (Category);
System.out.println( "Category: " + cat );


Get the full project

Monday, August 13, 2007