Popular Code Snippets

14 February, 2017   

jQuery doesn't really have an .hasAttr() function. You might assume that it does, but alas, it does not.

08 February, 2017   

Code example to create a new file under linux

Exam code to backup MySQL Database to SQL File

C++ source code for singly linked list - insert, remove, add, count

29 December, 2016   

JavaScript code snippet to test if Mac or PC

21 December, 2016   

Convert Polygon to Path Data code snippet by Chris Coyier

05 December, 2016   

Stop IE Page Load Flicker Html code Snippet by Chris Coyier

15 November, 2016   

Add this to the Flash embed code

02 November, 2016   

A PHP template for dealing with any sort of error

24 October, 2016   

You should NOT use this if you are ACTUALLY using WordPress.

if client is on shared internet, returns true if client is not on shared internet, returns false

05 October, 2016   

This code accumulates 100 units of part number 9999 from various storage bins

A JavaScript implementation of the famous sprintf() function

22 September, 2016   

A short javascript function to toggle checkboxes

11 September, 2016   

Website won't display in a frameset. Site will jump out of the frameset.

30 August, 2016   

Use INTERVAL to add or subtract days.

Shows how to focus a control in a Windows Form. If you are working with Web forms it is very simple, you just use "WebControl.Focus()" but this does not work for Windows Forms.

14 August, 2016   

All of the XOR encryption algorithms

01 August, 2016   

3 Examples way to do a swap

24 July, 2016   

Dynamically add form fields to your forms.