Selecting Overflowing Text in IE

January 21, 2009

I noticed a problem with how IE supports overflowing text today. The problem is that the text can not be easily selected (with a mouse) when using overflow: auto; and white-space: nowrap. Here is an example to demonstrate this problem. This text is not easy to select in IE because it will not automatically scroll […]

Read the full article →

Open Excel in Two Windows (Microsoft Excel 2007 / Windows Vista)

January 19, 2009

There is a flaw with the below solution it causes the associated Excel files to loose their icons. I posted a follow-up article for opening Excel in Multiple Windows that provides the same solution while associating a new icon with the Excel Files. When you open an Excel file in Windows Vista, it will only […]

Read the full article →

Verify a Password Protected Site with Google (Adsense, WordPress)

July 22, 2008

I previously discussed how to get Google to verify a WordPress blog by making a few modifications to the .htaccess file. I would like to take this a step further and discuss how a password protected site can be verified with Google. Verifying a password protected site became necessary for me when I wanted to […]

Read the full article →

Verify a WordPress Blog with Google

July 21, 2008

In order to verify your site with google you need to go to Google’s Webmaster Tools Dashboard and add your website and then click verify. After clicking verify it will ask you to put a file on your website with a name similar to google54fbcc37db740a4d.html. In most cases this is all that needs to be done and then google […]

Read the full article →

Password Protect All but One File (htaccess)

July 20, 2008

Once in a while need to allow someone access to one file but no other files in the same directory. I often solve this problem by moving the one file to a sub directory and then adding the following to an htaccess file in that same sub directory. allow from all satisfy any This normally works well […]

Read the full article →

Count Lines of Code in C#

December 4, 2007

When I am programming I often wonder how much code I have actually typed. Sometimes when I get in the zone, have a well thought out design and have auto-completion helping, I can generate code pretty quick. Although there are quite a few programs out there that will count the lines of code some are a […]

Read the full article →

Extra Update Center Module – Netbeans 6 beta 2

October 25, 2007

In the nightly build of netbeans there is a module that can be installed called “Extra Update Center Module”. This can be made available in Netbeans 6 beta 2 by going to Tools–>Plugins–>Settings and clicking the “add” button. Then use the following url: http://deadlock.netbeans.org/hudson/job/javadoc-nbms/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz Click “ok” and you should now have access to the “Extra […]

Read the full article →

touch with DOS commands

March 20, 2007

I often use Cygwin to get access to a few linux style commands that I need. The command touch is one of those commands. In case your not familiar with it it will create/update the creation and modification times of a file to the current time. If the file specified does not exist it will […]

Read the full article →

Count number of lines in a file using DOS

February 25, 2007

Every once in a while I get on a computer and I need to count the number of lines in a file. My first instinct is to open my text editor (editplus) and hit ctrl+end to get to the bottom of the document. Then I can view the status bar which will tell me the […]

Read the full article →

Regular Expression Search and Replace via Command Line (Editplus)

December 14, 2006

Editplus is definitely my favorite text editor but it does not entirely support Regular Expression. Below is an example of when Editplus has failed me: So, I used the regular expression .*<table.*\n.*<tr>\n.*<td>. This unexpectedly returned everything from the beginning of the file down to the <td>. Basically it seems to have a little bit of trouble […]

Read the full article →