Popular Code Snippets

13 November, 2018   

Types for use with the AdjustImage overloaded functions. The types define valid ranges of values for various function parameters.

13 November, 2018   

Checks if the given string contains only valid ASCII characters. Returns True if so or False otherwise.

11 October, 2018   

C++Code Snippets to Write a character using cout

Whenever a row is inserted in the Customers Table, the following trigger will be executed.

C source code example for using struct tm, time_t, and time to create a simple clock

17 July, 2018   

This function takes a string and an output buffer and a desired width.

Example htaccess snippets to remove File Extention from URLs

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