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.


Paypal

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 ( ta.wiktionary.org/wiki/ ) by taking non-existing words from Tamil virtual academy ( http://www.tamilvu.org/slet/servlet/lexpg?pageno=1 ). 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 ( http://www.tamilvu.org/slet/servlet/lexpg?pageno=1  ). 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: http://goo.gl/dCLRmY

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.

| 2 Comments

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: https://www.google.co.in/search?q=Underworld+2003

https://gist.github.com/sathia27/7247311

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.

 

Regards,

Sathia.

| 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”

Solution:

 git add .

git commit –amend -m “old commit”

or

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

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: http://rubyconfindia.org/2013/talks.html

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

http://brails.org/. Online tutorial for those people. so that they can learn and explore things like us.  

His github profile: https://github.com/sidnc86

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

 http://www.sitepoint.com/screen-reader-usability-tips/

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 brails.org ( 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.

IMG_2839

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 :)

Aside | Posted on by | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

Create a Remote Git repository

At your server:

Commands:

ssh test@server.com// user: test server: yourserver.com 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 test@server.com:/{You location of gitrepo.git}

e.g: git remote add origin test@server.com:/home/test/gitrepo.git

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]

http://localhost/code/welcome/

Done :)

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