Archive for the ‘software’ Category

Utility Bash script to setup key based ssh access quickly

Saturday, January 14th, 2012

I needed to add my public key to a couple of servers the same day. After having done it twice, I thought of writing a bash script to pull my key from a public url at dropbox and append it to the authorized_keys file on the server. It appends to the same user who I am logged in as.

You can build on this if you find yourself doing something similar repetitively.

Reporting the first full day Ruby Event in India: The Ruby FunDay

Tuesday, November 25th, 2008

The First Ruby FunDay was held at Impetus Technologies, Noida on 22nd November 2008.


There was a lot of Ruby and a lot of fun.
It was an exciting event with a good number of developers in attendance.


People from various companies already working on Ruby formed the largest part of the attendees. Then there were a few Java programmers, who had come to checkout ruby or so it seemed to me. Also there was a group of students from PantNagar College of Technology. I really appreciate their coming all the way from PantNagar for the Ruby FunDay.


The event started off with Sur doing a presentation on Ruby, though he intended to cover metaprogramming, but a battery of questions from the audience didn’t allow him to go beyond the basics. Particularly developers from a java background were having a hard time embracing Ruby’s open classes and duck typing. Everybody enjoyed Sur’s session a lot as he let code answer audience questions.


Then we had a presentation from Aditya Babbar of Impetus Technologies. He talked about the problems faced in deploying and managing a Rails app. He didn’t speak about only the problem, but demoed a solution which Impetus has worked on to alleviate that pain.


Sid showed us how he used to make a Rails app multilingual using Gibberish before Rails added I18n support. Then he showed how life had become easier with Rails 2.2’s in-built internationalization support. His slides are online at slideshare.


After Sid’s session we were served a splendid lunch made at the Impetus Cafeteria.


Right after lunch, was the one of the most awaited sessions of the day. Gaurav built an AIR client for his fictitious app called Blabber! It is just a co-incidence that the application name sounds like Yammer. You can see the details of his presentation on his blog here.


Then Rishav gave a presentation on Sphinx, using Thinking_Sphinx plugin. He showed all the Full text search capabilities of Sphinx, and also proved why thinking_sphix is a better plugin than ultra_sphinx for beginners atleast. His presentation is online at slideshare


Akhil’s session was the last technical session of the day. He carried on Rishav’s introduction to Sphinx to show how Faceted browsing works with Sphinx. You can find his slides also on slideshare


And then we had the musical extravaganza. Sur and Hemant with help from everybody else present at the event, put up a great show with a guitar and their melodious voices.


A lot of presenters were presenting for the first time, but did a really great job. To say the least, we can expect the event to improve as we organize subsequent editions. It feels really great to be involved with starting Ruby FunDays in India.


To read a more detailed review, go to Ritu’s blog.

Getting ActiveScaffold to work with Rails 2.2 edge

Tuesday, November 18th, 2008

Due to the way template handling works in Rails 2.2, activeScaffold does not work on edge rails anymore.
Thanks to Dr.Gaffo there is fix for the problem in his fork of ActiveScaffold. Get the edge branch of his fork at http://github.com/gaffo/active_scaffold/tree/edge which is compatible with edge Rails.
Even after this you might face some problems like the path to Inflector. Just move the reference to ActiveSupport::Inflector and you should be good.

There is one issue that I noticed, date time field handling by ActiveScaffold is broken, thanks to refactoring in Rails core for handling these. I will post a fix for this as soon as possible and update this post too.

Agile Expert Series in Delhi

Thursday, November 13th, 2008

Sanjiv Augustine a well known International Agile expert is in NCR and is giving a free community talk on the 15th Nov. The event will happen in Gurgaon and Noida (evening and morning). The event details and signup is at http://agilencr.wikidot.com/agile-expert-series-sanjiv-augustine.



So if you yourself are or know someone who is interested in agile development practices, this is a must attend event.

Ruby Fun Day: The first full day Ruby and Ruby on Rails event in India

Saturday, November 1st, 2008

Here’s announcing the first Ruby and Rails Full Day event in India. It has been in the making for months if not years, and now finally it is going to happen on 22nd of November 2008.
We invite all Rubyists and Rails Lovers in India to participate and give us the enthusiasm to organize Fun-Days regularly.

Call it the Ruby-barcamp if you may. Everybody is welcome to speak, but send us a summary of what you would speak about.
This will be an event for the Geeks by the geeks and so we want to ensure hardcore technical sessions.
The only criteria for this one is “more code, less talk”. And of course it has to be related to Ruby or Ruby on Rails.

For event details and participation confirmation: visit http://rubyonrails.in/events/3

Have a day full of Fun and Ruby.
Special Thanks to Impetus Technologies in Noida for providing the venue.

Would you hire this Ruby on Rails developer

Tuesday, September 30th, 2008




I had this interaction with somebody who applied for a job at Vinsol







What is disturbing here is the attitude of Indian developers towards contributing to open source projects, and belive me, this is fairly rampant. Contributing to open source projects matters more than your marks in school to us and to a lot of other companies around.