Wednesday, September 17, 2014

Wish

I wished thousand times
Between the silence
From my expression
To your response
I wished thousand times
That you'll respond with the same

Trustee

Trustee
I bequeathed my trust on a petal
The petal withered and drowned
Another petal floats toward me
Will this too wither and drown
If I bequeathe my trust....
I bequeathed my trust.

Leave me

Leave me..
Leave me alone till I learn the lonesome
Leave me alone to suffer in emptiness
Leave me till I leave myself and lost in dark
Leave me alone till I learn me and kill me.
Leave me. ...
Please leave me.

Saturday, September 6, 2014

My love for you

When I'm drowned in love with you
My whole mind is fill of you
But there are lot of things in your mind
And it's not me all the time
I drown in love with you

Monday, July 28, 2014

Oba nathuwa inna bari tharamata (Guitar Chords)

Artist : Victor Rathnayaka

[Intro] [ G - 4/4 ]
-------------------------------------------------
|  G  |  -  |  Em |  -  |
|  G  |  -  |  D  |  -  |
|  D  |  -  |Bmin |  -  |
|  D  |  -  |  G  |  -  |


[Chorus]
-------------------------------------------------
G                          Emin    
Oba nathuwa inna bari tharamata 
G                          D
oba hithata awith hemi hemihitha 
Bmin                       D
oba nodaka inna bari tharamata 
Bmin         D             G
Netha obawa soyanawa dawasema

[Intern] [ G - 4/4 ]
-------------------------------------------------
|  G  |  -  |  Em |  -  |
|  C  |  -  |  G  |  -  |
|  D  |Bmin |  D  |Bmin |
|  G  |  -  |  -  |  -  |

[Verse 1]
-------------------------------------------------
G                    Emin
Mei Sithal hima giri arane
Bmin                    G
mata hamu wu wana pasa kusume
G                         D
pethi matha sthapa regena yanna ma
Bmin      D          G
kusum nimnaye malathiye

[Chorus]
-------------------------------------------------
Oba nathuwa inna bari tharamata..

[Verse 2]
-------------------------------------------------
G                   Emin
Me jeewana awapasa ahase
Bmin                   G
oba purpasa sada ve pipune
G                      D
obe rasin ma dawalann ra
Bmin       D            G
laya matha snaha raajaniye

[Chorus]

-------------------------------------------------

Oba nathuwa inna bari tharamata..

Monday, March 10, 2014

Spring MVC Get file under WEB-INF or in any lib *.jar

Use Spring DefaultResourceLoader and Resource to read inside WEB-INF or any resources in a *.jar file.


  import org.springframework.core.io.DefaultResourceLoader;
  import org.springframework.core.io.Resource;

       public static void myFunction() throws IOException {
            final DefaultResourceLoader loader = new DefaultResourceLoader();

            LOGGER.info(loader.getResource(
                  "classpath:META-INF/resources/img/copyright.png").exists());

            Resource resource = loader.getResource( 
                  "classpath:META-INF/resources/img/copyright.png");

            BufferedImage watermarkImage = ImageIO.read(resource.getFile());


        }

False fear

There is a figure they said She talks to me It's a mischievous voice I can't deny that love They say she is pretty Smart and wa...