Code Snippets Submitted by Jhon Jhon


23 August, 2014   

Correctly calculate the date of Easter Sunday.

30 August, 2011   

Calculates the total size of a MySQL database in KB/MB or GB...

PHP code to calculate the difference between two dates

C++ code example to calculate 1 variable statistics

Calculate the more near point belonging to a given segment.

18 February, 2013   

Brute-force calculation of any date. Includes some very tricky rules for modern-day Gregorian calendar.

01 January, 2014   

Example shown here how to call a stored procedured in C#

07 September, 2011   

How to Center a form on the screen

03 August, 2013   

Example shows bash code to change CWD to file's directory

16 March, 2013   

CSS code example to change Text Selection Color

How to check admin rights for XP and 2000

We can use the Windows API function GetDriveType() to test if the drive is a CD-ROM drive then use the Windows API function GetVolumeInformation() to test if the VolumeName is 'Audio CD'.

16 August, 2011   

Here are the code for checking running iOS 4++

13 June, 2013   

Allows you yo monitor how many times a link/image/banner is clicked, also allows you to diguise affiliate links. Consists of 1 small PHP file and is very easy to use.

Makes it extremely easy to integrate code igniter and smarty as well as provide layout capabilites.

11 May, 2013   

Generate CAPTCHA images for form validation without any outside library's or plug-ins

Maxscript UI & Graphical RPManager - Control multiple object properties with single object for

19 November, 2013   

General purpose converter program for conversion between any two number systems. As long as there is more than one number system in use, conversion of numbers from one system to another is important. By this program you can convert number systems with radix more than 16 also.

General purpose converter program for conversion between any two number systems. As long as there is more than one number system in use, conversion of numbers from one system to another is important. By this program you can convert number systems with radix more than 16 also.

Delphi's RTL ExpandUNCFilename function retrieves the full path and filename of a specified (relative) file using Universal Naming Convention for network files (thus making my *very old* custom function obsolete).