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

https://www.pexels.com/photo/blur-bright-business-codes-207580/

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 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…


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…


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…


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.

Content.

  • 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…


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

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…

Sam

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