Tags » LONESOME

Solitude

One in solitude

Is golden

In its silence

Finds true rest

One in solitude

Is sullen

Trapped alone

Heart-heavied chest.

Poetry

page ctegorizing based on a keyword

Recently this become my concern to make the content of a page categorized based on a keyword. say, we have a keyword, Java and there is a page which has some general information about java language. 58 more words

Recent Questions - Stack Overflow

New on 500px : Winter Etching by PByrne by PByrne

A re-edit of a previous upload. I think I have refined my technique!

via 500px http://ift.tt/1wrcmCh

Man in the mirror

-What you want to be? Really…

I don’t know. Do you have any ideas?

-A star?

I would, not to shine alone, but to fall for an innocent wish. 115 more words

Lonesome,personal space,love and cookies.

What is it lonesome? Is it when you type then utype? Is it when you rewind some sort of “the script” song over and over again? 825 more words

Writing

removing blank lines from a file

i am trying to remove blank lines fom a file by adding following coedes to my program

private static void Normalize(File f) throws FileNotFoundException, IOException {

                            if(!temp.exists()){
                                temp.createNewFile();
                    }

                    FileOutputStream fop=new FileOutputStream(temp,true);

                   Set<String> uniqueLines = new HashSet<String>();
                    BufferedReader  br = new BufferedReader(new FileReader(f));
                    String readLine=br.readLine();
                     for(final String s : readLine.split(" ")){
                        fop.write(s.getBytes());
                        fop.write(System.getProperty("line.separator").getBytes());

                    }
            uniqueLines.add(readLine);
            while((readLine=br.readLine())!=null)
            {

            if (!uniqueLines.contains(readLine)) {

            for(final String s : readLine.split(" ")){
                        fop.write(s.getBytes());
                        fop.write(System.getProperty("line.separator").getBytes());

                    }

            uniqueLines.add(readLine);
            }
            }
                }
… 39 more words
Recent Questions - Stack Overflow

Feeling like a burden.

I’m having a shit night. I’m not going to try and sugarcoat it. It’s a shit night. I’m not quite sure why – maybe it’s the monsoon-like storm that’s been going on here since Sunday. 656 more words