Popular source snippets
-
» READING FROM AND WRITING TO WINDOWS REGISTRY DATABASE
Category: C#
Visits: 502
- Shows how to read values from registry database and writing to registry database.
-
» EVENT HANDLER -- COMMAND EVENT HANDLER
Category: C#
Visits: 501
- This Class Exposes a command event handler
-
» IMAGE PRELOADER
Category: Javascript
Visits: 498
- A very good way of keeping visitors on your page until the server finishes the job is by displaying a javascript image preloader. As it's named it will preload some content. The page will display a...
-
» CRUDE RANDOM BIRTH DATE GENERATOR
Category: Python
Visits: 493
- Python code to generate a list of 25 random dates in the range suitable for pasting into excel.
-
» BELLMAN-FORD ALGORITHM
Category: C
Visits: 489
- This is a simple implementation of the Bellman-Ford algorithm for finding the shortest path from a single source in a graph.
A detailed explanation is given here.
-
» COMMAND LINE CLIENT-SERVER VIA SOCKET PROGRAMMING
Category: Java
Visits: 483
- start Server first
start Client by passing the ipaddress of the server
eg; java Client 10.0.1.15
if an error pops up change the port in both Client and Server programs
-
» SIMPLE AJAX EXAMPLE FOR BEGINNERS
Category: Javascript
Visits: 479
- It's not necessary to understand the characteristics of Ajax in order to use it. This snippet provides copy and paste JavaScript with an Ajax engine. No modifications are necessary. Copy the following...
-
» GENERATE GUID IN NANT
Category: XML
Visits: 478
- A custom function to generate GUID in a NAnt build script. Just insert the snippet in a NAnt script.
-
» BOOKMARK A WEB PAGE
Category: Javascript
Visits: 465
- Use this function on your web page, to let users bookmark it. Just call this function on anchor onclick event. Supply with the name of the page ant its URL.
-
» SEND EMAIL
Category: Perl
Visits: 451
- Simple, but handy snippet that shows how to send email using perl