user-avatar
Today is Tuesday
June 3, 2025

Archives: February 2011

February 26, 2011

Different faces of money

by viggy — Categories: experience, Fun4 Comments

Had gone to Amoeba with 7 of my school friends whom I met after a long long time. There I played a car race which was Rs. 40 per person. The car race was just 2 laps and around for 5 mins and I hardly knew what I was doing. (I dont know how to drive a real car too). After that we went to Purple Haze. The ambience was great and though only 4 of us drank, we enjoyed the flavored hookha. The bill was Rs. 1629 which included 3 shots of tequila and two pitchers of Beer too. As I had just recently got a new job, everyone was expecting a treat from me but somehow I was not in mood. Hence even though I paid Rs. 500, most of my friends were unhappy. I agree,they had all the rights to be sad. Anyways after hearing friendly abuses from them for being a miser, they dropped me at Marthahalli bridge where I waited in bus stop to catch a bus. While waiting I decided to buy groundnuts just for time pass. There is a boy who sells it at the bus stop and he keeps hitting his metal spatula on the metal pan in which he fries the groundnuts. Since there was some time for the bus to come, I decided talking to the boy. He was hardly 10 years old. He told me that he was from U.P. and his parents are still there. He came to Bangalore so that he can earn for his sister to get married. The trolly was owned by someone else and the owner gives him daily a box of groundnuts which this boy has to sell from Rs. 100. In turn, this boy will get Rs. 1000 per month and a place to sleep and food to eat. If the boy does not make Rs. 100, then the remaining amount will be deducted from his salary. It made me wonder that the boy works just for Rs. 35 per day and I had just spent Rs. 500 in matter of few hours by which I couldnt even satisfy my friends and had spent Rs. 40 for just 5 mins for something which I did not even enjoy and this boy was spending his whole day just to earn Rs. 35. That is what made me think how this boy would react if I had given that Rs. 500 to him. The money was same but what it bought would have been so very different. Hopefully through the “Each One Teach One”, I will be able to make some difference in lives of atleast few of millions of such boys.

February 15, 2011

How to make Users as Invite only in Drupal

by viggy — Categories: Uncategorized — Tags: , , , , , Leave a comment

If you are creating a specific site, you wouldnt want anyone Tom and Harry to be able to register in the site. Also you would not want the burden of adding users completely on the admin. The best solution for that is to allow existing users to Invite other users. This will ensure that any time you always have users who are linked to each other.
To enable this feature, you need to enable Invite module, http://drupal.org/project/invite. The settings are very basic. After enabling the invite module, you will have a Invite tab under User management. Change the settings as you want. Also after this, make sure that you go to User settings and change the Public registrations: to “New user registration by invitation only.” This should enable already existing users to see a link “Invite a friend” on their main menu.
Now I need to find out how to restrict the number of invites per user.

February 6, 2011

Hopefully will be able to make it on Wednesday for the Car Festival

by viggy — Categories: UncategorizedLeave a comment

February 3, 2011

Interesting projects

by viggy — Categories: Uncategorized — Tags: , Leave a comment

http://reprap.org/wiki/Main_Page

http://ronja.twibright.com/about.php

February 3, 2011

Play guitar in your terminal

by viggy — Categories: Uncategorized — Tags: , , Leave a comment

Courtsey: http://groups.google.com/group/iitdlug/browse_thread/thread/62a6ee1b2e6394f0?pli=1
Type the following code to play

$ for i in E A7 E2 B7 A E3 G A B C7 D;do play -n synth 1 pluck $i repeat 2;done

The command “play” is a part of the package “sox”. More info see the
manual page for ‘sox’ or http://www.manpagez.com/man/1/sox/

Enjoy hearing the tunes 😉