Popular Code Snippets

18 December, 2017   

CSS code for All Stylesheet Media Types

IE 6 and below get a special stylesheet with stripped down basic-but-still-nice styling

Javascript append function "DOM Append Text and Element Functions"

09 November, 2017   

Copies Source file to Dest file, preserving modification date. Required units: Classes, SysUtils.

Source code for KMP String Search Algorithm

27 September, 2017   

C/C++ source code - Three ways to do a swap

Note: The ASP.Net RadioButtons must be set with exact same GroupName property in order to make them mutually exclusive.

07 September, 2017   

CSS Code for Common Unicode Icons

28 August, 2017   

C++ source code for a simple hashtable

CSS code for Simple and Nice Blockquote Styling

Procedural Programming technique shows creation of Pascal's Triangl

Source code for Binary tree creation, traversal and search

The Gmail Bookmarklet will add a unique string to the email signature to prevent Gmail from trimming the content.

Asp.Net code snippet for Database Query Within WebServices

HTML code Snippet to get directions form (Google Maps) saddr = blank input field for entering START address daddr = hard-coded END address

10 June, 2017   

C++ source code useful string functions

Delphi code to display the screen size and the list of fonts

This will return the number of seconds between now and when the time field was inserted.

18 May, 2017   

The <!-- --> stuff is the HTML comment.

11 May, 2017   

The following code uses bitwise operators to determine if an unsigned integer, x, is a power of two.