Chennai Geeks hackathon

Hope everybody know what is Hackathon ( click link if u don’t have idea ). I just interested to share my experience about chennai geeks hackathon and my project i done there.

Quick link for may project

ChennaiGeeks (Link)

Tech group for Geeks in chennai. I never seen such active group. There are lot of members in group who is ready to help (mentoring ) starters ( freshers ) who are interested. They are active in their facebook group,  you can’t see single spam in that group. Group is moderated by geeks. If you are interested to join and click this Link.

ChennaiGeeks Hackathon

Hackathon conducted on April 26 – 27. I spent my Birthday ( Apr 27 ) over here, Enjoyed a lot. We had 24 hours hackathon. started coding 26th 10AM to 27th 10AM. There are more that 80 Geeks and 22 teams. I have attended 3 hackathons before, unique thing about this is we had idea pitching round where we discussed about our idea before start doing hackathon. Others geeks gave suggestion about our ideas. So it helped us to decide if our idea is worth to implement.


Hackathon was conduted at Paypal | ebay office. Office looks very cool. Here are some pics took by me: Fb. And their hospitality, food should be great.

Projects by team:

Whole hackathon team did well. Everybody’s idea were unique. They were some cool fun projects like Rajini lang ( programing language with thala dialogues as syntax),  Dark night Joker app ( i don’t remeber app name. Concept of that app was finding location of noise origin using mobile phones. this concept was used by joker in dark night rises) etc.

Other project ideas are here

My project

I and Lenin joined as team. We choose idea of contribution to wikitionary by writing bot. Currently app contributes to Tamil wikitionary ( ) by taking non-existing words from Tamil virtual academy ( ). Wikitionary are most good resource which is used by google ( for translation if you searched in google ) also used in writing dictionary by various people. So it is good thing to wikitionary. There  are lot of people who contributes manually by seeing this tamil virtual academy site (  ). There is web app to access this contribution. url is not public to users because of security reasons. As if we run task, it started to contribute to wiki. Link will be shared soon once it is done.  I should thank  Mr. Shrinivasan for suggesting this project.

Presentation Link:

Project is still in beta. Project link will be shared soon. It is not shared now because we can’t run the app without whole template for content ( wikipedia ) is ready. Check here updates in this page

Its open source with GPL 3 licence. Geeks are welcome to contribute.

Thanks for Volunteers who worked hard to make it success.


Imdb results for movie folder with Ruby

Note: Ruby should be installed and Current code was checked in Mac/Linux machines

Copying movies from your friends?

Have habit of checking imdb results before copying ?

This for you!

Just download from below url. just run ruby imdb.rb [Movies Folder] .It will try to collect imdb results of folder name ( not for all ) from google ( sidebar ) Eg:

ruby imdb.rb /media/Pendrive

Is it Interesting ? We can add more stuff into that.

  • If the rating is more than 7. You can copy to your system folder.
  • Need to beautify code.
  • Make it as Gem.

P.S It works for me. I will work until google changes some css updates in that.




Tagged , , , , , | Leave a comment

Git amend ? Rename previous commit ?

Hey, I use git for two years. I have’nt used git amend till yesterday.

Where u will use this,

Case 1:

git commit -am “old commit”

F***, I forgot to add the files with commit ( untracked files )

then i ll add it again

 git add .

And commit again, but it should come as same commit

 git commit -am “missed file”


 git add .

git commit –amend -m “old commit”


git commit  amend

This will add to your previous commit. You don need to specify message, if you don’t need new message.

Case 2:

git commit -am “od commit”

F***, I din spell “old” correctly

git commit –amend -m “old commit”

This will replace your previous “od commit” => “old commit”

^ I mostly face these two cases, But never tried amend keyword

Tagged , , , , , , , , | Leave a comment

In RubyConf 2013

I had a wonderful time at ruby conf 2013.  And its my first time for attending Rubyconf. I wont miss next conference. Mostly next

conference will be at Goaaaa :).

Yep, Also enjoyed a lot :). I gone with colleagues from Hoppr  ( one of the silver sponsor of

Rubyconf2013). Met some wonderful speakers. I came to know the importance of conference. Should thank to all volunteers who did

more hard work there.

=> Food and pune climate was awesome :).

Speakers and topics in rubyconf:

I enjoyed everybody’s talk.

Read this :


Siddhant Chothe: One of most Interesting guy i met there. He gave talk on  “Turning blind eye to rails development “?”|” ! “!”

About him: He is running a company named Technovision. Peaple working there were blind and low vision. They are

doing more brilliant things. They use online tutorials to read and they are working web development tools like PHP, Rails etc. He told

that many peaple like this want to learn and he also giving more support to them. He is also low visioned guy. He also explained that

how we can help them. They actually read some tutorials through some screen readers ( audio tools that reads the current screen ) (

tools available in linux ,windows ). When we are writing websites or tutorials, he told that we must write a code that would be usable

for screen reader users. There are some guidelines, how to write code, which will be useful for those people. They own their product

called Online tutorial for those people. so that they can learn and explore things like us.  

His github profile:

