Popular source snippets

» HTTP CLIENT
Category: C#
Visits: 2583
How to do completely stand-alone C# HTTP client.
» IMAGE PRELOAD
Category: Javascript
Visits: 2341
How to get rid of the delay that happens when you use multiple images with 'onmouseover'? Preload all the images. You can supply one image url as an argument to this function, or an array of image...
» XSLT TRANSFORMATION FROM A SERVLET
Category: Java
Visits: 1697
The question how to create HTML output to the browser from a Servlet based on XML data often comes up. Here's a fully functional example on how to achieve this using Jakarta Xalan 2 and Xerces 2. ...
» SENDMAIL USING GMAIL SMTP SERVER
Category: C#
Visits: 1687
How to use SendMail function, an example with GMail SMTP server.
» COMPUTE STYLE OF ELEMENT
Category: Javascript
Visits: 1620
A method to get the styles for an element that aren't set in-line or with JavaScript. Apply this function to get the desired result.
» UTF-8
Category: ActionScript
Visits: 1581
The encoding known today as UTF-8 was invented by Ken Thompson. UTF-8 is a variable-length character encoding for Unicode. It can represent any character in the Unicode standard, yet is backwards compatible...
» DRAWING WITH GDI
Category: C#
Visits: 1563
There are plenty of things you can code in C# without having to rely on the ever so omnipresent MS-VCS. Here is an example of some typical drawings like lines, arcs, circles, text, curves and gradients you...
» THREAD SAFE INVOKE EVENTS USING GENERICS
Category: C#
Visits: 1541
This makes it possible to use threaded objects from within a Windows Form, without crashing when attempting to access controls.
» XML SERIALIZATION USING GENERICS
Category: C#
Visits: 1459
Very easy way to serialize .NET objects to XML using generics.
» TCP SERVER
Category: Python
Visits: 1378
How to create a TCP server using python
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15