November 24, 2009

Text engraved effect using css

I always wanted to have the text engraved effect on button control, finally able to do it using css properties. Have a look at the following screenshot.


Add the text-shadow attribute to your css classname.
text-shadow: white 1px 1px 0px;

Unfortunately, only Google Chrome browser supports it. But I found this link to implement it using jquery.

Hope this helps!

twitter: @ludmal

November 16, 2009

October 7, 2009

Choosing a Smart Password

There has been a wave of phishing attacks on Hotmail and Gmail recently. Following tips are useful when choosing a strong password. (from Gmail blog)

http://gmailblog.blogspot.com/2009/10/choosing-smart-password.html

September 29, 2009

Fix bugs before writing any new code

Most of the developers like to develop new features rather than fixing bugs. We tend to postpone bug fixing and eager to start developing new features. In general, it’s easy to fix a bug right away than fixing it later. The reasons are -- code is fresh in our minds than to fix it later, we might have forgotten the code if we keep it for later. Hence going through the code again is time consuming. Moreover, having lots of bugs is definitely not a healthier approach. Another reason is, it’s hard to predict the time to fix a bug, but easy for a new feature. To keep your project schedule always inline and accurate fix bugs right away before start developing another new feature.

July 31, 2009

Be Consistent

Life is a process. So be consistent in what ever you do. We tend to forget how to live and hence we are missing best things in our lives. The most difficult thing in life is to be consistent. Its easy to start but difficult to follow up. Eventually, we'll still be on the first page.

June 1, 2009

I love google Chrome, but where is google Toolbar ?

I love google chrome for its simplicity and fast browsing. But still couldn't figure out how to use google toolbar. All of my bookmarks are in google, any idea on how to use google bookmarks in Chrome ?

May 24, 2009

Singapore flyer


This is a snap I took during a visit to Singapore Flyer.

May 23, 2009

Dropthings -- 2GB Free space

Keep your frequently used files in one place and access it from anywhere -- 2GB free space on http://www.getdropbox.com/

April 6, 2009

www.aspnetr.com - .net related Articles

If you are looking for a simple and quick solution for your programming problems please visit, www.aspnetr.com , Its still in beta and will take another week for a fully functional site. The main idea behind this site is to give a spot on solution for all your .net related matters and most preferably ASP.NET.

March 26, 2009

How to get the IP Address and redirect users by country

Download the following dll to get the country by passing IP address. This is a .NET 3.5 library that retrieves the country information for an Internet Protocol version 4 (IPv4) Address, by extending the System.Net.IPAddress class.

http://www.codeplex.com/IPAddressExtensions

 

Then simply add the code in page load method.

if (!IsPostBack) {
            IPAddress ip = IPAddress.Parse(HttpContext.Current.Request.UserHostAddress);
            string country = ip.Country();
            if (country.ToLower() == "india") {
                Response.Redirect("~/indiahomepage.htm");
            }
        }

February 14, 2009

Fusion Charts

Recently I worked on a Dashboard Project which shows Sales, Invoices, ATB and DSO info. Initially I started with Dundas Charts but later we changed to a nice 3D looking charts called "Fusion Charts". Of course Dundas Charts was good enough but I was looking for a better 3D look, therefore I had to switch to Fusion charts. It was very simple but powerful and we use XML as Data Source. If you are looking for a nice 3D graphs for your project you better have look at this.

MVC

ASP.NET MVC Framework, all I can say is are we going back to where we started ? "Spaghetti code". The main idea was to separate server code from HTML in ASP.NET back in 2001. But all I can see in MVC now is code and HTML both mixed each other which reminds me of a classic asp page. Well, I still haven't got time to get into MVC but this is what I can say from the initial look. Of course there could be some reasons ... I guess I will write this in more details once I really get into MVC....

January 3, 2009

Life is so easy with Google and Apple products

Life is so easy with Google and Apple products. Almost all of my official and personal activities in daily life supports by a google or an apple product. I use gmail as my primary emailing software from last 4 years, the experience was amazing. I use Google Gmail, Tasks, Calendar, Reader, Notebook, Doc, Google sites, Chrome and Google News, almost everyday. And Apple on the other hand with IPod and ITunes. I recently bought a IPod nano and the experience was so amazing compare to the earlier IPod version.

December 29, 2008

http://weblogs.asp.net/mhawley/archive/2004/05/11/129824.aspx

http://weblogs.asp.net/mhawley/archive/2004/05/11/129824.aspx

Productivity Tips

As we are moving to a new year, we tend to look for productivity tips which help to improve our productivity. But how many people actually keep continuing? Well, it’s easy to start but hard to continue. I have tried different kind of GTD (Getting things done).

There are plenty of ways where you can manage your Things to do list. A good start would be GTD. But for me I would like to keep things simple. Some of the simple but effective productivity tips which may help you in new year :

· Maintain a simple todo list ( Gmail Tasks)

· Break tasks into small workable items.

· If a task takes 2 min to complete, do it at the same time and do not procrastinating

· Have a weekly review and clear up all the tasks.

Even If its sound so simple, it’s hard to continue. Good luck and have a productive new year!!

Some useful readings :

http://www.lifeoptimizer.org/2007/05/09/top-5-productivity-tips-most-people-know-but-do-not-do/

http://www.davidco.com/