See below, how we should write code ( for screen reader user’s )

If i got his slides, i would share you.

We can help him by contributing by these ways, and If you are good in rails, you can contribute to ( its open source )

Aaron Patterson, Steve and all others praised about his work 🙂

Aaron Patterson: Most cool person. Yeeiii!!! I got a snap with him. Great contributor of Ruby and Ruby on rails.


I am the First from the Left 🙂

And topics like Graph database, More with Git ( Speaker was doing magic with Git), Ruby Aurdino, Steve’s Frapuchinno. and meeting these people inspire us to contribute in open source 🙂

Thank You. Will meet you at next conf 🙂

Posted on by sathia | Leave a comment

Create a Remote Git repository

At your server:


ssh user: test server: or ip address

mkdir gitrepo.git// Project name: gitrepo.git

git init –bare

git update-server-info

Change git working tree ( where real project will be stores when you push from local )

cd gitrepo.git/hooks

vim post-receive

GIT_WORK_TREE=/home/{Your username}/{project_name} //You can give your folder structure.

P.S: Assusmed that you have linux server and git in sever

Al Local folder:

Go to your local git repo

git remote add origin{You location of gitrepo.git}

e.g: git remote add origin

Then commit your changes, Push your changes

 git push -u origin master

Tagged , , , , , | Leave a comment

How to add running programs in bottom panel Ubuntu 10.04

For displaying list of running programs in panel (top or bottom), right click at panel

1. Select “Add to panel”

2. Search and select for “Window list”  and add it.

Posted in Fedora, ubuntu | Tagged , , , , , , , , , , | Leave a comment

Remove “index.php” in codeigniter’s Url path

Do you want to replace http://localhost/code/index.php/welcome/ to http://localhost/code/welcome/

So simple. Follow the rules below.

Create  .htaccess file in root directory.

‘code’ is root directory

gedit code/.htaccess

And then add the below rules to that.

RewriteEngine on
 RewriteCond $1 !^(index\.php|resources|robots\.txt)
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.*)$ index.php/$1 [L,QSA]


Done 🙂

Posted in Web | Tagged , , , , , , , , | Leave a comment

Experience in conducting workshop

Mr. Thyagarajan Shanmugam, CEO of open vidhya (my mentor) conducted workshop in Coimbatore institute of technology on September 1st and 2nd 2012. He took class on PHP and Ruby. Some basic on Ruby on rails. Students in CIT were eager in learning new technology. Me also helped some students by clearing some doubts. Here are some clicks

Leave a comment

English to tamil offline dictionary

Code was written in ruby,

Database: sqlite3

Download Files here

File: word.rb

Connecting database using sqlite3 adbapter and active_record ORM.

File: [only for debian package]



Others should install

ruby, rubygems

gems: sqlite3, active_record, nokogiri

File: upload.rb

You dont need to run this script. if you have word.db file. This ruby program scraps

all word and meaning from

and save into sqlite database.

File: word.db

This is database of all words and meanings  which was saved by upload.rb script.

This application has autocomplete functionality.

This is first version of script. code was in repo, url:

Feel free to edit the code. You can change to any languange instead of tamil by making some changes to upload.rb.

How to run

After installation,

Go to that folder and run dict.rb

$cd dictionary
$ruby dict.rb


This slideshow requires JavaScript.

Posted in programs, ubuntu | Tagged , , , , , , , , , | 9 Comments

English to Tamil Translator script

Hi friends,

Started creating translator script in ruby,

which will convert to english document file to tamil pdf file.

Main idea of script is to convert English pdf to Tamil Pdf

So its easy to translate e-book easily to our mother tongue language.’

I just now started with tamil font. This will translate English doc to

Tamil using google translator

Current Status:

*Now it gets .doc extension file from user and it converts to tamil pdf.

Need to changed as English pdf to Tamil pdf.

Note: It has many grammar mistakes while translating. and this is translated to tamil by Code was in github account :

If you like to start working in this code. You can take code form github acconut.

If you feel any good method other than this, Please give me suggestion.

Thank you in advance.

#!/usr/bin/env ruby
Program name: Translation script
Date Written: 05/12/2011
Date Modified: 05/12/2011
Author : Sathianarayanan.S
License: GPL2.0
Version: 1.0
 require 'rubygems'
 require 'nokogiri'
 require 'open-uri'
 require 'net/http'
 require 'uri'
 require 'prawn'
 if ARGV[0]
 puts "converting file '"+ARGV[0]+"' to tamil version!!!"
 resume =[0]);
 total_text = ""
 resume.each do |str|
 total_text += str
 page = Nokogiri::HTML(open(URI.parse(URI.encode("|ta&text=#{total_text}"))))
 puts resume.readlines
 result ="#result_box")
 Prawn::Document.generate("output.pdf") do
 font "ttf-tamil-fonts/TAMu_Kalyani.ttf"
 text result.text, :size => 20
 puts "Enter file name. Filename can be .doc or .txt \n[Usage] ruby translate.rb filename.doc"

Posted in programs, ubuntu | Tagged , , , , , , , , | 7 Comments