Angular resource and http interceptor
18 Jul 2016
This post describe about the use of angular resource library along with http interceptor.
Post browser logs to server in an Angular app
25 Jun 2016
This post describes about posting all the browser errors in an angular application to an endpoint. This will be helpful to analyse or debug issues.
Expanding Amazon EBS Volume in a EC2 instance.
04 Feb 2016
Even after increasing the size of the EBS volume in the AWS console, the actual size of the EBS wasn't increased. Have to follow the following steps to grow the EBS size.
Set deployed Git revision using Capistrano 3
03 Jan 2016
While deploying Rails application using Capistrano 3, recording the current deployed git revision to be used by Rails applicaiton.
UrlGenerationError after upgrading to Rails 4.2
09 Dec 2015
On a REST model new action, form_for tag breaks and raises UrlGenerationError after upgrading to Rails 4.2
Integrating CKEditor with Rails asset pipeline.
27 May 2015
Integrating CKEditor plugin into rails asset pipeline.
Deploying Jekyll site for Github pages through rake script
31 Aug 2014
Deploying jekyll blog or site for Github pages using rake script.
Integrating Netflix Hystrix to a Spring Application
15 Jul 2014
Hystrix is a latency and fault-tolerance library from Netflix. This post describes how to integrate it with Spring Aspects to make the implementation simpler.
Testing APIary using Dredd.
02 Jul 2014
Test API blueprint mardown files by simply hosting them on GitHub and setting up a pipeline in Travis CI.
Making HTTPS call using Apache HttpClient.
27 Jun 2014
Perform Https calls from server using Apache HttpClient library.
Gradle, Spring MVC App.
15 Jun 2014
A skeleton sample app demostrating gradle set up with Spring MVC along with basic logging and deployment in tomcat environment.
Cross Site HTTP(S) Requests.
02 Jun 2014
Some of the tried out solutions for the cross site request issue. Should be a good place to look out for which solution to be used under a circumstance.
Re running testNG failed times n times.
01 May 2014
Steps to set up re-runn of testNG failed tests for n number of times, using ant task.
Wiring Jasmine 2.0 with Phantom JS
29 Apr 2014
This post describes the steps that are necessary for to wire Jasmine 2.0 test suites with phantomJS.
What's new in Apple Passbook iOS7
07 Aug 2013
New features in passbook application in the iOS7.
Setting up Cucumber-jvm
10 Jul 2013
Setting up cucumber BDD framework in your Java project.
Link your Sublime Text 2 instances with Dropbox
10 Jan 2013
Sublime text has a key mapping file where it stores all the shortcut. Here is a way to share your preferences and key maps across two machines using a dropbox account.
Scribblings on
04 Dec 2012
When i tried out for the first time, it was quite an interesting learning of few new paradigms and techniques.
Hamcrest conflict in jUnit.
27 Jun 2012
Hamcrest matchers are used in jUnit for assertions. There is a weird problem with the version conflict between Hamcrest and jUnit. The solution is been discussed here.
Handle MaxUpload SizeExceededException in Spring
24 Jun 2012
Handling MaxUploadExceedException in Ajax call with Spring controllers. This exception occurs when the file size greate than what is expected is been uploaded by the user.
Make your NTFS drive writable under Mac Lion
07 Dec 2011
Make your NTFS drive writabe under mac lion.
Running Windows 8 on VM on Mac Lion
10 Nov 2011
Running windows 8 on a VM along with Mac Lion.
Slot machine effect using jQuery
25 Sep 2011
A cool widget that looks like a slot machine. Small piece of code and a nice trick to animate the numbers to achieve a slot machine effect.
Writing Custom Tags for JSTLs
11 Sep 2011
Writing a custom JSTL tag and integrating with the application. A sample code to do the same.
Reloading an activity in Android
13 Jul 2011
Refreshing or reloading activity in Android application. This might be important in the case of refreshing data in the activity.
Configuring Context name for an application
09 Jul 2011
Setting up a different context name than the WAR name for the Java application deployed in Tomcat server.
My First Windows 7 Theme
21 Jun 2011
Creating your custom theme for Windows 7 and sample Chennai Super Kings theme for Windows 7
Primary-key @OneToOne mapping in Hibernate
18 May 2011
Joining two tables using Primary keys in Hibernate.
Wiring Android Wheel Widget into your application.
24 Apr 2011
Wheel component in iOS is quite famous. Integrating a similar android-wheel to your android application.
Add EditText(s) dynamically and retrieve values - Android
22 Mar 2011
Adding multiple edit text boxes to the android application dynamically through code and controlling them.
Hadoop Version in AWS Map Reduce
15 Nov 2010
Performing Map Reduce operation using Amazon AWS interface.
Install Custom JAR files in Samsung Corby Pro
03 Nov 2010
Installing external application in Samsung Corby Pro. The applications has to be compatible for the phone and should be in jar format to be installed.
SAX parser characters() method.
07 Oct 2010
Sax Parser, behaviour of characters() method. Sample code in Java.
FTP Client (Ubuntu)
31 Aug 2010
Download multiple files from authenticated FTP server in Ubuntu.
Stop halting at Assertions
05 Mar 2010
Generally assertions cause the test to halt. But sometimes we need to continue further and evaluate all the asserts and expect a comprehensive report of all the asserts.
Send your mail later
20 Feb 2010
Compose an email and schedule it to send it at a later time. Useful for reminders.
Printing multiple divs in a page.
11 Feb 2010
When an user tries to print a HTML page, allow multiple divs from the page to appear in the print and not the entire page. Not using media CSS query
Tweaking IntelliJ appearance to look cool in Ubuntu
30 Dec 2009
Intellij is one of the most prominent Java IDE. Opitimising its appearance on Ubuntu is described in this post.
Install Inconsolata.ttf in Ubuntu(Jaunty).
11 Dec 2009
Inconsolata is dev friendly font used by devs for their code. This post is about installing Inconsolata tru type in Ubuntu - Jaunty.
Enabling Yahoo Accounts On Ubuntu
28 Nov 2009
Setting up Yahoo accounts using Pidgin messenger on Ubuntu.
Test SMTP server
21 Oct 2009
Setting up SMTP server in your dev box.