Integer List Snippets


Example code for merge sort of an integer list

Iterate enumerative and associate array using for loop in php.

30 August, 2015   

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

18 April, 2012   

To show a list of all mapped network drives, use the GetNetworkDriveMappings function

By default Symfony displays forms in tables, with each new input being a table row. If you want to display your forms more semantically with fieldsets and lists, Symfony has a list formatter built in. You can tell an individual form to display as a list using the code below.

13 February, 2014   

Just got inspired last night and decided to start a class to get the screen in "blocks" and check which one has changed to update only those.

This function will not recurs subdirectories - it will only return a list of sub folder on the "first" level.

When developing applications that need to operate on files and directories it is a common task to, for example, get the list of all sub-directories for a given directory.

13 September, 2015   

C code snippet for another merge sort of integer list

20 October, 2012   

Create dynamic variables from a query or a list.

28 April, 2011   

Over the years I have made quite a few software programs in Delphi, and inevitably I have also come up with many useful functions. Most of them I have never published on the Internet before, now I would like to list on blog. Part 1 are functions for managing integer or real numbers, they were written very early in 1997.

An example of a simple double linked list using OOP techniques

C++ source code for singly linked list - insert, remove, add, count

27 August, 2012   

HTML code for Standard List Navigation

Example for using thousand separator (,) for decimal integer numbers

A bug seems to occur when you add a negative margin to a list item in IE6. The background image applied to the list item gets repeated randomly and generally messes up. Add this little gem to your head to fix the problem. Remember to change the id tag to your own.

Example for using thousand separator (,) for decimal integer numbers

Java code example to list the Files or Subdirectories in a Directory

Delphi code to display the screen size and the list of fonts

06 February, 2013   

Delphi code for Hexadecimal to Integer