Article of the week

Updating WordPress database URLs - part 2

Updating WordPress database URLs - part 2

03 Jan 2017 13:03:49


Second part of the series on the subject of replacing URLs in WordPress database.


In this second part on the updating WordPress database URLs I'll concentrate on a database-wide approach. All tables will be scanned and old URLs updated to new ones. Also serialized data will be properly dealt with. In this part, mysql utility will not be involved ( but ...

Read full article »

Recent articles

Number of primes between two numbers

05 Apr 2017 10:53:55

Maths

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

Web development

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

Web development

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

Host development

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 »