Saturday, May 28, 2016

Fix corrupt NTFS partition without Windows

Install ntfs-3g with sudo apt-get install ntfs-3g.
Then run the ntfsfix command on your NTFS partition.
For example: ntfsfix /dev/hda6 ntfsfix v2.0.0 (libntfs 10:0:0)
Usage: ntfsfix [options] device Attempt to fix an NTFS partition. -h, --help Display this help -V, --version
Display version information linux-ntfs-dev@lists.sf.net Linux NTFS homepage: http://www.linux-ntfs.org

Thursday, May 29, 2014

'tools.jar' seems to be not in IDEA classpath. Please ensure JAVA_HOME points to JDK

Here are what I did then: 1. Know what exactly the problem is: the problem is that the JAVA_HOME in my system did not point to JDK. Instead, it points to a JRE. JRE can only be used to run java applications, not to build them. 2. Check the java path used by the system. In terminal, I typed the following $ java -version The output was $ java -version java version "1.7.0_55" OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1) OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode Find out more $ update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 auto mode 1 /usr/lib/jdk1.6.0_45/bin/java 1 manual mode 2 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual mode As I see in lot of posts, I have to use java-7-openjdk. But I changed it JDK path So I have to change the selection into 2. OK... now type 2 and enter. That's only you are ready to go now....

Friday, June 21, 2013

Ubuntu | git | ssh| Read from socket failed: Connection reset by peer fatal | Resolved

I didn't get to the root cause. My best finding is that the connection packets are too big for the server to handle, and the connection is reset. Workarounds: limit the packet size. Two alternatives: Limit cipher list length by using '-c ' in the ssh command line, e.g. '-c aes256-ctr' OR YOU HAVE TO ADD FOLLOWING TO at the end of file ~/.ssh/config or in ubuntu sudo vim /etc/ssh/ssh_config 1. Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc 2. HostKeyAlgorithms ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss

Saturday, November 24, 2012

Eclipse Helios Failed to Load the JNI shared Library (JDK).....

Download the JDK 1.7 with JRE and install it. Add/update PATH variable(you have to type env) for JDK/bin

Friday, September 14, 2012

If I'm quiet, you too watching everything silently

The breeze is helpless because of gratitude...
Watched the truth of every human
The air seem to be filling the breath with poison...
We are living a meaningless life...
Every happiness had turned dark...
I had prayed goddess which came true..
If I'm culprit, even you're no less at fault...
If I'm quiet, you too watching everything silently
Oh god, why are you helpless... We all are your creation....
All my illusions are shattered...
The heart is scathed...
Why are you oblivious to your own world?
I don't like destiny written by you, Oh Lord...
My heart says to leave this world of sorrow....
Everything is false here....
O god, you are omniscient.. try to be a human....
We had to die everyday to live.... try this life too...
Let me crush this faith....
I am my own god now...
Now I don't want your mercy....
No Favors....
Watch for tribute all lovers...

Wednesday, August 1, 2012

Episode 03 : Dude, Solution is not

That was the moral story to write this story. Kodiak is straggling to come to his normal life. I am very much afraid about him & I suspect he may do some foolish thing like suicide. So I need to convince him to stop that bloody idea. So I called him while I am traveling & try to find out some answers for root cause which identified after discussed with Cookie.

He started to tell from the day one their love story. In the very first day, Kodiak has met Cookie in Galle Park; he was telling how they were sitting on steps in the park & Kodiak was damn afraid about crows. Cookie was laughing on Kodiak & asked are you afraid even for crows. Kodiak started to smile in little. So he said I can remember how I hold her hand. She said, I know good place to have lunch. So we went their & had our lunch. I can still remember how she shared her lunch with me.

This song will remember their sweet memories which they had in Galle http://www.youtube.com/watch?v=MQf5Gvo456E&feature=related

. Further this songs will give them what is love & what they have achieved.... Love is for to do feel, they had it. So they can continue it.

Tuesday, July 31, 2012

Episode 02 : Dude, Solution is not

He was speechless & tried say something to me. “I won’t be able live without her, I won’t…”

He said, "She is rejecting me, I sent hundreds of SMS to her, she never replied". I confirmed myself about what has happened to Kodiak. I asked reasons about sudden change of Cookie; he said nothing wrong about her. But he criticized himself. I just searched Youtube & played a song which those two guys used play when others were in similar type of condition http://www.youtube.com/watch?v=qG9D3hmYiIw&feature=related.

I directly went to Cookie's house. She called by my name & started to cry. She closed her eyes by both hands & started to criticize about Kodiak. I cannot believe how she can talk like this; I thought Cookie may angry with Kodiak. But the things she was telling is very crucial for both of them as a lovers to carrying their affair, so I keep myself silent and I tried to look at her face. I can see some guilty feeling from her eyes.

So I started to speak; please Cookie, please, you two guys were one of most loving couples I ever seen. Don’t be silly. You know Kodiak more than me. Please, if you two have problems, don’t criticize each other, try to find out a solution. Cookie, you are the person who changed Kodiak's life , who gave him love and hope, who care about you more than anybody else. Kodiak also did more than that, Is that true Cookie? Is that true?. He sacrificed lot of things to be with you….

Every things has its up & down times, So its same you all. But we will only when we understood it. Love is not accomplishing what you desire (what you want). Its always state how you sacrifice, how you believe & how you care

TO BE CONTINUED