Friday, September 30, 2011

How To Detect/Check a Two-Way Mirror

Conduct The Simple Test Below:

Place the tip of your finger in the reflective surface of the mirror. If there is a GAP between the reflected image of your finger from your finger then it is a Genuine Mirror.

However, if there is NO GAP at all, then beware, it is a Two-Way Mirror and somebody might be watching you behind.


The reason why there is a gap on the genuine mirror is because the silver is on the back of the mirror under the glass. While in the Two-Way Mirror, the silver is on the surface.

Thursday, September 29, 2011

Ubuntu Application Developer Site

Attention all Ubuntu App Developers! Feast your eyes on this. Introducing the newly opened Ubuntu App Developer Site.

Ubuntu App Developer Site

Making it possible to develop apps for Ubuntu much more easier.

Monday, September 26, 2011


After FACEBOOK announced its new feature the TIMELINE, Open-Graph developers are now able to use it. And also non-Open-Graph developers can use it just by following the simple steps below:

1. Login to Facebook then type "Developer" in the search box. Then click the Developer app. (Allow application to use user info) Proceed to Developer app after adding it.

2. In the developer app, create a new app

and give your app any display name and an available namespace then agree to the Platform Privacy Policy.

3. Look for "Open Graph" in the left sidebar of the page then click it.

4. In the Open Graph page, input an action and the object of the action then Click "Get Started" button.

5. In the following pages, simply Save and Exit without doing any changes. Go to your Facebook page and an invite to try Timeline should be waiting on top of your page. Click "Get It Now" to start enjoying you Facebook Timeline.

Note: Only Open-Graph users can see your Facebook Timeline, otherwise they will only see your old profile.

How To Install Adobe Flash Player in Mozilla Firefox (Ubuntu)

Installing Adobe Flash Player plugin for Mozilla Firefox in Ubuntu is just simple as the steps below:

1. Go to the download page of the adobe flash player plugin for Ubuntu using the mozilla firefox browser. You will see the page below.

2. In the "Select Version to Download" dropbox, choose ".tar.gz for other linux" then a Download Now button will appear. Click it.

3. After successfully downloading the .tar.gz file, extract the contents and look for the file. Copy these file to this path "/home/YOURPCNAME/.mozilla/plugins".

4. Restart your Mozilla Firefox browser and you now have adobe flash player plugin on it.

Tuesday, September 20, 2011

How To Crop Images in Java Using JAI

Here is a sample code snippet of creating an application in Java that will crop images using JAI.


RenderedOp image;
BufferedOutputStream output = null;


//Change the value of the phrase in red to the path of the file
//that you want the crop
image = JAI.create("fileload", "/home/cgabisan/Desktop/Strat1.png");

//Origin point where you want to start cropping
Point p = new Point(150, 150);
//The size of the area that you want to crop
Dimension d = new Dimension(90, 70);
Rectangle r = new Rectangle(p,d);

ParameterBlock pb = new ParameterBlock();


//Creates the cropped area
image = JAI.create("crop", pb);

//Change the value in the File constructor with the filename and path
//that you want the cropped image to be save
File file = new File("/home/cgabisan/Desktop/test2.jpeg");

BufferedImage bufferedImage = image.getAsBufferedImage();
output = new BufferedOutputStream(new FileOutputStream(file));
ImageIO.write(bufferedImage, "JPEG", output);

}catch (Exception e){
} finally{
try {
} catch (IOException e) { 
// TODO Auto-generated catch block


For the sample file, you may download it here

Wednesday, September 14, 2011

Link Exchange

Link directory of Top Sites
SEO friendly web directory of top sites & blogs organized by topic into categories and presented according to relevance of website. Submit your website free.

Monday, September 12, 2011

B2B CarShow in Ayala (Sept. 3 - 5, 2011)

Check out some of the cars featured in the latest B2B CarShow held in Ayala Center Cebu on Sept. 3-5, 2011. The photos were taken only with a 5MP phone so, please bear with it. :) Click images to enlarge.