<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-14569140</id><updated>2026-07-17T10:53:56.892-07:00</updated><category term="tips"/><category term="fedora"/><category term="Tomcat"/><category term="eclipse"/><category term="JBoss"/><category term="android"/><category term="java"/><category term="svn"/><category term="Linux"/><category term="blackberry"/><category term="fedora_skype"/><category term="iphone"/><category term="mac"/><category term="windows"/><category term="XMLGregorianCalendar"/><category term="firefox"/><category term="git"/><category term="intellij"/><category term="jaxb2"/><category term="macbook_pro"/><category term="maven"/><category term="mobile_app"/><category term="thunderbird"/><category term="40D"/><category term="Canon"/><category term="Classloaders"/><category term="D90"/><category term="DNS"/><category term="EXIF"/><category term="Fun"/><category term="GAE"/><category term="JPDA"/><category term="JavaOne"/><category term="Moscone"/><category term="Netty"/><category term="News"/><category term="Nikon"/><category term="OSGi"/><category term="PCI"/><category term="SSH"/><category term="Tech"/><category term="WebServices"/><category term="antivirus"/><category term="apple"/><category term="ballmer"/><category term="canonicalization"/><category term="dsig"/><category term="echo"/><category term="echo_framework"/><category term="egged"/><category term="elasticsearch"/><category term="exceptions"/><category term="fedora_12_eclipse"/><category term="fedora_12_skype"/><category term="fedora_kde"/><category term="findbugs"/><category term="firewire"/><category term="fitbit"/><category term="globalcompetitiveness"/><category term="google_app_engine"/><category term="icedtea"/><category term="iphone_email_stuck"/><category term="iphone_video_upload"/><category term="irc_freenode"/><category term="jamesgosling"/><category term="jaxb_debug"/><category term="jmeter"/><category term="jmeter_form_authentication"/><category term="joda"/><category term="jsonp"/><category term="jsr310"/><category term="kafka"/><category term="keytool"/><category term="lexmark"/><category term="lexmark_7100"/><category term="lexmark_7170"/><category term="lexmark_double_side_printing"/><category term="lightning_thunderbird"/><category term="marcfluery"/><category term="mediawiki"/><category term="mod_cluster"/><category term="mod_jk"/><category term="mod_proxy"/><category term="openjdk"/><category term="openoffice_tips"/><category term="opera"/><category term="performance"/><category term="ralio"/><category term="scott_mcnealy"/><category term="security"/><category term="skype"/><category term="stax"/><category term="sun"/><category term="sun_oracle"/><category term="svn:ignore"/><category term="svn_merge"/><category term="svn_revert_commit"/><category term="t61"/><category term="tax_returns"/><category term="taxact"/><category term="tools"/><category term="webstart"/><category term="whatis"/><category term="wiki"/><category term="windowsupdates"/><category term="xmldatetime"/><category term="xmlsignature"/><category term="zimbra"/><category term="zimbra_ics"/><title type='text'>Anil&#39;s Technical Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>174</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-14569140.post-2565948601472461293</id><published>2016-01-06T15:05:00.001-08:00</published><updated>2016-01-06T15:05:26.056-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><title type='text'>MacOSX Sed: extra characters at the end of</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
if your sed is throwing something like&amp;nbsp;&lt;span style=&quot;background-color: #eeeeee; color: #222426; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; font-size: 13px; white-space: inherit;&quot;&gt;extra characters at the end of p command&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
sed -i &#39;&#39; &#39;regex&#39; filename&lt;br /&gt;
&lt;br /&gt;
Remember &amp;nbsp;to add the &#39;&#39; before regex.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/2565948601472461293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/2565948601472461293' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/2565948601472461293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/2565948601472461293'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2016/01/macosx.html' title='MacOSX Sed: extra characters at the end of'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-4956348778347708680</id><published>2015-08-19T13:36:00.002-07:00</published><updated>2015-08-19T13:36:49.607-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="elasticsearch"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Tip: Elasticsearch OSX ConnectException</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you downloaded the latest Elasticsearch installation and you are getting the following exception:&lt;br /&gt;
&lt;br /&gt;
org.elasticsearch.common.netty.channel.ConnectTimeoutException: connection timed out:/xyz.def.zzzz:9300&lt;br /&gt;
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processConnectTimeout(NioClientBoss.java:139)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:83)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Solution&lt;/h2&gt;
go to config/elasticsearch.yml&lt;br /&gt;
&lt;br /&gt;
Uncomment the following line&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;discovery.zen.ping.multicast.enabled: false&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;Restart Elasticsearch&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/4956348778347708680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/4956348778347708680' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/4956348778347708680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/4956348778347708680'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2015/08/tip-elasticsearch-osx-connectexception.html' title='Tip: Elasticsearch OSX ConnectException'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-4337796750144731482</id><published>2015-07-14T15:51:00.001-07:00</published><updated>2015-07-14T15:53:23.153-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="git"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Git Tip: Repository not found</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you get any of the following errors:&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 22.5px;&quot;&gt;GitLab: The project you were looking for could not be found.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 22.5px;&quot;&gt;Git The Repository not found&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #222222; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 22.5px;&quot;&gt;Please make sure you have the correct access rights&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #222222; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px; line-height: 22.5px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #222222; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 22.5px;&quot;&gt;and the repository exists.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 22.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 22.5px;&quot;&gt;when you do operations such as git clone or git push,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 22.5px;&quot;&gt;it is possible that your ssh key has not been added with ssh-agent&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 22.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 22.5px;&quot;&gt;$ ssh-add&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;Enter passphrase for /home/name/.ssh/id_rsa: [] Identity added: /home/name/.ssh/id_rsa&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;After this, it should hopefully work&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/4337796750144731482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/4337796750144731482' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/4337796750144731482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/4337796750144731482'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2015/07/git-tip-repository-not-found.html' title='Git Tip: Repository not found'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-4305603310627556706</id><published>2014-09-16T22:55:00.003-07:00</published><updated>2014-09-16T22:55:49.787-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jsonp"/><title type='text'>JSONP: Escape JSON String</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Assume you have a JSON string that you are going to send as result value back to Javascript, then you need to do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String dataString = stringWriter.toString();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dataString = dataString.replaceAll(&quot;\\u2028&quot;,&quot;\\\\u2028&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dataString = dataString.replaceAll(&quot;\\u2029&quot;,&quot;\\\\u2029&quot;);&lt;br /&gt;
&lt;br /&gt;
Basically, you need to escape the unicode characters.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/4305603310627556706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/4305603310627556706' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/4305603310627556706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/4305603310627556706'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2014/09/jsonp-escape-json-string.html' title='JSONP: Escape JSON String'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-1023063378950327212</id><published>2014-07-21T14:06:00.002-07:00</published><updated>2014-07-21T14:06:38.686-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kafka"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Tip: Apache Kafka</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you get the following exception:&lt;br /&gt;
$ ./zookeeper-server-start.sh &amp;nbsp;../config/zookeeper.properties&lt;br /&gt;
Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain&lt;br /&gt;
&lt;br /&gt;
then you will have to do the following:&lt;br /&gt;
$ ./gradlew &amp;nbsp;jar&lt;br /&gt;
&lt;br /&gt;
to build the Kafka distribution and get the dependencies.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/1023063378950327212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/1023063378950327212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1023063378950327212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1023063378950327212'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2014/07/tip-apache-kafka.html' title='Tip: Apache Kafka'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-5617915869900331285</id><published>2014-05-02T12:31:00.003-07:00</published><updated>2014-05-02T12:31:34.207-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Tip:  Linux Determine File Sizes in your home directory</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;anil@localhost:~$ du -sh * &amp;gt; largefiles&lt;br /&gt;
&lt;br /&gt;
You can then look inside the file largefiles.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/5617915869900331285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/5617915869900331285' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/5617915869900331285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/5617915869900331285'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2014/05/tip-linux-determine-file-sizes-in-your.html' title='Tip:  Linux Determine File Sizes in your home directory'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-1017326203010284492</id><published>2014-04-30T21:02:00.002-07:00</published><updated>2014-04-30T21:02:47.217-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="intellij"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Tip: IntelliJ IDEA : Do not want unlimited whitespace at the end of each line</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 17.804800033569336px;&quot;&gt;File menu -&amp;gt; Settings -&amp;gt; Editor -&amp;gt; Virtual Space and uncheck &#39;Allow placement of caret after end of line&#39;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 17.804800033569336px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 17.804800033569336px;&quot;&gt;Also uncheck the other options in the Virtual Space panel.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 17.804800033569336px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 17.804800033569336px;&quot;&gt;&lt;i&gt;&lt;b&gt;If you want to remove trailing whitespaces&lt;/b&gt;&lt;/i&gt;, you can do&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 17.804800033569336px;&quot;&gt;File menu--&amp;gt;Settings --&amp;gt; Editor --&amp;gt; Strip Whitespaces on Save &amp;nbsp; to either &quot;All&quot; or &quot;ModifiedLines&quot;.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/1017326203010284492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/1017326203010284492' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1017326203010284492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1017326203010284492'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2014/04/tip-intellij-idea-do-not-want-unlimited.html' title='Tip: IntelliJ IDEA : Do not want unlimited whitespace at the end of each line'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-7816714102991021653</id><published>2014-01-07T08:42:00.000-08:00</published><updated>2014-01-07T08:42:07.058-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Clean Up Root Partition on Fedora</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you have the following problems:&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Root partition / is using 100% of allocated disk space&lt;/li&gt;
&lt;li&gt;Root partition / is close to using 100% of allocated disk space&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Then,&lt;br /&gt;
&lt;br /&gt;
$&amp;gt;&amp;nbsp; sudo yum install bleachbit&lt;br /&gt;
$&amp;gt; &amp;nbsp; su - -c &quot;bleachbit&quot;&lt;br /&gt;
&lt;br /&gt;
Use bleachbit to clean up unwanted files.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/7816714102991021653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/7816714102991021653' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/7816714102991021653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/7816714102991021653'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2014/01/clean-up-root-partition-on-fedora.html' title='Clean Up Root Partition on Fedora'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-1334597439075433756</id><published>2013-12-24T19:15:00.000-08:00</published><updated>2013-12-24T19:15:58.670-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iphone"/><category scheme="http://www.blogger.com/atom/ns#" term="iphone_video_upload"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Copy Video on iPhone without iTunes</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you are in need of copying a home video on to your iPhone and you have lost the computer which has the original iTunes sync, do not despair.&lt;br /&gt;
&lt;br /&gt;
VLC app on ios is there for the rescue.&lt;br /&gt;
&lt;br /&gt;
Official Documentation:&amp;nbsp;https://wiki.videolan.org/Documentation:IOS&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Steps&lt;/h3&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Temporarily turn off the lock feature of your iPhone. You can bring it back after the video upload.&lt;/li&gt;
&lt;li&gt;Download VLC player from the App Store. Ensure that the vendor is VideoLan.&lt;/li&gt;
&lt;li&gt;Ensure your iphone and computer are connected to the same WIFI.&lt;/li&gt;
&lt;li&gt;Open VLC app.&lt;/li&gt;
&lt;li&gt;On the top left hand corner, is the hat symbol. Click on hat.&lt;/li&gt;
&lt;li&gt;Go to Wiki Upload. Enable the server. &amp;nbsp;Note down the IP address it provides.&lt;/li&gt;
&lt;li&gt;Go to your browser and type in the IP address: &amp;nbsp;something starting with http:&lt;/li&gt;
&lt;li&gt;You will see Fig 1&lt;/li&gt;
&lt;li&gt;Click upload files button and choose the video file.&lt;/li&gt;
&lt;li&gt;Once the file is uploaded, enjoy the home video. Remember VLC can play many formats : mp3, mp4, m4u etc.&lt;/li&gt;
&lt;li&gt;Remember to turn back the locking feature on your iphone.&lt;/li&gt;
&lt;li&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://wiki.videolan.org/images/VLC_for_iOS_WiFi_Uploader.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;https://wiki.videolan.org/images/VLC_for_iOS_WiFi_Uploader.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Fig1: Browser Interface&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/1334597439075433756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/1334597439075433756' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1334597439075433756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1334597439075433756'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2013/12/copy-video-on-iphone-without-itunes.html' title='Copy Video on iPhone without iTunes'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-1081249425984256212</id><published>2013-10-16T12:18:00.005-07:00</published><updated>2013-10-16T12:18:51.493-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fitbit"/><title type='text'>Tips for FitBit</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;Picked up from &lt;a href=&quot;http://www.sparkpeople.com/mypage_public_journal_individual.asp?blog_id=2471667&quot;&gt;http://www.sparkpeople.com/mypage_public_journal_individual.asp?blog_id=2471667&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Reset your FitBit: &lt;/b&gt;&lt;br /&gt;
 &lt;br /&gt;
