Popular Code Snippets

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.

13 April, 2017   

From the v8 design of CSS-Tricks

02 April, 2017   

Last name matches the user input and returns their phone and email information

Note that to add a new column to the query, just add in an input box to the HTML, the PHP generates an insert for each field.

12 March, 2017   

PHP code snippet for Automatic Mailto Links