Code Snippets Submitted by Jhon Brain


05 October, 2016   

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

CSS code example for different colors to visited/unvisited links

Example for adding filter column to FilterControl, Devexpress controls

PHP code to add sortable column to WordPress in admin area .

22 April, 2013   

Code for adding and positioning multiple charts in a worksheet

Adding VBA Code Programmatically in Excel

Handy helper function which parses about any date and returns the same date in MySQL date/time format.

15 April, 2012   

PHP code example for an image CAPTCHA.

18 February, 2012   

CSS code example for a background image repeat vertically (y-axis), horizontally (x-axis), in both directions, or in neither direction.

05 June, 2014   

Bans most (but not all) proxy servers by detecting common "FORWARD" signatures in the header.

PHP code for Base64 Encode and Decode

28 November, 2011   

An HTML scroll box is a box that grows scroll bars when it's contents are too large to fit in the box.

20 March, 2013   

ASP code example to block Multiple IP Addresses

17 November, 2012   

Little bit of javascript which will automatically break out of frames

This function builds an HTML select list from from data retrieved from a mySQL table.

This is an example for Form Based Query

08 February, 2016   

A type of replacement function within the SELECT statement.

27 February, 2012   

C++ while loop - User enters in the number of looping times

This is a PHP Class that calculates the size, number of files & folders of a specific directory.

13 April, 2014   

CSS code to center image in div with overflow hidden