Month: February 2018

Nos vemos pronto mi preciosa, nos vemos pronto mi amor

Hoy es 23 de Febrero del 2018, estás a dos días de cumplir un año más de vida, agradezco al universo por ponerte en mi camino, este va a ser de los pocos artículos que escribiré en español en este lugar, mientras me sea permitido tener uso de razón. He querido dedicarte estas palabras en […]

Read More

How to Install Node.js on CentOS 7

The Problem Today, I was testing the new Angular 4 Scripting Application sample provided by IBM as a starting point for creating Script Portlet based Apps. However, my development environment is a CentOS 7 computer, and I usually don’t work with Node.js in that computer, so here the simple steps to install Node.js in a […]

Read More

Enable CORS in a Node.js Application

The Problem So… you are creating an awesome Single Page Application with your favorite front-end framework (Vue.js, Angular, etc…) you need to connect your app with an external service; you have selected a JavaScript library to make the AJAX calls (like Axios), everything seem to be perfect, you create your method to get the remote […]

Read More

How to set moment.js timezone when creating a date

The Problem Since Moment.js is a library that runs client-side, when you create a new date using it; the constructor will take the current user’s timezone. This is not convenient when you want to display a list of dates that don’t depend on the user’s browser. Let’s see an example of this, imagine you have […]

Read More

Wherever you are, please act as a Professional Senior

Disclaimer: this is my personal opinion, this is just my perspective, that doesn’t mean I have the answers or what I am about to say is the rule. In the Web Development and IT companies world, we are always looking for talented people to join our lines; however, it is always difficult to find professionals […]

Read More

How to use the Plugin Otherwise in IBM WCM 8 and 9

The challenge Imagine you want to run a kind of conditional if with a fallback (else) for example: you would like to have some custom HTML markup when there is no description set on a piece of content. Let’s see following pseudocode: IF is_There_A_Description(current_Content) DISPLAY description ELSE DISPLAY a default text So, how could we emulate this […]

Read More