Tech Notes
10 IntelliJ IDEA Keyboard Shortcuts That You Must Know
· ☕ 6 min read · ✍️ Dinesh
Linux nerds/geeks happily flaunt their keyboard skills when they get a chance. I admit that I am not a shortcut junky but I too have some keyboard shortcuts under my sleeve that I use in day to day work. I have to say that not only have these shortcuts increased my productivity but they have also made my life a lot easier. I am sharing my 10 most used shortcuts at work.

Apache Camel : How to call java webservice
· ☕ 6 min read · ✍️ Dinesh
I have made up my mind to get rid of WSO2 ESB at my office. It is clumsy, buggy, hard to test, no body wants to work on it and the documentation is horrible. I looked at various alternative and Apache Camel was free and easy to set up and work with me. To cut the story short, I was able to run most of the example but was struggling with CXF to call a third party service hosted at a random url.

Launch Website in Amazon EC2
· ☕ 9 min read · ✍️ Dinesh
I wrote this blog about a year ago and left it in the draft because this post somehow was not getting auto saved on WordPress and since its long post it took time for me type, take screenshots and paste. I did not have energy and time to do it all over again. I had a copy of it though in my google drive and I cannot tell you how many times this document has helped me.

How to configure JNDI with Spring and Jboss4/5
· ☕ 3 min read · ✍️ Dinesh
This is a simple process but if you try and search on the web you will come across various incomplete solutions which will leave you more confused than you already were. This configuration involves just four simple steps that I will walk through to help you set up JNDI on Jboss. I am using Jboss 4.3, but this should be valid for other version of Jboss as well. I have a web application which is built on Spring 3.

Rails: Jquery is not loading
· ☕ 2 min read · ✍️ Dinesh
It’s been a while I have posted anything. I have been extremly busy and have been working on an extremely critical project where we were asked to become PCI 2.0 compliant. I worked on some interesting problems however today I will be discussing on something trivial and discuss my frustration about Rails. I have to admit that a number of times I thought I should just give up and start learning Python or stick to my forte i.

How to post parameters to a url using Ajax/Javascript between two website
· ☕ 3 min read · ✍️ Dinesh
I am working a new project and I recently ran into an interesting problem. One of the web site that I keep up at work was supposed to take the user to another website which required me to add post parameters. EX - www.mywebsite.makeapayment.com ==> Collects Billing information ex - name, amount, address etc.==> Post this information to www.vendor-website.com. I did not realize the problem until I started coding and my colleague pointed out that as soon as www.

Using multiple profiles in Maven + Eclipse
· ☕ 3 min read · ✍️ Dinesh
It’s possible that many of you already knew this but if not then here’ some basic info on Maven profiles. I have been using maven for over 2 and half years now, and have been copy pasting assembly and install files. I never bothered to know how Maven figures out how to read assembly and install file names. For example- PROBLEM: For all my projects I have been using assembly-jboss.xml to put the file/directory information and telling maven about my desired directory structure i.

How to send email in PhoneGap (Android) using a gmail account
· ☕ 8 min read · ✍️ Dinesh
For the last one month, I have been working on an android app for a grocery store. I have been using PhoneGap to develop the solution as the client wanted both Android and Iphone version. I have tried building the app in native Android but going through the hassle of designing css was just too much for me and plus I did not had time to learn Iphone development. There was a short learning phase for PhoneGap and the results were awesome.

How To Share Any Folder On Mac Via Built-in Web Server
· ☕ 2 min read · ✍️ Dinesh
So what’s new here? Well I was playing around with Phonegap to build a small android and ios app. I was able to build a small weather app using Yahoo weather api but then I came across Sencha Touch 2. I wanted to build the same app in Sencha Touch and compare the two platforms for developing mobile apps and as ap part of its get started tutorial I had to drop the Sencha Touch in a web server.

Saving files in Amazon S3 using Carrierwave and Fog Gem
· ☕ 5 min read · ✍️ Dinesh
Long long time ago in a far far away land….. I am just kidding. So I needed a gem to do file uploads(in my case images but you can upload anything) and I was looking at various options. Paperclip is a popular option but there is a new kid on the block (so i read in various forums)… Carrierwave. Now I have not used Paperclip but what I read was that Carrierwave is more flexible and powerful than Paperclip so if are interested then keep reading.

Installing Rails on Mac OSX
· ☕ 3 min read · ✍️ Dinesh
I struggled a lot doing this on my mac. I prepared steps and notes while I was upgrading. here are the steps for mac osx. This works for Mac OSX 10.6+ ============ Section 1 ================= Install and update Ruby 1.9 on MAC OSX Snow leopard 10.6.5 Install RVM Installation instruction: http://rvm.beginrescueend.com/rvm/install/ – In Treminal Run the following command: bash < <( curl http://rvm.beginrescueend.com/releases/ … all-latest ) – type in terminal: version=$(curl http://rvm.

Setting up IMAP settings for hotmail account on Iphone and android
· ☕ 3 min read · ✍️ Dinesh
Yes, there are still a few lost soul who still have a Hotmail account and I am one of them :-). I have used Iphone in the past and use an android phone now, however I always complained that I was not able to set up an IMAP account for Hotmail. I always had a POP3 account 🙁 What does IMAP and POP3 mean? – For beginner who do not understand what is IMAP and POP3, here’s a small description.

Engineyard, Rails 3.x, NGINX, PASSENGER ASSETS NOT DISPLAYED
· ☕ 7 min read · ✍️ Dinesh
CAUTION: Please excuse the diction/grammar/spelling. It’s 3 AM and I am in a hurry to sleep as I need to drop my friends to airport in exactly 4 hrs. So I was trying to set up this new application for my wife. I was using galleria plugin to show a slide like image. Everything was working fine in development so I decided to see how it would look like in production environment if it was deployed in a cloud or virtual server.