certain (698)


java - Shutting down a computer

java - Shutting down a computer

Is there a way to shutdown a computer using a built-in Java method?…


Cannot delete, a file with that name may already exist

This is starting to vex me. I recently decided to clear out my FTP, and stumbled across an old Wordpress install I forgot I had(oh yes, very security conscious me). Anyway, for some reason deleting…


osx - Can you have virtual users using an SFTP server?

I've had a FTP server(Mac OS X, but not the server version) set up for a while where the users are virtual, i.e. they are not actual user accounts in the server's OS, but accounts handled by the FTP…


Strip all HTML tags except links

I am trying to write a regular expression to strip all HTML with the exception of links(the<a href and</a> tags respectively. It does not have to be 100% secure(I am not worried about injection at…


How do you prevent printing dialog when using Excel PrintOut method

When I use the PrintOut method to print a Worksheet object to a printer, the "Printing" dialog(showing filename, destination printer, pages printed and a Cancel button) is displayed even though I ha…


excel vba - Is there a macro to conditionally copy rows to another worksheet?

Is there a macro or a way to conditionally copy rows from one worksheet to another in Excel 2003? I'm pulling a list of data from SharePoint via a web query into a blank worksheet in Excel, and then…


python - How do I verify that a string only contains letters, numbers, underscores and dashes?

I know how to do this if I iterate through all of the characters in the string but I am looking for a more elegant method.…



Protecting cells in Excel but allow these to be modified by VBA script

I am using Excel where certain fields are allowed for user input and other cells are to be protected. I have used Tools Protect sheet, however after doing this I am not able to change the values in th…


javascript - Highlight text inside of a textarea

Is it possible to highlight text inside of a textarea using javascript? Either changing the background of just a portion of the text area or making a portion of the text selected?…


Printing leading 0's in C?

I'm trying to find a good way to print leading 0's, such as 01001 for a zipcode. While the number would be stored as 1001, what is a good way to do it? I thought of using either case statements/if th…




how with from only specific remove rows column file multiple