Calculate Size Snippets

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

30 August, 2011   

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

26 April, 2015   

Recursively determines the size of a directory

19 October, 2013   

Mysql code shows how to calculate last 7 days

MySQL code example to calculate age from Date Of Birth

14 February, 2012   

Use this to size an array for your values

An example for Scripted Helper object plugin

19 January, 2012   

CSS code example how to Set the size of the font

08 November, 2012   

Pass the number of bytes and it automatically returns it in b,kb,mb,gb,tb or pb

How to calculate distance between Mouse and Element

Scripts used to calculate Daylight Saving Time (DST) for the US and EU. Valid for years 1900 to 2099. [DST wasn't adopted until the 1950s-1960s for US and 1990s for the EU] By: brad degrandis

08 December, 2012   

Full screen background image using pure CSS3.

PHP code to calculate the difference between two dates

27 May, 2015   

A very common task is converting a number of bytes into something for human digestion.

23 August, 2014   

Correctly calculate the date of Easter Sunday.

14 January, 2013   

This is a simple example of an embedded stylesheet.

20 November, 2012   

An example of embedded stylesheet. This code goes into the <head> of your HTML document.

16 April, 2012   

This CSS code will change link font-size

This allows you to do String.random_alphanumeric(num) to get a random string that is num characters long. Useful for generating random identifier keys.

28 February, 2013   

C++ Code example for Cin getline