Article of the week

Converting tree to correct HTML list in PHP

Converting tree to correct HTML list in PHP

07 Jul 2017 22:48:43


Converting trees into correct HTML lists using tree traversal in pre-order algorithm.


Read full article »

Recent articles

Find total of a column of numbers with BASH

28 Nov 2016 20:53:05

Find total of a column of numbers with BASH

Suppose you have a file with a long list of items followed or perhaps preceded by whole numbers and you are asked to find the total of those numbers. The file might look like this (case 1): aaa:23 bb:2 ccc:98 . . . or perhaps like this (case ...

Read more »