Static Array Snippets


13 September, 2015   

C code snippet for another merge sort of integer list

12 January, 2012   

Here shown a php code example how to associative Array by Column Name

24 September, 2012   

An array of states to convert "AL" for example to "Alabama"

his snippet was created under the inspiration of using the django-multilingual package. Also an additional code is used to solve the problem of saving the many-to-many relations in embedded forms (http://trac.symfony-project.org/ticket/5867#comment:21). The idea is that in all embedded I18n forms appears checkbox "delete" for each...

This snippet will check memory and then print initial, final and peak usages.

19 April, 2016   

A simple method that generates a MD5 hash from a given string. It should be compatible with PHP's md5() function (just lowercase the string).

Example code for a short BubbleSort algoritm for Integer Arrays

07 January, 2012   

ASP code example to create an Array

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

27 April, 2013   

Returns an array of ints representing the indices of the triangles

19 February, 2012   

Throwtest an application that demonstrates how to define, throw, and handle exceptions. This application doesn't do anything other than print out some text, but if you might want to study it and play around with it to learn more about how exceptions work in Java. See the usage instructions in the source code.

20 October, 2012   

Create dynamic variables from a query or a list.

15 November, 2011   

Source code of C/C++ program, showing how to work with arrays.

16 November, 2013   

You can use this function when you correct a iban number in your commercial projects.

10 June, 2013   

A function that returns an array of elements based on DOM element, tag, and class name. For instance, getElementsByClassName(document, 'tr', 'info') will return an array of all "tr" tags under the document node having the "info" class.

22 May, 2013   

Example code shows how to draw a Linear Gradient

Source code for Validate Longitudinal Redundancy Checksum

30 August, 2015   

Loads the contents of a dir an sorts them by the date of creation.

As an example, here we are redirecting http://www.yoursite.com/product.php?id=231&category=seo to http://www.yoursite.com/seo/newpage.htm

11 October, 2011   

In the same way you often need to format data being sent from Flash, you sometimes need to format data being received. This function takes a string and removes all spaces from it. Here we use the split method of the String class to split the string into an Array and then call the join method of the Array class to convert it back to a string....