Aug 21, 2009

How To Add YouTube Video in Blogger

Browse YouTube, On the right panel there are url and embeded scripts.

Get the embeded scripts so that YouTube video can be embeded and viewed by user.

If you get any error, try to use Edit Html and place the embeded scripts and
click Preview to test the result.

Blogger composer may not allow XML end slash tag (< / >)
( I put larger space so that able to show you what is the XML end slash tag.

As example to explain the script here
I will temporary replace Smaller Tag with { and Larger Tag with }
So that I am able to use this {/ value }

//start object tag and standard youtube size 425 x 344
{object width="425" height="344"}

//YouTube video url, Language is English
{param name="movie" value="http://www.youtube.com/v/abcdefg&hl=en&fs=1&"}
{/param}

//Allow FullScreen Option
{param name="allowFullScreen" value="true"}
{/param}

// Always allow scripting access for ads and other interaction scripts
{param name="allowscriptaccess" value="always"}{/param}

//Real embeded flash YouTube Scripts
{embed src="http://www.youtube.com/v/abcdefg&hl=en&fs=1&"
type="application/x-shockwave-flash"
allowscriptaccess="always"
allowfullscreen="true" width="425" height="344"}
{/embed}

//end object tag
{/object}


Bookmark and Share

Photoshop Makeup Example





Bookmark and Share

Aug 19, 2009

Get Files From SubFolder Recursively

Get files from directory (including all subdirectories)

If you want to search also in subfolders use parameter SearchOption.A­llDirectories.

string[] filePaths = Directory.GetFiles(@"c:\test\", "*.bmp",
SearchOption.AllDirectories);

returns:
"c:\test\test.BMP"
"c:\test\test2\test2.BMP"

for Folder:

string[] folders = System.IO.Directory.GetDirectories(@"C:\test\","*", System.IO.SearchOption.AllDirectories);

Bookmark and Share

Aug 15, 2009

Google Squared Beta

Display result in grid form is more informative and enable user to get the overview images.

Very interesting search result layout!

http://www.google.com/squared


googlesquare


Bookmark and Share

Aug 9, 2009

Green Foot Java Game Programming Tookit



http://www.greenfoot.org/download/
For Windows Installer Click Here

System Requirements

To run Greenfoot, you must have Java 5 or Java 6 (JDK 6) installed on your system. Get it here.

For Windows Vista, Java 6 is required.



Bookmark and Share