Primoz Cigler on WordPress, Business, and Code

Pushing Merlin WP Towards Stable Release

In the summer heat of the last year, Rich Tabor has spiced up the atmosphere with his project Merlin WP – the onboarding wizard for themes or, as he puts it:

Merlin WP is my stab at addressing the tedious and exhausting WordPress theme setup and onboarding process. It makes installing a new WordPress theme, its recommended WordPress plugins, Customizer settings, widgets, and demo content, an exciting and gratifying user experience.

– Rich Tabor (original post)

Continue with reading

Guetzli was released this week. I made a quick test, here are results

I heard lots of hype and news about Google releasing and open sourcing Guetzli this week.

Heck, even I’m hyped and excited.

So I made a very quick test on 1 image with TinyPNG, ImageOptim and of course Guetzli.

Yeah, I know, the sample was too small. But still, here are the results:

Would you be interested in more in-depth research with more image and some stats? Retweet the above. If it gets 10 retweets, I’m doing it.

This bash script can tell you all software releases in the given date period

At my company, we send monthly updates reports to our clients. They are keen to know which WordPress themes got updates in the last 30 days and what was updated. This means that I have to manually go through all our themes and manually check if the there were any updates for a given theme. We follow semantic versioning and the official theme releases are always tagged in git.

Continue with reading

PROTIP: Use `git grep`

git grep is amazing! You should start using it right now.

Here are several reasons why:

  • It is blazing fast. I doubt any code editor or IDE comes close to search in a terminal.
  • If you keep your repo lean and tidy, it will only search for your source files. Everything that’s not a source should not reside in the repository anyway (i.e. compiled css/js files, vendor/ by composer, bower_components/ by bower, node_modules/ by npm …)
  • You will be able to use different regex flavors for search.
  • You can easily filter down to specific file types.
  • You have docs at hand by typing git help grep.

Continue with reading