doesn (1,686)


algorithm - Two marbles and a 100 story building

algorithm - Two marbles and a 100 story building

One of those classic programming interview questions... You are given two marbles, and told that they will break when dropped from some certain height(and presumably suffer no damage if dropped from…


firefox - Why doesn't my favicon display for my web site?

I have a website that I've just uploaded onto the Internet. When I browse to the site using Firefox 3.0.1 on Ubuntu I don't see the favicon; Firefox 3.0.1 on WinXP does display it. Why isn't the fav…


c# - Office VSTO Word 2003 project keeps trying to autoconvert to 2007

I am working on a Office Word add-in for Word 2003. When I reopen the project, the VS2008 auto covert dialog box opens and tries to convert it to the Word 2007 format. How can I reopen this file and…


How to encrypt email addresses using JQuery

Is there a way to use JQuery to cloak or encrypt email addresses on an HTML page without changing the syntax in the HREF?…


jQuery “after” selector question

I can't seem to figure out a good way to do this, but it seems like it should be simple. I have an element that I want to append a div to. Then I have another element that I want to clone and shove…


In SQL Server is it possible to get “id” of a record when Insert is executed?

In SQL Server 2005 I have an "id" field in a table that has the "Is Identity" property set to 'Yes'. So, when an Insert is executed on that table the "id" gets set automatically to the next increment…


Advanced directory switching in bash

I know a few advanced ways, to change directories. pushd and popd(directory stack) or cd-(change to last directory). But I am looking for quick way to achieve the following: Say, I am in a rather…


php - How to check if a value already exists to avoid duplicates?

I've got a table of URLs and I don't want any duplicate URLs. How do I check to see if a given URL is already in the table using PHP/MySQL?…


unit testing - Disadvantages of Test Driven Development?

What do I lose by adopting test driven design? List only negatives; do not list benefits written in a negative form.…


osx - In Applescript, how can I get to the Help menu Search field, like Spotlight?

In OS X, in order to quickly get at menu items from the keyboard, I want to be able to type a key combination, have it run a script, and have the script focus the Search field in the Help menu. It s…





not work working how the with exist file javascript for