Skip to content

Instantly share code, notes, and snippets.

View federicheddu's full-sized avatar
🦧

Federico Meloni federicheddu

🦧
View GitHub Profile
@RabaDabaDoba
RabaDabaDoba / ANSI-color-codes.h
Last active August 1, 2025 10:47 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes working in C!
/*
* This is free and unencumbered software released into the public domain.
*
* For more information, please refer to <https://unlicense.org>
*/
//Regular text
#define BLK "\e[0;30m"
#define RED "\e[0;31m"
#define GRN "\e[0;32m"
@RobinMalfait
RobinMalfait / colors.cpp
Created December 9, 2013 21:36
Linux and Mac awesome colors in command line!
#include <iterator>
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include <regex>
/**
* Use namespace std
*/