If you live in the terminal, you should enjoy the experience

Image for post
Image for post

In this article you will learn:

  • How to show the current git branch.

What you’ll get:

How to use The pillars of functional programming with examples.

Image for post
Image for post
Image by Pexels from Pixabay

These three functions are part of the main operations on arrays in almost every programming language.

What you need to know before reading this article:

  • Some familiarity with ES6 syntax.
  • Know how to run javascript code using a REPL in Nodejs or the browser.

In this article you will learn:

A better understanding of these functions.

Check on complex cases to see their potential.

As a side note, this is not a reference manual to use all the arguments these functions have and it’s not an introduction on simple use cases. …

Image for post
Image for post

Learn how to write a RESTful API using Node.js and Express

In this article, you will learn to write a simple RESTful API using Node.js and Express.

This article will be useful if you are familiar with these concepts:

  • callbacks.
  • JSON format.

What we’ll cover:

1. Setting up the project.

2. Adding express.

3. Running the server.

4. Introducing middlewares.

This article does not cover the design of RESTful APIs. We’ll cover that in another article. The aim of this article is to introduce you to the Express web framework and show you how great is for creating RESTful APIs. …

Image for post
Image for post
Photo by Hello I’m Nik 🎞 on Unsplash

Learn how to write and format commits and use aliases to list them

To write good quality commit messages will save you from the wrath of the next maintainer of your project. Your future self will also be grateful when there is a bug and you’ll have to sail through all that history.

In this article you will learn:

  • How to write quality commit messages.
  • How to use a template to help you with that.
  • How to use Git Aliases.

Git message structure

Git messages are compound of two parts.

  • Body.

When you are committing using git commit the default editor opens and waits for you to write a commit message, if you are using Git for the first time it’s probably vi, check at the end of the article for a quick intro. The first line is the Header and after an empty line comes the Body of a commit. This separation is intentional so that you can use options like git log --oneline to list only the Headers of the commit messages. …

Image for post
Image for post

git — the stupid content tracker

Git has a lot to offer, sometimes is overwhelming, for that reason it’s good to have a practical approach and explanations along the way to grasp the essentials of this magnificent tool.

This is the first part of a series of articles to introduce you to Git and then to level up your working development workflow using git.


  • Git workflow.
  • Hands-on Git.

Git history (brief)

git — the stupid content tracker

man page

The problem

A software is a piece of code that grows, in every new feature added a tag is placed in it and you get new versions. Eventually, the owner needs to share that code and allow contributions from other people to make that software better (or worst…). How to achieve this? for the first part, the answer is: Version Control System (VCS) to track the changes. …

Improve your experience in the terminal by creating your own command-line interface.

Image for post
Image for post
Photo by Sai Kiran Anagani on Unsplash

I just want to execute my own command in a terminal. — you.

Have you ever just wanted to have a handy command to execute your script in your terminal? In this article, I’ll teach you how you can do just that using an executable bash script.

Note: For Linux Users.

We’ll cover:

  • How to make it executable.
  • Learn about the PATH environmental variable.
  • Add it to the PATH to execute our script as a command on the terminal.
  • Doing something more interesting in our script using curl and jq to create a currency converter CLI. …



Software Engineer, pianist, dreamer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store