Skip to content

Instantly share code, notes, and snippets.

View LTroya's full-sized avatar

Luis Troya LTroya

  • Santiago, Chile
View GitHub Profile
@LTroya
LTroya / Install Composer using MAMP's PHP.md
Created September 9, 2016 04:52 — forked from irazasyed/Install Composer using MAMP's PHP.md
Instructions on how to change preinstalled Mac OS X PHP to MAMP's PHP Installation and then install Composer Package Management

Change default Mac OS X PHP to MAMP's PHP Installation and Install Composer Package Management


Instructions to Change PHP Installation


First, Lets find out what version of PHP we're running (To find out if it's the default version).

To do that, Within the terminal, Fire this command:

which php

@LTroya
LTroya / knipsterTest.md
Created December 5, 2016 22:12
test for knipster.com

#Backend Developer Test Task Introduction

With this test we want to get an idea of your proficiency in backend related web development technologies. We will give you a task specification below and you are free to use whatever PHP libraries, frameworks etc. you consider as useful to implement it together with SQL database (preferably MySQL or SQLite). You shall provide us with a hosted git repository of your resulting work including a readme file to describe the required steps to deploy it locally.

Task

Implement a REST API that shall be used internally, so no authentication is needed. Format shall be JSON. No front­end or graphical interface is needed.

We need the following functionality/endpoints:

  • Add new customer (gender, first name, last name, country, email)
@LTroya
LTroya / readme.md
Created April 11, 2017 19:36 — forked from nasrulhazim/readme.md
Using Middleware to Check Account Activation and Resend Activation E-mail