New Code Snippets

This program checks whether an year (integer) entered by the user is a leap year or not.

CSS code snippet for Style Links Depending on Destination

23 May, 2018   

Add to bookmarks bar, select text, click it to get the word count.

Simple singly linked lists example usage; it is only one of many possible implementations

C++ Code Snippets for Octal - Hexadecimal - Decimal conversion

03 April, 2018   

Returns the last day of the month containing the given date.

20 March, 2018   

Converts the given hexadecimal string to an integer.

22 February, 2018   

MySQL Code Snippets to Export Table to File CSV

Find the length of the array before using it in the for function

JavaScript code snippet to Remove the Last Character from a String

CSS code example how to custom File Input Styling in WebKit/Blink

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