Skip to content

Instantly share code, notes, and snippets.

View nandofarias's full-sized avatar

Fernando Farias nandofarias

View GitHub Profile
@nandofarias
nandofarias / docker-cheat-sheat.md
Created November 18, 2021 14:04 — forked from andredurao/docker-cheat-sheat.md
Docker Cheat Sheet

Build docker image

$ cd /path/to/Dockerfile
$ sudo docker build .

View running processes

@nandofarias
nandofarias / README-Template.md
Created October 29, 2018 16:03 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@nandofarias
nandofarias / nodejs-custom-es6-errors.md
Last active October 19, 2017 16:05 — forked from slavafomin/nodejs-custom-es6-errors.md
Custom ES6 errors in Node.js

Here's how you could create custom error classes in Node.js using latest ES6 / ES2015 syntax.

I've tried to make it as lean and unobtrusive as possible.

Defining our own base class for errors

errors/AppError.js