Article of the week

Finding whether a UTF-8 encoded string is palindrome

Finding whether a UTF-8 encoded string is palindrome

27 Jul 2017 13:49:31


Finding whether a UTF-8 encoded string is character-unit palindrome using PHP programming language and recursion.


Read full article »

Recent articles

Find first image URL in WordPress post content

29 Dec 2016 06:59:28

Find first image URL in WordPress post content

With ever growing importance of websites like Pinterest, and in particular due to their reliance on images, and for general post linking purposes often it is desirable or even necessary to be able to find at least one image in your WordPress blog entry automatically and in an ...

Read more »

Genericons unicode values

21 Dec 2016 11:07:56

Genericons unicode values

Genericons is a set of vector icons embedded in a webfont. They look crisp, scale well and are easy to use. Moreover they are also free to use for whatever project you may need them. If you've dealt with a standard WordPress theme like twentyfifteen you probably noticed, ...

Read more »

Sorting objects by their property in PHP

10 Dec 2016 13:10:14

Sorting objects by their property in PHP

Lets say you have got an array of assorted objects, each with the same set of properties, which are either numbers or strings, and you would like to sort them by one of those properties using PHP. Since it is a fairly common requirement, you can expect the basic tools are ...

Read more »

Setting home and siteurl dynamically in Wordpress

10 Dec 2016 09:44:06

Setting home and siteurl dynamically in Wordpress

If for some reason you have set siteurl and / or home options wrong in your WordPress installation database and as a result can't access admin panel, or perhaps have a reason not to change these options in wp_options table, you can overwrite them either in wp_config.php or ...

Read more »