Tagbash

Elasticsearch + WordPress: made for each other!

If you landed here is that you probably have a keen interest in bringing a more powerful search engine into your WordPress site and you have heard about Elasticsearch, the relatively new document oriented, RESTful search server based on Lucene.

There are many reasons why one uses Elasticsearch so I won’t get into much details, I will only show you the steps to get up and running¬†with WordPress + Elasticsearch on your VPS server running ubuntu (or whatever linux distro you prefer but I will only show ubuntu commands)*.

Continue reading

Jira ticket number between git branches

Have you ever worked on a team where everyone needed to put the Jira ticket number in the git message? Ever wanted to know all the ticket being merge to another branch before doing so?

Here is a nifty little bash function that you can put in your bash profile:

gitjira (){ git log $1...$2 | grep -o -E '\b([A-Z]+)-[0-9]+\b' | sort | uniq; }

Once you have this included, you can now compare 2 branches together like so:

gitjira master stage

© 2017 Jonathan Bardo