<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Harsh J</title><link>https://harshj.com/</link><description>Recent content on Harsh J</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 28 May 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://harshj.com/index.xml" rel="self" type="application/rss+xml"/><item><title>Archives</title><link>https://harshj.com/archives/</link><pubDate>Tue, 28 May 2019 00:00:00 +0000</pubDate><guid>https://harshj.com/archives/</guid><description/></item><item><title>Checking if your JRE has the Unlimited-strength Policy Files in place</title><link>https://harshj.com/checking-if-your-jre-has-the-unlimited-strength-policy-files-in-place/</link><pubDate>Thu, 03 Dec 2015 00:00:00 +0000</pubDate><guid>https://harshj.com/checking-if-your-jre-has-the-unlimited-strength-policy-files-in-place/</guid><description>&lt;p&gt;To use the included 256-bit encryption algorithms within Java, &lt;strong&gt;Oracle Java JDK or JRE&lt;/strong&gt; requires you to download and replace the &lt;code&gt;US_export_policy.jar&lt;/code&gt; and &lt;code&gt;local_policy.jar&lt;/code&gt; files under your &lt;code&gt;$JAVA_HOME/jre/lib/security/&lt;/code&gt; directory with a variant of these files called &lt;code&gt;JCE Unlimited Strength Jurisdiction Policy Files&lt;/code&gt; obtained &lt;a href="http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html"&gt;here&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>GNU egrep does not support the \d shorthand</title><link>https://harshj.com/gnu-egrep-does-not-support-the-d-shorthand/</link><pubDate>Sun, 01 Nov 2015 00:00:00 +0000</pubDate><guid>https://harshj.com/gnu-egrep-does-not-support-the-d-shorthand/</guid><description>&lt;p&gt;I learnt this the hard way (and said hello to a large living world of non-standard regex implementations). The &lt;a href="http://www.gnu.org/software/grep/manual/grep.html#The-Backslash-Character-and-Special-Expressions"&gt;GNU grep/egrep documentation page&lt;/a&gt; documents all their special backslash character support but &lt;code&gt;\d&lt;/code&gt; is not one of them.&lt;/p&gt;</description></item><item><title>Duplicating a tab in Safari</title><link>https://harshj.com/duplicating-a-tab-in-safari/</link><pubDate>Thu, 22 Oct 2015 00:00:00 +0000</pubDate><guid>https://harshj.com/duplicating-a-tab-in-safari/</guid><description>&lt;p&gt;If you are an &lt;a href="https://www.apple.com/safari/"&gt;Apple Safari&lt;/a&gt; user, you may have noticed that it lacks a duplicate tab feature (such as the one in &lt;a href="https://www.mozilla.org/firefox/"&gt;Mozilla Firefox&lt;/a&gt; or &lt;a href="https://www.google.com/chrome/"&gt;Google Chrome&lt;/a&gt;, when you right click a tab area).&lt;/p&gt;</description></item><item><title>OS X El Capitan Upgrade Hangs</title><link>https://harshj.com/os-x-el-capitan-upgrade-hangs/</link><pubDate>Fri, 02 Oct 2015 00:00:00 +0000</pubDate><guid>https://harshj.com/os-x-el-capitan-upgrade-hangs/</guid><description>&lt;p&gt;Just like it did when I upgraded from &lt;strong&gt;OS X Mavericks&lt;/strong&gt; to &lt;strong&gt;OS X Yosemite&lt;/strong&gt; a year ago, attempting an upgrade from &lt;strong&gt;OSX Yosemite&lt;/strong&gt; to &lt;strong&gt;OSX El Capitan&lt;/strong&gt; hung again in the same nondescript manner - a blank/empty screen with the pointer, for seemingly infinite period.&lt;/p&gt;</description></item><item><title>Writing a simple Kudu Java API Program</title><link>https://harshj.com/writing-a-simple-kudu-java-api-program/</link><pubDate>Thu, 01 Oct 2015 00:00:00 +0000</pubDate><guid>https://harshj.com/writing-a-simple-kudu-java-api-program/</guid><description>&lt;p&gt;This post is about using &lt;a href="http://kudu.apache.org"&gt;Apache Kudu service&lt;/a&gt;, via its &lt;a href="https://kudu.apache.org/apidocs/"&gt;Java API interface&lt;/a&gt;, in a Maven-based Java project.&lt;/p&gt;</description></item><item><title>Checking out a git branch when multiple remotes (repos) are involved</title><link>https://harshj.com/checking-out-a-git-branch-when-multiple-remotes-repos-are-involved/</link><pubDate>Wed, 30 Sep 2015 00:00:00 +0000</pubDate><guid>https://harshj.com/checking-out-a-git-branch-when-multiple-remotes-repos-are-involved/</guid><description>&lt;p&gt;When you are dealing with a local git repository which has multiple remotes defined (i.e. has multiple remote repositories possibly carrying the &lt;em&gt;same branches&lt;/em&gt;, such as &lt;em&gt;multiple forks&lt;/em&gt;), then the right way to checkout a working branch from one of them is to use the below syntax:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git checkout -b master remote-name/master&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Purging away unnecessary local maven repository jars</title><link>https://harshj.com/purging-away-unnecessary-local-maven-repository-jars/</link><pubDate>Tue, 22 Sep 2015 00:00:00 +0000</pubDate><guid>https://harshj.com/purging-away-unnecessary-local-maven-repository-jars/</guid><description>&lt;p&gt;As someone who works with a lot of Java (or other JVM related) projects at work, I often notice my &lt;strong&gt;$HOME/.m2 local maven cache&lt;/strong&gt; grows quite big over time. This is due to a natural result of a lot of &lt;code&gt;mvn install&lt;/code&gt; and other equivalent commands, that build and install the project and recursive dependency jars locally.&lt;/p&gt;</description></item><item><title>A fresh start</title><link>https://harshj.com/a-fresh-start/</link><pubDate>Mon, 13 Jul 2015 00:00:00 +0000</pubDate><guid>https://harshj.com/a-fresh-start/</guid><description>&lt;p&gt;Welcome, whoever still visits here!&lt;/p&gt;</description></item></channel></rss>