Information that a particular person is helpful spreads fast within organizations (and with the web across organizations). So a barrage of request might happen.
I'd actually recommend turning this situation to your advantage. Create a template mail that quotes your consulting charges. Whenever somebody makes such a request, send them your template mail.
Some outsourcing shops would actually gladly pay you top dollars for your services.
(By the way, Indians were not and are not the only people who had a highly developed sense of entitlement. It's the thin and poorly applied synthetic varnish of politesse laid over the demand that made the Asian emails especially annoying. An honest "gimme-e-e!" hurts the teeth much less than dishonest, disrespectful "respect".)
"What seems like forever ago, I made the mistake of mentioning in one or the other of the developerWorks forums that I had a way to create a pretty-looking categorized calendar on the web. I say 'mistake' because the requests for the code have reached the level that they actually swamp out the spam in my inbox (proving once and for all that Domino, at least, is not dead yet). I've sent out demo databases in response, and they have helped a few people. Many, many more people have just turned around and outright demanded that I do the work it would take to integrate the calendar into their applications. For free, mind you.
"When did that kind of behaviour become acceptable? I really hate to unfairly categorize these requests, but the vast majority have come from the same people and organisations that are trying to put me out of work by claiming to be able to do my job for less money. (I should point out here that I make a whole lot less than most Americans and Europeans in the Notes development game would make as the consequences of being Canadian, of how I got this job, and of the vagaries of corporate M&A.) Now, I've been beyond broke, and I can understand beggars, but I never imagined that I would regularly encounter the equivalent of streetcorner beggars who are fully employed and ask not for spare change, but for passers-by to go to the office and do their work for them, gratis, so that they can collect their salaries.
"I'm quite well aware that there are a lot (and I do mean a lot) more people working in places like Bangalore and Mumbai than have ever requested code from me, but there still seems to be a disproportionate number of people from the major outsourcing centres who feel entitled to demand that I do their work for them. I'm not talking about 'borrowing' code here — anyone who has embarked on a developer's career without peeking at other people's code can probably be fairly classified as an idiot. Nor am I talking about people who are merely trying to learn the sort of stuff you don't get in the 'Introduction to Domino Designer' course; I generally have a high tolerance for newbies who actually seem to want to learn. I did, after all, offer the code base, and I have no problem working with people who have made an effort to understand what I've done and may have a lingering question or two. I'm just wondering what kind of cultural climate would persuade anyone, anywhere, to believe that it's perfectly okay to demand that I (or anyone else, for that matter) do work for free so that they can be paid for 'work' they got by undercutting my wages."