Dock it, turn the dock over, and hit the button underneath with a pen or
 paperclip. The FitBit will reboot, displaying the current firmware 
version and the battery level, then will continue charging. This will 
not delete any of the tracker data. &lt;br /&gt;
 &lt;br /&gt;
&lt;b&gt;Completely erase all information on your FitBit: &lt;/b&gt;&lt;br /&gt;
 &lt;br /&gt;
1. Put the fitbit on the base station &lt;br /&gt;
2. Look under base station and you&#39;ll see a tiny hole. That&#39;s the reset button that you can push with a small pen or paperclip. &lt;br /&gt;
3. Press and hold the button on the Fitbit itself and press the reset button &lt;br /&gt;
4. Keep the button on the Fitbit pressed for 6 seconds. &lt;br /&gt;
5. Take the Fitbit off the base station &lt;br /&gt;
6. Press the button on the Fitbit &lt;br /&gt;
7. It should say &quot;Testing&quot; and then &quot;Pass&quot; &lt;br /&gt;
8. Press and hold the button until it says &quot;Erase&quot; &lt;br /&gt;
 &lt;b&gt;&lt;br /&gt;
Power Off Your FitBit: &lt;/b&gt;&lt;br /&gt;
 &lt;br /&gt;
Unplug the dock. Dock the FitBit on the unplugged dock, then press the reset button on the bottom.
       &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/1081249425984256212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/1081249425984256212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1081249425984256212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1081249425984256212'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2013/10/tips-for-fitbit.html' title='Tips for FitBit'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-7393576234177086246</id><published>2013-08-30T20:07:00.001-07:00</published><updated>2013-08-30T20:09:58.066-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="intellij"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Tip: Mac OSX: Start IntelliJ with sudo permissions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There may be instances where the code you are developing is binding to a particular port that is lower than 1024. So you will not be able to bind to that port.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
