Developer / Father

How to run multiple npm scripts

Today I have to need to run the fake API at the same time my vue app runs, the API was using json-server. I don’t like to execute the command vue serve for spa and in json-server /db.json in the terminal and another option was use && but if tomorrow I should need start another […]

My Top 5 Vue Ecosystem plugins

If you have been working with Angular and React, each one of them has a lot of tools ready to help when you pick one of them to build solutions like angular material, ngx-translate, angularfire, ngxs, create-react-app, Styled Components, or redux. If you work with Vue, you need to solve the same problems and Vue […]

How to center elements using the box model

A common task for web development is center elements, we can center the elements horizontal and vertically. Center horizontal Center horizontally is so easy, our element needs to have a width size, if not our element will take all space possible. Set to 0 auto the margin, the element will take the same amount of […]

From Vue to Svelte Syntax

I’m building a small app with Svelte,  my last 2 years I was coding with Vue, so I found small differences with Vue,  let me explain a bit how is going my journey writing a Svelte component. The password-strength project was build using the default svelte template, it generates main.js and src/App. svelte files, I […]

How to use SCSS Sass in Svelte Components?

When I started with Svelte one surprise was the CLI was not too interactive and the default template doesn’t come with Sass support. Then for add sass support into .svelte components, we need to add a rollup package and do a few small changes. These changes I will do on my project “password-strength-sv”, from the […]

Hello Sveltejs

I’m using Vue for more than 2 years and a half, Vue is a great framework, but the world change and Svelte rise as a good contender to in the Javascript world. My friend @pchiwan did a small game with Sveltejs, I read his code and feel curiosity and a bit of motivation to start […]

Static Class and Extends methods in C#

The static keyword is very useful in c#  when we need to use class, method or property without creating an object instance is very common using a static class as a box or container for properties helpers or methods. For example, our boss said the employee object needs to be able to show the salary […]

Head start with Array, List and Diccionaries in .NET

The Array, Lists and Dictionaries are the most basic collections in .NET and everyone has his scenery to be used, I will explain a bit about each one, for the examples I created the class Team to show the examples. public class Team { public int Id { get; set; } public string Initials { […]

Install Git on Ubuntu

Git is the standard source control, to install Git from the terminal run. sudo apt install git Enjoy!

Albert the Spotlight for Linux

I’m back to use Linux as default desktop OS, I was using macOS for more than 5 years, but if I want the same workflow like macOS that means try to get a Spotlight then Albert comes to answer, it looks similar to Alfred or Spotlight with great and powerful features like a search engine, […]

Back to top