remove (16,398)


c# How to check for file lock?

c# How to check for file lock?

This question already has an answer here: Is there a way to check if a file is in use? 16 answers Is there any way to check whether a file is locked witho…


Modify Address Bar URL in AJAX App to Match Current State

I'm writing an AJAX app, but as the user moves through the app, I'd like the URL in the address bar to update despite the lack of page reloads. Basically, I'd like for them to be able to bookmark at a…


sql server What is the best way to copy a database?

I always create a new empty database, after that backup and restore of the existing database into it, but is this really the best way? As it seems very error prone and over complicated for me.…


How to remove the time portion of a datetime value(SQL Server)?

Here's what I use: SELECT CAST(FLOOR(CAST(getdate() as FLOAT)) as DATETIME) I'm thinking there may be a better and more elegant way. Requirements: It has to be as fast as possible(the less casting,…


javascript How can I turn a string of HTML into a DOM object in a Firefox extension?

I'm downloading a web page(tag soup HTML) with XMLHttpRequest and I want to take the output and turn it into a DOM object that I can then run XPATH queries on. How do I convert from a string into DO…


SVN Client Ignore Pattern for VB.NET Solutions

What is the best SVN Ignore Pattern should TortoiseSVN have for a VB.NET solution?…


How to add CVS directories recursively

I've played with CVS a little bit and am not the most familiar with all of its capabilities, but a huge annoyance for me is trying to add new directories that contain more directories in them. Runnin…


language agnostic Split a string ignoring quoted sections

Given a string like this: a,"string, with",various,"values, and some",quoted What is a good algorithm to split this based on commas while ignoring the commas inside the quoted sections? The output…


Is it “bad practice” to be sensitive to linebreaks in XML documents?

I'm generating some XML documents and when it comes to the address part I have fragments that look like this:<Address>15 Sample St Example Bay Some Country</Address> The XSLT that I have for convert…


How do I remove duplicate items from an array in Perl?

I have an array in Perl: my @my_array=("one","two","three","two","three"); How do I remove the duplicates from the array?…





from how string not add all javascript and with get