You will see something like a SocketException : permission denied.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;b&gt;If you are sure that this is &lt;u&gt;&lt;span style=&quot;color: red;&quot;&gt;temporary&lt;/span&gt;&lt;/u&gt; and you are developing on your Apple laptop, then do the following in a terminal window&lt;/b&gt;&lt;/i&gt;:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
$&amp;gt;cd IntelliJ\ IDEA\ 12\ CE.app/Contents/MacOS/&lt;/div&gt;
&lt;div&gt;
$&amp;gt; sudo ./idea&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now IntelliJ is running with sudo permissions.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;WARNING&lt;/i&gt;: This is a sensitive operation. Do not try it on Apple based servers or production environments.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/7393576234177086246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/7393576234177086246' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/7393576234177086246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/7393576234177086246'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2013/08/tip-mac-osx-start-intellij-with-sudo.html' title='Tip: Mac OSX: Start IntelliJ with sudo permissions'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-1553260175785595171</id><published>2013-08-30T20:02:00.002-07:00</published><updated>2013-08-30T20:02:42.656-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Netty"/><title type='text'>Netty: UDP based Server Example</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
An example is the Quote of the Moment Server.&lt;br /&gt;
&lt;br /&gt;
Package is:&lt;br /&gt;
https://github.com/netty/netty/blob/master/example/src/main/java/io/netty/example/qotm/&lt;br /&gt;
&lt;br /&gt;
Server is:&lt;br /&gt;
https://github.com/netty/netty/blob/master/example/src/main/java/io/netty/example/qotm/QuoteOfTheMomentServer.java&lt;br /&gt;
&lt;br /&gt;
Server Handler is:&lt;br /&gt;
https://github.com/netty/netty/blob/master/example/src/main/java/io/netty/example/qotm/QuoteOfTheMomentServerHandler.java&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/1553260175785595171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/1553260175785595171' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1553260175785595171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1553260175785595171'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2013/08/netty-udp-based-server-example.html' title='Netty: UDP based Server Example'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-2622284150668038714</id><published>2013-02-07T11:21:00.001-08:00</published><updated>2013-02-07T11:22:05.057-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Tip: Hibernate PersistenceException :</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you are seeing the following error &quot;No Persistence provider for EntityManager named&quot; and scratching your brains, ensure that the hibernate-entitymanager.jar is on the classpath.&lt;br /&gt;
&lt;br /&gt;
Also you should have a META-INF/persistence.xml in your jars someplace.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/2622284150668038714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/2622284150668038714' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/2622284150668038714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/2622284150668038714'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2013/02/tip-hibernate-persistenceexception.html' title='Tip: Hibernate PersistenceException :'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-1324945696018749331</id><published>2013-02-04T08:24:00.003-08:00</published><updated>2013-02-04T08:24:42.704-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Tip: Eclipse:: getTextContent() is undefined for Node/Element</title><content type='html'>In Eclipse, if you see the an error saying getTextContent() is undefined for Node/Element, then follow:&lt;br /&gt;
&lt;a href=&quot;http://mergetag.com/the-method-gettextcontent-is-undefined-for-the-type-node/&quot;&gt;http://mergetag.com/the-method-gettextcontent-is-undefined-for-the-type-node/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/1324945696018749331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/1324945696018749331' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1324945696018749331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1324945696018749331'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2013/02/tip-eclipse-gettextcontent-is-undefined.html' title='Tip: Eclipse:: getTextContent() is undefined for Node/Element'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-1417802034999727796</id><published>2012-09-11T12:56:00.002-07:00</published><updated>2012-09-11T12:56:28.194-07:00</updated><title type='text'>Mockito return the value from the response</title><content type='html'>An example:&lt;br /&gt;
private HttpServletRequest request = mock(HttpServletRequest.class);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private HttpServletResponse response = mock(HttpServletResponse.class);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Test&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void testAuthz() throws Exception {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AuthorizationEndpoint endpoint = new AuthorizationEndpoint();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when(request.getParameter(&quot;response_type&quot;)).thenReturn(ResponseType.CODE.toString());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when(request.getParameter(&quot;client_id&quot;)).thenReturn(&quot;test_id&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when(request.getParameter(&quot;redirect_uri&quot;)).thenReturn(&quot;http://localhost&quot;);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; final ArrayList&lt;string&gt; values = new ArrayList&lt;string&gt;();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doAnswer(new Answer&lt;object&gt;() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public Object answer(InvocationOnMock invocation) throws Throwable {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String temp = (String) invocation.getArguments()[0];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.add(temp);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }).when(response).sendRedirect(anyString());&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; httpRequest(&quot;GET&quot;, &quot;/authorization&quot;);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endpoint.service(request, response);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String redirectURL = values.get(0);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; URL url = new URL(redirectURL);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String fragment = url.toURI().getQuery();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Map&lt;string object=&quot;object&quot;&gt; map = OAuthUtils.decodeForm(fragment);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertNotNull(map.get(OAuth.OAUTH_CODE));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private void httpRequest(String method, String pathInfo) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when(request.getMethod()).thenReturn(method);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when(request.getPathInfo()).thenReturn(pathInfo);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/string&gt;&lt;/object&gt;&lt;/string&gt;&lt;/string&gt;</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/1417802034999727796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/1417802034999727796' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1417802034999727796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/1417802034999727796'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2012/09/mockito-return-value-from-response.html' title='Mockito return the value from the response'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-4750582308591705349</id><published>2012-09-10T09:51:00.000-07:00</published><updated>2012-09-10T09:51:33.492-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="fedora_skype"/><title type='text'>Fedora: Skype Issue: libXv.so.1: cannot open </title><content type='html'>&lt;br /&gt;
If you try to run skype and get the following error&lt;br /&gt;
&lt;code&gt;skype: error while loading shared libraries: libXv.so.1: cannot open &lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
$&amp;gt;sudo &lt;code&gt;yum install alsa-lib.i686 libXv.i686 libXScrnSaver.i686 qt.i686 qt-x11.i686&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/4750582308591705349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/4750582308591705349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/4750582308591705349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/4750582308591705349'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2012/09/fedora-skype-issue-libxvso1-cannot-open.html' title='Fedora: Skype Issue: libXv.so.1: cannot open '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-7281187180645546459</id><published>2012-09-05T07:03:00.000-07:00</published><updated>2012-09-05T07:03:27.096-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="macbook_pro"/><title type='text'>Eclipse Heap Settings on Mac</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Locating the eclipse.ini is tricky on a mac.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 17.33333396911621px;&quot;&gt;To locate it, right-click on the Eclipse Application icon and select &quot;Show Package Contents&quot;, then double-click on the &quot;Contents&quot; folder and then double-click on the &quot;MacOS&quot; folder, the home of&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: white; font-size: 13px; line-height: 17.33333396911621px;&quot;&gt;eclipse.ini&lt;/code&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 17.33333396911621px;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 17.33333396911621px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 17.33333396911621px;&quot;&gt;You can use Applications-&amp;gt;Text Edit to change the eclipse.ini file. :)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 17.33333396911621px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 17.33333396911621px;&quot;&gt;Usually you want to adjust the heap settings.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/7281187180645546459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/7281187180645546459' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/7281187180645546459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/7281187180645546459'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2012/09/eclipse-heap-settings-on-mac.html' title='Eclipse Heap Settings on Mac'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-2334192869541945352</id><published>2012-08-29T22:37:00.003-07:00</published><updated>2012-08-29T22:37:44.774-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><title type='text'>Fedora: yum-complete-transaction taking forever?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
It is possible that it may be in an infinite loop or such. Cleanup your yum transaction as follows:&lt;br /&gt;
&lt;br /&gt;
yum install yum-utils&lt;br /&gt;yum clean all&lt;br /&gt;/usr/sbin/yum-complete-transaction --cleanup-only&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/2334192869541945352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/2334192869541945352' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/2334192869541945352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/2334192869541945352'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2012/08/fedora-yum-complete-transaction-taking.html' title='Fedora: yum-complete-transaction taking forever?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-8302498577036481458</id><published>2012-08-15T08:30:00.000-07:00</published><updated>2012-08-15T08:30:02.082-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><title type='text'>Fedora: Remove old kernels</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Update your system&lt;br /&gt;
$ sudo&amp;nbsp; yum -y update --skip-broken&lt;br /&gt;
&lt;br /&gt;
Now remove old kernels&lt;br /&gt;
$ sudo package-cleanup --oldkernels -y&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/8302498577036481458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/8302498577036481458' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/8302498577036481458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/8302498577036481458'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2012/08/fedora-remove-old-kernels.html' title='Fedora: Remove old kernels'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-2269419256100998477</id><published>2012-03-26T21:40:00.002-07:00</published><updated>2012-03-26T21:40:45.487-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Android Tip: android.view.WindowManager$BadTokenException</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you are using an ActivityGroup to display a series of activities, then you may encounter the infamous BadTokenException.&lt;br /&gt;
&lt;br /&gt;
The location where you are getting the exception, will have a &quot;this&quot; usage for the context. &lt;br /&gt;
&lt;br /&gt;
To get over this error, use &quot;this.getParent()&quot;.&lt;br /&gt;
&lt;br /&gt;
Eg:&amp;nbsp; final ProgressDialog pbarDialog = new ProgressDialog( this.getParent() );&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/2269419256100998477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/2269419256100998477' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/2269419256100998477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/2269419256100998477'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2012/03/android-tip-androidviewwindowmanagerbad.html' title='Android Tip: android.view.WindowManager$BadTokenException'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-290554035625485954</id><published>2012-03-26T20:05:00.002-07:00</published><updated>2012-03-26T20:05:32.137-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Android Tip:  Dealing with Droid Spinner Background</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Droid seems to have an issue where in the spinner background is white and none of the elements are displayed even though they are available in the spinner.&lt;br /&gt;
&lt;br /&gt;
This error has a workaround at &lt;a href=&quot;http://stackoverflow.com/questions/4361604/how-to-change-the-spinner-font-color&quot;&gt;http://stackoverflow.com/questions/4361604/how-to-change-the-spinner-font-color&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/290554035625485954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/290554035625485954' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/290554035625485954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/290554035625485954'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2012/03/android-tip-dealing-with-droid-spinner.html' title='Android Tip:  Dealing with Droid Spinner Background'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-8741769613690466554</id><published>2012-03-16T18:12:00.002-07:00</published><updated>2012-03-16T18:12:24.215-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="git"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>GitHub: Dealing with Multiple Accounts and SSH Keys</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://net.tutsplus.com/tutorials/tools-and-tips/how-to-work-with-github-and-multiple-accounts/&quot;&gt;http://net.tutsplus.com/tutorials/tools-and-tips/how-to-work-with-github-and-multiple-accounts/&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/8741769613690466554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/8741769613690466554' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/8741769613690466554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/8741769613690466554'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2012/03/github-dealing-with-multiple-accounts.html' title='GitHub: Dealing with Multiple Accounts and SSH Keys'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-8342169614410041665</id><published>2012-03-02T07:47:00.002-08:00</published><updated>2012-03-02T07:47:49.576-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><title type='text'>TIP: Fedora: No packages marked for update</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Causes:&lt;br /&gt;
1) Your fedora distribution may have been EOL.&amp;nbsp; No more packages are available. You need to upgrade your version.&amp;nbsp;&amp;nbsp;&amp;nbsp; OR&lt;br /&gt;
2) Your yum cache is out of date and needs a refresh.&lt;br /&gt;
&lt;br /&gt;
$ sudo yum clean expire-cache&lt;br /&gt;
$ sudo yum update&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/8342169614410041665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/8342169614410041665' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/8342169614410041665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/8342169614410041665'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2012/03/tip-fedora-no-packages-marked-for.html' title='TIP: Fedora: No packages marked for update'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-9143523042308246327</id><published>2012-02-09T15:42:00.000-08:00</published><updated>2012-02-09T15:46:13.449-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="fedora_skype"/><title type='text'>TIP:Lenovo Thinkpad W520 Fedora 16 Internal Mic Not Working</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Solution as mentioned in&lt;br /&gt;
&lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=752610&quot;&gt;https://bugzilla.redhat.com/show_bug.cgi?id=752610&lt;/a&gt;

