Newest Examples
 Microsecond Benchmark
2008-11-02 16:55:19
View Code
Category: cpp:math
Description: Benchmark class with microsecond precision.
Author: detour

 Current Weather Conditions
2008-10-19 15:27:41
View Code
Category: php:xml
Description: PHP Class to retrieve local XML weather conditions from weather.gov. Can be used to display local weather on your website.
Author: detour

 Simple AJAX Example
2008-10-16 13:10:38
View Code
Category: javascript:ajax
Description: Use XMLHttpRequest or ActiveX equivalent to create an xml request object. Request a single page and alert the results to the browser.
Author: detour

 Drop Multiple MySQL Tables
2008-10-14 21:02:10
View Code
Category: php:database
Description: Connect to a MySQL database, match tables against a regular expression and delete the matches.
Author: detour

 Detect Popup Blocker
2008-10-13 14:48:22
View Code
Category: javascript:general
Description: Test to see if the users browsers is blocking pop up windows.
Author: detour

 Website In C
2004-07-27 02:54:00
View Code
Category: c:internet
Description: Example on how to code your own website in C using mysql.
Author: mind

 Custom String Tokenizer
2004-06-18 22:03:18
View Code
Category: c:strings
Description: Example on creating your own string tokenizer without using strtok()
Author: mind

 Bi-directional Sweep Sort
2004-06-07 21:05:13
View Code
Category: c:general
Description: Based on the sort algorithm in bubblesort.c which is as simple as it gets in the sorting business. Added basic improvements to make a bi-directional sweep sort. Added check to short-circuit sort operation as soon as the program detects that the array is sorted. Limit sweeping of values to the unsorted middle of the array. Also added some debugging messages so one can follow the progress of a sort.
Author: mwberryman

 Simple Kernel Module
2003-08-11 12:26:51
View Code
Category: c:linux
Description: This simple module will recieve system calls to change the directory and log them. This can be very useful if you want to create a sandbox for users on your system, or just log general activity.
Author: detour

 Bezier Curve
2003-07-03 18:03:40
View Code
Category: cpp:opengl
Description: Draw a bezier curve using GLUT and OpenGL by defining three points with your mouse.
Author: detour

 Create Basic Window
2003-07-03 16:53:46
View Code
Category: c:windows
Description: A basic example on creating a window using the windows API.
Author: detour

 Time
2003-07-03 14:20:16
View Code
Category: php:math
Description: Some examples on creating and comparing timestamps with php.
Author: detour

 Creating Makefiles
2003-07-02 23:09:20
View Code
Category: tutorial:general:
Description: As you begin to work on larger projects you will find it necessary to have a means to organize the compilation of your source code. Having to compile multiple files from the command line can become a tedious and time consuming task. The GNU Make program will make this process much easier to deal with. This tutorial will cover the specifics you need to create your own Makefiles.
Author: detour

 Compress Data Using ZLib
2003-06-22 20:08:01
View Code
Category: php:math
Description: Use the zlib functions in php to compress a file.
Author: detour

 Bubble Sort
2003-06-22 19:30:26
View Code
Category: php:math
Description: Generate random numbers then sort them.
Author: detour

 PHP Cookies
2003-06-22 14:19:41
View Code
Category: php:cgi
Description: Example on storing cookies in the client's browser, and controlling the expire time on the server instead of the client.
Author: detour

 Read Directory
2003-06-06 22:44:44
View Code
Category: c:linux
Description: Example on using opendir, closedir, and readdir to open a directory stream and read in and print file names.
Author: mind

 PHP Mail Class
2003-06-06 01:08:55
View Code
Category: php:internet
Description: A class to send html code, plain text and attachments to an email address using MIME. You can attach as many files as you want and modify the headers.
Author: detour

 Sysinfo
2003-06-03 13:47:01
View Code
Category: c:linux
Description: Display the uptime, load averages, total ram, free ram, shared ram, buffered ram, total swap, free swap, and number of processes running on a linux machine.
Author: detour

 STL Permutations
2003-05-29 00:05:00
View Code
Category: cpp:stl
Description: Example on using next_permutation from the stl algorithm library. It will rearrange a string or integer into every unique lexical order.
Author: detour