Article of the week

Binary Search algorithm advanced implementation in PHP

Binary Search algorithm advanced implementation in PHP

17 Feb 2020 00:41:03


Advanced implementation of Binary Search algorithm in PHP programming language, which allows for custom comparison functions and multiple value returns.


Read full article »

Recent articles

Number of primes between two numbers

05 Apr 2017 10:53:55

Number of primes between two numbers

Sometimes, especially when dealing with basics of Number Theory, you come across a question that requires stating whether a number is a prime or perhaps finding all the primes there are between two given numbers. In this article I present a tiny PHP class which has methods to ...

Read more »

Optimizing JPEG graphics files with ImageMagick

17 Mar 2017 13:36:30

Optimizing JPEG graphics files with ImageMagick

The other day I had a closer look at some of my websites speed and server load statistics with a view to improving them a little. There are quiet a few methods to achieve that. Google have some nice articles on the subject. Check their "Make the Web Faster" pages if ...

Read more »

Automated jQuery plugin scaffolding for Debian

08 Mar 2017 07:21:06

Automated jQuery plugin scaffolding for Debian

A couple of days ago I needed a jQuery plugin scaffolding with Qunit and grunt tasks. I had a quick look at what was available online and I found a scaffolding that seemed decent but it was also fairly outdated. Among other issues, grunt qunit task wouldn't work with it ...

Read more »

Substituting file contents in place with BASH and sed

05 Mar 2017 16:33:19

Substituting file contents in place with BASH and sed

The problem of substituting file contents in place on the command line is an old one. Often it creeps out when dealing with configuration or other text files. You just need a quick substitution , perhaps with sed, but what you end up with is frequently either none or a wrong ...

Read more »