is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ sudo vi /etc/modprobe.d/dist-alsa.conf&lt;br /&gt;
&lt;br /&gt;
Add as the first line.&lt;br /&gt;
options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
Then reboot and you should be good to go.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are keen on seeing what my file looks like:&lt;br /&gt;
&lt;br /&gt;
# ALSA Sound Support&lt;br /&gt;
#&lt;br /&gt;
# We want to ensure that snd-seq is always loaded for those who want to use&lt;br /&gt;
# the sequencer interface, but we can&#39;t do this automatically through udev
# at the moment...so we have this rule (just for the moment).&lt;br /&gt;
#&lt;br /&gt;
# Remove the following line if you don&#39;t want the sequencer.&lt;br /&gt;
&lt;br /&gt;
options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
install snd-pcm /sbin/modprobe --ignore-install snd-pcm &amp;amp;&amp;amp; /sbin/modprobe snd-seq&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/9143523042308246327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/9143523042308246327' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/9143523042308246327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/9143523042308246327'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2012/02/lenovo-thinkpad-w520-fedora-16-internal.html' title='TIP:Lenovo Thinkpad W520 Fedora 16 Internal Mic Not Working'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14569140.post-6651067659148899474</id><published>2012-01-25T20:42:00.001-08:00</published><updated>2012-01-25T20:42:59.994-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="SSH"/><title type='text'>TIP: Passphraseless SSH on Fedora</title><content type='html'>If you are trying to set up passphraseless SSH on Fedora, then remember that the permissions on the file authorized_keys should be 644

======================================================
.ssh$ chmod 644 authorized_keys 
anil@sadbhav:~/.ssh$ ssh localhost
Last login: Sun Jan 22 21:42:06 2012 from localhost
anil@sadbhav:~$ exit
logout
Connection to localhost closed.
anil@sadbhav:~/.ssh$ chmod 644 known_hosts
================</content><link rel='replies' type='application/atom+xml' href='http://anilsaldhana.blogspot.com/feeds/6651067659148899474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/14569140/6651067659148899474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/6651067659148899474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14569140/posts/default/6651067659148899474'/><link rel='alternate' type='text/html' href='http://anilsaldhana.blogspot.com/2012/01/tip-passphraseless-ssh-on-fedora.html' title='TIP: Passphraseless SSH on Fedora'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>