Wednesday, January 19, 2011 - 16:38
It is 9:30 PM, winters are almost over. In fact it is kinda hot in day time in Delhi. Today is 19th January. Kapil's Birthday! There are some dates people never forget. Today is one such day. I guess we never forget the Birthdays of oldest friends. At least I don't. Kapil is my friend from school days. We were in the same class from class first to twelfth.
If I am not wrong the year was 1993 and I went to meet Kapil in the evening at his home. He was not there, his mother told me he is in the park with his cousins. We used to play together daily and at that time of the day he was generally sleeping. I felt little strange. I went downstairs and entered the park and I saw him standing at some distance with one of his cousin. His second cousin was not there. As I walked towards him I…
Monday, January 3, 2011 - 05:36
Here is another small tip for designing drupal website. When you develop sites in drupal you be definitely need to modify the existing css file of the theme you are using. my suggestion is don't mess much with the original theme. Keep it as it is or change it only when you really have to.
Just create your own css file, lets say we call it MyOwn.css and write your code in it. Then edit the .info file of the theme you are using and add the following line in it.
stylesheets[all] = style.css
stylesheets[all] = ribbon.css
stylesheets[all] = aggregator.css
stylesheets[all] = local.css
stylesheets[all] = MyOwn.css
After doing that clear the cache check if you new css work or not!!
Tuesday, December 28, 2010 - 04:59
If you use drupal then you should install drush. It is basically a very nice collection of scripts that saves lot of time like downloading, installing and enabling modules. With just single command you can do all that once. Thats not it! It does a lot of things. Just read the the documentation here http://drupal.org/project/drush
How to install drush on dreamhost!
1. Download and Unpack Drush: First, you need to login to the shell of your Dreamhost account. In your home directory, download and unpack Drush. From the command line type:
curl -O http://ftp.drupal.org/files/projects/drush-All-Versions-2.0.tar.gz
(The latest version at the time of writing.)
tar -zxf drush-All-Versions-2.0.tar.gz
You should be left with a folder called drush that…
Saturday, December 25, 2010 - 08:30
Here is another super cool module for making your Drupal Development life much easier. Every Drupal site with has the functionality of mulitple users/role and when we develop any feature or configure any permission for them we often switch our firefox profile or launch another browser (other than your primary browser) to see how that feature will behave for another users with different permissions.
Wouldn't it be great if there is a simpler way for doing that?? Yes there is!! Masquerade module does just that. Oce installed you can easily switch users by selecting an item from the menu. Yes it is that simple!!
So just try this module and have fun!!
Saturday, December 25, 2010 - 05:58
Here is amazing CSS trick to display links and text over the image slideshow with transparent background. This is really simple to do. Just see this video from mustardseed and implement it for your websites. Really cool!
Wednesday, December 22, 2010 - 07:16
It is pain to reply to follow up comments on blogs and various site. We maintain a site ggsipu.info which has more than 10k members and people ask so many questions via comments but they have to come to the website to post the comments. Which is pain!!
Drupal has a module to save time and make it very easy for the site visitors to reply to the comments right from their mailbox.
MailComment does just that. It is a gateway module for responding to posts via email. It links outgoing notifications emails with incoming email responses using a combination of mail parameters and digital signatures.
When enabled, it adds to outgoing notifications emails a message that looks like:
((( Reply ABOVE this LINE to POST a COMMENT )))
Then the receiver just needs to reply to the mail and the text above…
Thursday, December 16, 2010 - 06:09
Nice place to have brunch. This is the second time I have come here.
Wednesday, December 1, 2010 - 04:40
Just 50 mtrs from me seat these people are working, there day has just started. They also have cubicles like us, though it is surrounded by bricked wall and yes they don't have the carpet.
The lift used by them can only be used by daredevils! And these people risk there lives, like the man in this picture who is sitting on the edge of the building with no signs of fear.
They surely look at our air conditioned office and I wonder what they think. Are they on twitter or facebook?? I think all they care about is that their family gets food daily and they do it all their life and we crib daily for things that don't really matter.
What if we exchange places with them for one day?
Monday, November 29, 2010 - 06:28
Today I was working on excel (yeah yeah I do work sometimes), I wanted to extract the first 20 characters from the string. I forgot the function name, I did a quick google search and found out the solutions.
left(A1,20) is the function to extract first 20 characters from A1 cell!!
PS - I am writing this blog because I may require to do so in future, may be 10 years. So I will check back my blog.
Sunday, November 21, 2010 - 11:57
I saw hahk in this hall in late 1994 or jan 1995. I was wearing white sweater that turned grey after the movie, coz it was filthy hall. That was movie watching experience 15 years back. The hall was jam packed and people were shouting and whistling. Now multiplexes have killed the meaning of theatre. They have tiny small screen, and hardly I see more than 25% people in the hall.