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
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
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
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
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
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
While in development of any Node.js application we usually configure a npm start task to run it; but when you are ready to go to production that concept is not
Functional Programming? Oh yeah, that is one of the most interesting paradigms in computer sciences that is being used since a long time ago, however in the last years it
This is just a simple way to delete files recursively using your terminal in any UNIX-like operating system: [crayon-6077aacf9d055424699116/] Explanation -name “FILES_PATTERN” : File pattern. -exec rm -rf {} \;
This is pretty simple way to check if any user has a session started or not; this is useful in cases where you want to display or execute an specific code
These are just the steps to update Node.js by using your terminal: [crayon-6077aacf9d396719722583/] The n package represents a Node helper, and running this command upgrades node to the latest stable