Our bundle of joy is gone

The last few days have been very taxing for my family. The one thing which held us all – Tuffy is no more. She passed away on 10th July, 21:15 after tireless efforts from her vet – Dr. C.B. Singh to save her.

She was just three and a half years old and this was very sudden for all of us.

Tuffy had been diagnosed with diabetes about 20 days ago and for the last 10 days started going downhill. She had internal bleeding in her gut and her ulcers just didn’t get enough time to heal. Over the last four … Continue Reading

PHP Active Directory Integration: get userAccountControl attributes

While trying to integrate an AD based login in my php application, I came across the problem of checking which user accounts were not disabled.

After going through some forums I did the following to see accounts which were not disabled:
$result = ldap_search($ad, “OU=Users,OU=Office1,DC=country,DC=company,DC=com”, “(&(objectCategory=user)(!(userAccountControl=514)))”);

Microsoft returns the flags set for any user in the userAccountControl attribute in a cumulative manner. The flag values used by Active Directory are mentioned here.

So e.g.
John has a Normal Account [Flag 512]
Alex had a Normal Account [Flag 512] but now has been disabled [Flag 2] so the status on … Continue Reading

Some of the tools I use

I  was going to write about Notepad2 but just didn’t get around doing it. So here I am just listing out a few tools I use :

Notepad2 (Windows notepad is dead, this one has truly replaced all my windows systems)

WinMerge (diff tool)

Softerra LDAP Administrator (amazing ldap manager)

Easy Eclipse (eclipse installation for the truly lazy people)

TAR to the rescue

Recently I had to automate a few very VERY redundant tasks on Mac. We have been using PowerGlot – an application used to localize nib and string resources. The following were the steps which are used to localize any application:

Choose the English Resource Folder (which contains nib and string resources)
Choose the Target Resource Folder (where the localized files would be placed)
Give the glossary which has the translations stored in it.

I checked out the source code from the CVS repository on my system, and ran the script which finished off the work in a few minutes.

Little did … Continue Reading

We are sinking!!!

Its been a while since I wrote anything, have been pretty busy over the last few days. I came across a funny ad so sharing it here. :)

Get the Flash Player to see this content.

Essay: The Cow – a must primer to learn the English Language!

The following essay has been around since I was a kid, which wasn’t a very long time ago, and it sure has passed the test of time. I know it has been on many websites but I must share this for it formed the very base of my learning path in English. :)

The first time I came across this “jewel” of English was when I was at school. Apparently it is a true essay written by a Bihari candidate as part of the qualifying Examinations for UPSC [IAS - Indian Adminstrative Services]. The candidate has written an essay on the … Continue Reading

Spider Pig – Good Music

I have been listening to Spider Pig by Hans Zimmer most of today. Nice haunting music :) from The Simpsons. Most of Hans Zimmer music is really good, specially the tracks from the movie Black Hawk Down.

For those who appreciate the sense in the nonsense here is the Spider Pig…Song.

Liesl, my child, my Wolfy is finally free…

Today my little one has gone forever… At 4:12p.m. we had to put her to sleep. I am glad we took the decision and ended her misery but a part of me is gone. She was suffering from cancer – like nodules and a fractured osteoporotic foot.I sure do know what it must be like to lose a child.

Liesl, a beautiful, most adorable, german shepherd was with us for the last eight years. She was most attached to me, every single day I came back the unconditional love I got probably no human could … Continue Reading

My very first post

I guess I should be happy as a new born puppy, I have me own blog! The truth is sadly graver, I am wondering and skeptical about WordPress. I had a lot of “Should I, Shouldn’t I” moments while going with the one click install feature.

Let’s see how long I keep WordPress. For the moment me not complain.