[update] PHPStorm’s upcoming subscription based licensing model and why you’re fucked up

** I’ve added an update. Click here to read it ** JetBrains has sent me an email today, mentioning about the upcoming change in their licensing model. Right now all users can renew their license at $49 which is a 50% discount rate of the original rate. From this November 2nd, you will be able … Continue reading [update] PHPStorm’s upcoming subscription based licensing model and why you’re fucked up

Using OAuth2 to make authenticated calls to WP REST API

WP REST API is a cool solution for the developers who want to interact with their WordPress blogs programmatically. It’s handy and pretty useful. However, the documentation lacks some working examples which makes a lot of people confused. I’ve started to document some working examples at http://wpapi.xyz. The list is small, but it’s growing. Anyway, … Continue reading Using OAuth2 to make authenticated calls to WP REST API

Working with combined expressions in WHERE clauses in Laravel 4

When retrieving records from tables in our database, you often have to write combined expressions in WHERE clauses like The query above is pulling out all users who’s status is set to 1, and fname is equal to ‘John’ or status is 1 and lname is equal to ‘Doe’. Now this query is significantly different … Continue reading Working with combined expressions in WHERE clauses in Laravel 4