How to copy camera photos to Android phone directly without any app

Posted on Sun 30 March 2014 in How To DIY • Tagged with Android

There are some of application to control/Copy your photos directly from DSLR from your phone like DSLR dashboard app but for Point and Shoot (P&S) .But now with latest android release you can copy any camera photos to Android Phone directly.

Why this is great trick? No matter …


Continue reading

Block ads to make your web experience beautiful and speed up your Internet

Posted on Thu 27 February 2014 in How To DIY • Tagged with Web

Everyone of us annoyed by creepy ads everywhere on internet. From mailbox to keep waiting for video  in Youtube.

But ads not only makes your internet looks ugly but most of them sneak cookie, steal other website data and track your internet activity.  Also these ads eats up your precious …


Continue reading

Java: Autoboxing and -XX:AutoBoxCacheMax

Posted on Thu 13 February 2014 in Java • Tagged with Java

Autoboxing is the mechanism in Java to convert primitive type values to respective wrapper class object. Java programmer mostly use autoboxing while using collections, since collection only holds object and to put primitive type data into collection, it's need to use wrapper classes to convert into objects.

So , here is …


Continue reading

Java Multithreading : Thread States and Thread Priority

Posted on Sat 08 February 2014 in Java • Tagged with Java

In a thread lifecycle it can  have one of the  following states mentioned below. I have already explained Thread Life Cycle and basics of thread including Daemon Threads.

Now let see inside the thread states and how to achieve them .


Continue reading

Java Multithreading

Posted on Wed 05 February 2014 in Java • Tagged with Java, Open Source

*Threads. * Thread is also known as lightweight process. Java multithreading allows to process multiple task simultaneously with less overhead than process. Mostly use to monitor session, background synchronization etc.

Content

Processes …


Continue reading

CSS - Border Radius for rounded corners

Posted on Sat 25 January 2014 in CSS

Border radius is used to create rounded corners  see the following.

[codepen_embed height=200 theme_id=1 slug_hash='emxdk' user='ianoop' default_tab='css' animations='run'/]

css border radius

Above code fore border radius is equivalent to

border-top-right-radius: 20px;
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;

or

border-radius: 20px 20px 20px 20px;

You can specify rounded …


Continue reading

CSS Regex selector - Using Regular Expression in CSS

Posted on Wed 01 January 2014 in CSS • Tagged with CSS

Just like JQuery, CSS also offer a great way to filter out elements with selectors using Regular Expressions.

Selecting on  Attribute and value

[[att=str]]{style="font-family: 'courier new', courier;"} :- attribute value is exactly matching to str

[[att*=str] ]{style="font-family: 'courier new', courier;"}:-  attribute value contains str - value can …


Continue reading

Java Reflection: class "Method" to inovoke methods and get metadata

Posted on Sat 28 December 2013 in Java • Tagged with Java, Programming

Java Logo

using [java.lang.reflect.Method]{style="font-family: courier new,courier;"} you can get metadata/signature of methods (including private) and can invoke accessible methods at runtime.

Class Method provides a great tool to list all methods and find information about methods.  following tutorial will provide you more detail of class …


Continue reading

How play videos on Raspberry Pi - OMXPlayer

Posted on Mon 23 December 2013 in Linux • Tagged with Raspberry Pi

OMX player is a command line player which can be controlled via Android app or over SSH.

OMX player can play all common files including .avi, .mp4 and mkv without any extra codec with subtitle.

Raspberry Pi OMX Player

Installing OMX Player

Download and install player from source

Stable Build (Already added in Raspbian …

Continue reading

Raspberry Pi: Change Password, Auto Login and Remote Desktop

Posted on Sun 22 December 2013 in How To DIY, Linux • Tagged with Linux, Raspberry Pi

I have already given tutorial for RaspberryPi First Installation and Boot.  Let's go with advance configuration of RasPi.

Things to do after 1st boot of Raspberry Pi


Continue reading