• CATEGORY : Technical
Header

Blog Archives

How to fetch trailer from YouTube without API Key

Hi Guys, Do you want to embed trailers from YouTube dynamically to your website without any registration for API key? If No, then move on πŸ˜‰ If Yes, read on. πŸ˜€ YouTube allows you to embed videos in external site pages, but you need to know the identifier of the specific video you want to …
Read more

403 total views, 1 views today

How to implement synchronization in Gosu

Hi All, Synchronization sounds familiar but not Gosu. Isn’t it? I know a lot of people still unaware about Gosu programming language. So let me give you a brief idea what’s Gosu programming language is. Gosu has been developed on top of Java. So it runs on JVM. The features of Gosu has been incorporated …
Read more

2,893 total views, 1 views today

How to download YouTube videos using wget and cURL

Hi all, Few days back I got a request in PHPClasses.org to develop a functionality in PHP for downloading YouTube videos. So, here it is. I have already published it on PHPClasses.org. Here is the link: http://www.phpclasses.org/package/9092-PHP-Download-YouTube-Videos.html. In case, you don’t see this page right now, it is still under processing. πŸ˜‰ The idea is …
Read more

5,905 total views, 1 views today

Disk Usage: Calculate the disk space usage of a directory

Hi Guys, If you need to know the size of a directory, how many subdirectories or files have this utility class might come very handy. This class can traverse the directory that you indicate response and bring the same size in Megabytes, Gigabytes or Kilobytes as well as the number of files and directories it …
Read more

1,054 total views, 1 views today

PDO is abstracted!

Hi Guys Few days back I created a PDO class. I would like to share it with you all, perhaps, it may come handy. You find it on PHPClasses too. http://www.phpclasses.org/package/8853-PHP-Database-access-wrapper-based-on-PDO.html The idea is to abstraction PDO itself. Developers don’t need to know about the implementation if it is either a PDO or simple PHP …
Read more

2,047 total views, 1 views today

How to create a SOAP Client in Java using SAAJ

Hi Guys, Today, I am going to show that how you can consume a SOAP WS using SAAJ framework. SAAJ is shipped with JSE 1.6 and above. What is SAAJ? SOAP with Attachments API for Java (SAAJ) is mainly used for dealing directly with SOAP Request/Response messages which happens behind the scenes in any Web …
Read more

5,263 total views, 1 views today

How to create MySql backup and archive it using Java

Hi Guys, I know, the first question is “why” as a lot of tools, both free and commercial, are available to do the same thing. It’s fun πŸ™‚ and may be it can give you general idea how those tools actually work internally. Four main implementations: 1. Taking MySql database backup in .sql file 2. …
Read more

4,686 total views, no views today

How to get yahoo messenger status using Java

Hi guys, Few days back I created an utility for checking the status of user if he/she is online on Yahoo Messenger. This is a simple utility. Hope you guys have fun using it. πŸ˜‰ Yahoo provides a link for accessing the status of user on Messenger. All you need to write a code that …
Read more

3,871 total views, no views today

How to convert ResultSet into ListMultiMap in Java

Hi guys, In few of my previous posts I mentioned about an API from Google called Guava. This API has a class called ListMultiMap. Today I am going to show you how you can use ListMultiMap to use the database ResultSet more efficiently. This will give developers a clear visibility regarding the column names and …
Read more

2,622 total views, no views today