Filtrar Option en Slick 3.0.1

Tras un cuarto de hora dándole vueltas a por qué no me Slick daba las opciones para filtrar una columna Option, escribiré un pequeño post sobre el tema. Situación inicial Mi problema parte de que tengo la siguiente definición de esquema. Nótese que para decirle a Slick que tiene que mapear bar como Option, lo hacía mediante […]

Can’t connect to database with play framework and Heroku?

Deploying a Play framework application to Heroku is really easy, normally you just set Heroku as a git remote branch and push the your code there. Simple. If your app has a database, you will have to configure it for the different environments, so that you don’t get that awful “Cannot connect to database” message. On Saturday I […]

Error can’t connect to database con play framework, Heroku y Slick

Hacer deploy de una aplicación en Heroku es verdaderamente fácil. Heroku funciona con git, con lo cual normalmente lo único que tendrás que hacer es apuntar una remote branch a tu repositorio de Heroku y hacer push de tu código allí. Simple. Lo único, si tu app tiene una base de datos, tendrás que configurarla para […]

Javascript doesn’t work in Internet Explorer

Have you ever got a weird bug in which your Javascript doesn’t work in Internet Explorer but do work in other browsers like Google Chrome or Firefox? Then you go to Internet Explorer, open the Developer Tools (F12), refresh the page and then suddenly everything works again? If this is your case, you may have Javascript code that […]

Get all Play Framework’s source files on your ScalaIDE

After testing and building pet projects in my free time with several technologies like MEAN JS (Mongo + Express + Angular + Node), Ruby on Rails and Play Framework I have decided to go serious with the last one, this time combined with Scala. When I am learning a framework or language, I really like […]

Trying to integrate Sightly with AngularJS in AEM6.

Hi all, today I was trying to use AngularJS with Sightly in AEM6. You may ask how did I come to this situation. Well, the point is that I need to develop a Filter component, that depending on the user’s input, filters some subcomponents to be loaded. My happy idea was to load have a […]

How to increase AEM’s recent requests number

The “Recent Requests” is a very useful feature on the OSGi Felix Console to know what going on at each request, how is Sling resolving the resources and that can help us a lot when something isn’t working properly. This feature is limited by default to show us the last 20 requests, this is obviously […]

How to install AEM 5.6.1 on an application server like Tomcat

  Many companies have already invested money on having their technological stack running on a concrete application server and/or they may want to profit from the benefits of an application server so. Although CQ comes already shipped as a standalone application that can be executed by itself, with it’s own servlet engine, you can also […]

Scala at work

Hi there! I have just written my two first classes and my first trait in Scala at work! It may sound a little bit weird, but I thought, hey, why not? So I wanted to celebrate it and share it with us 🙂 This means that Scala isn’t for me a free time thing anymore, […]

Single Responsibility Principle (SOLID)

Lets go with the SOLID series from Uncle Bob! Give me a S! Yes, you got it, today we start with the Single Responsibility Principle, what does it says to us? Lets first enunciate it: There should never be more than one reason for a class to change.   A reason to change, for the […]