How to create your own Yeoman generator

Easy peasy! we just need a package.json file and a index.json where to specify what we want to build and how (interact with the »

Tips & Tricks with Composer

I'll be updating this post with new tips and tricks about composer as my personal list of useful commands and configurations. Install composer package globally composer »

OpenResty + multipart/form-data MINE type

By default multipart/form-data can't be processed by OpenResty and we need to pre process each request to be able to obtain the sent data. At »

How to Authenticate against Moltin API

Series This constitutes a series of blogs about the Moltin API, an incredible eCommerce > API for developers, using powerful & flexible building blocks with no steep »

How to first steps with Moltin API

Series This constitutes a series of blogs about the Moltin API, an incredible eCommerce > API for developers, using powerful & flexible building blocks with no steep »

How to use a class's constructor on Lua

We add the following bits of code to our class: setmetatable(MyClass, { __call = function (cls, ...) return cls.new(...) end, }) function MyClass.new(init) local self = setmetatable( »

How to keep Things synced with Dropbox

Follow the steps belows to keep your Things database synced between your computers. With a fresh instalation of Things, do the following: Create a synced folder »

How to create your own Faker Provider, vCards is gonna be! :)

Basically I need a way to generate vCards fake's ones to seed my database and test my API, we are using under the hood the new »

How to install a composer new dependency without updating old ones

We just need to add our new/package to our composer.json file and run the following command: composer update new/package source »

How to push a change in a submodule on Git and do not died trying

Ok, it's a pay in the ass, I'll try to do my best to explain it. First you do your changes and create a new branch, »