Grape API Skeleton

I’ve published a very simple and lightweight Rack-based Grape API skeleton with Swagger autodocs that can be used as an starting point for a SOA-friendly approach architecture.
It can bring a base restful API in 1 minute with autodocs out of the box. I hope it’s useful to someone.

You can see the code here and the Heroku-hosted demo here.

And this is a brief list of sample endpoints.


Stop Bombing Gaza



Update: Following Dani’s advice in the comments, viagra I’m updating the post to claim the same thing but the other way around. But in oder to keep priorities fair, I just made a very simple proportional banner size attending to the current number of deaths in the last month of conflict. Fair as Maths.

Given 1875 deaths in Palestina per 67 in Israel, if Gaza’s banner is 650px I estimated Israel one should be 23px. So here it is.


A Tic-Tac-Toe game for iPhone

New year, sick new projects. So I’ve recently started to learn Objetive-c, which mostly means iOS development.
As an starting point, a multiplayer game seems a nice exercise since it involves several aspects that almost every single App might involve:

  • Network requests. Restful JSON ones, in this case.
  • Views handling. Just two or three, enough to learn basics.
  • Images manipulating. Rounding, cropping, and overlapping. Just to make it a bit nicer.
  • GameKit (Game Center) integration. Authentication and friends challenging.

Also, since iOS7 skin reboot made interfaces extremely pretty plain and simple, I’ve tried to be my own designer for this exercise.

So far this is an sneak peek of my work.

Tic-Tac-Toe App - Gameboard - Game over

Tic-Tac-Toe App – Gameboard – Game over

Tic-Tac-Toe App - Gameboard - Game playing

Tic-Tac-Toe App – Gameboard – Game playing

Tic-Tac-Toe App - Gamelist

Tic-Tac-Toe App – Gamelist