Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
###############
# setup-node.sh
#
# Based on Long Le's original script
#
# Purpose: install package dependencies for libramcast, set up system config
###############
@paulo-coelho
paulo-coelho / color_log.c
Created October 22, 2016 10:34
log with levels and color
#include <stdio.h>
#define ANSI_COLOR_RED "\x1b[31m"
#define ANSI_COLOR_GREEN "\x1b[32m"
#define ANSI_COLOR_YELLOW "\x1b[33m"
#define ANSI_COLOR_BLUE "\x1b[34m"
#define ANSI_COLOR_MAGENTA "\x1b[35m"
#define ANSI_COLOR_CYAN "\x1b[36m"
#define ANSI_COLOR_RESET "\x1b[0m"

Keybase proof

I hereby claim:

  • I am paulo-coelho on github.
  • I am paulocoelho (https://keybase.io/paulocoelho) on keybase.
  • I have a public key whose fingerprint is 258A 9349 D9F8 A1EA 0AC7 05EE 6746 8401 CE34 1D36

To claim this, I am signing this object: