Posts

Showing posts from 2013

The Year 2K13 Was....

Image
As we are at the verge of year 2K13, I asked a question to my inner self How did it go? From there on my mind started recalling events, that went past me in the journey. The journey that made me an year older with handful of new experiences. 2K13 in my calendar is going to be one of the most unfogettable year in both the ways [Happiness & its counterpart]. January: All the waves into both work and life because of relocation from mumbai to bangalore [Oct 2012] were slowly settling down. Had Durga to fill the void left in my work as a companion. Someone to discuss and share. And forgot to say, now we are a team ;) Realized that I got promoted from Web Dev to R&D Engg. Gave good support to my Super DAD who was taking care of our dream home which was under construction. Bottom Line: Realized that there is a lot more to do than work in life and Patience rewards February: Feb 22 - One of the important events in our family till then, was planned. Our House warming cere...

GRUNT- The JavaScript Task Runner

Image
Grunt helps developers automate the task of javascript deployment. In our development cycle, every javascript deployment used to be 1. Code 2. Minify 3. Upload We were missing out two important phases which ensures code quality and reliability 1. Lint 2. Testing As our code became larger and larger, as anyother dev we also considered a refactor. The refactor resulted in splitting our large code base to manageable modules. Now, Deployment has to go through 1. Unit test independent modules 2. Merge Modules to a shippable target 3. Lint 4. Minify 5. Deploy Ooops... Nice but how? It's true that developers love things automated, and so we were. We arrived at a one stop solution GRUNT. This blog post is a Let Them Know Types. As, I felt that the instructions on grunt setup is kind of scattered :) To hav a better introduction with the hero, you should meet him at his place Grunt has two parts: 1. Using it 2. Customizing it How to start using it? Installation: G...

A Run for World without Leprosy - Run to remember

Image
And My First 10K Marathon [ TCS World 10K ] - A run for world without leprosy Was yet another usual day to work post my work out session @ Music&Metals . Reached my workstation and booted my ubuntu to start with the proceedings of the day. The moment I logged in to my user, my mouse pointer rushed towards the Chrome Icon in unity launcher. Guess what? It's just to see if there are any updates in my FB home. And there it was, nice red color icon over the world of FB. It was a post from Dr. Manimozhi Natarajan, in our Gym's [Music & Metals] closed group. Urged to read what it is about, and it was an invite to all fiddles in M&M to participate in a 10K Marathon for a cause which was about to happen two week from then. And there you go.. I was realizing my wish to go for a long distance run coming true. And a pause [Ooops]. In my previous trip to our Mumbai Dev Center, I got to know that 4 of our team mates are participating in a 4*5Km relay and they are practicing ...

Headless Chrome/Firefox Selenium Java in Amazon EC2

Setting up chrome/firefox in linux based x86_64 EC2 instance In this post we'll see how to setup chrome/firefox in EC2 instance. Further we'll discuss the way to setup chromedriver with selenium [java] in EC2 instance aswell. Why is that difficult? Linux based EC2 instances lack gtk+ , which is a must to launch any GUI enabled applications. How to solve? Compile gtk+ from source. This gist by joekiller has the complete dependency tree resolved for installing gtk+ for x86_64 machines. Line 77 Basically installs firefox from its tarball. You can comment it out incase if you don't wish to. Incase Line 42 fails. Do a wget for direct tarball from here , instead the complex recursive wget. For Ex: wget http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest/linux-x86_64/en-US/firefox-18.0.2.tar.bz2 So, All done? Nopes, Now we can't run either of the browsers as we lack X11 server which does graphics operations & screen outputing. As our envir...