Below are the top ranked snippets.
4
This should stop your JSP page being cached by browsers and proxies.
It tries to cover all bases, just stick it at the top of any JSP page.
If your entire web application requires this, it would be much more economical to write a J2EE Filter, and run this code for each request before chaining on to the next filter..
It tries to cover all bases, just stick it at the top of any JSP page.
If your entire web application requires this, it would be much more economical to write a J2EE Filter, and run this code for each request before chaining on to the next filter..
4
find external IP and external hostname with vbscript
4
List all services of a remote compute
4
Utsawin
Go easy on me, my first snippet - plus I am new to VB.NET 2.0... with only basic knowledge of classic VB... Just want to mention that the Permutations function is not actually mine - found it online... (credit where credit's due)
Fairly simple stuff, but had me pulling my hair out - Even Excel has a COMBI function out of the box!
Fairly simple stuff, but had me pulling my hair out - Even Excel has a COMBI function out of the box!
4
A simple search array example.
4
This code snippet will validate an IP Address (IP v4).
return true if the ip address is valid. Else false.
return true if the ip address is valid. Else false.
4
Alternate row coloring in xsl
4
convert a string to intege
4
Hide CSS styles from Opera by substituting Latin letter "r" for Unicode character 82 in the media attribute "screen" of the style tag.
Tested in browsers based on Netscape, Mozilla, and Internet Explorer for PC.
Tested in browsers based on Netscape, Mozilla, and Internet Explorer for PC.
4
Removes every sub-directory in a directory tree that has its name equal to [string] or containing [string] starting from [initial_directory].









