Skip to content

Instantly share code, notes, and snippets.

View c10b10's full-sized avatar
🥗

Alex Ciobica c10b10

🥗
View GitHub Profile
#!/bin/sh
# Just copy and paste the lines below (all at once, it won't work line by line!)
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY!
function abort {
echo "$1"
exit 1
}
set -e
#!/usr/bin/env bash
set -e
function echo_color() {
# Some colors:
# 0-black, 1-red, 3-yellow, 76-green, 26 or 27-blue, 237-grey, 255-white
local background=''
local foreground=''
#!/usr/bin/env bash
set -e
function echo_color() {
# Some colors:
# 0-black, 1-red, 3-yellow, 76-green, 26 or 27-blue, 237-grey, 255-white
local background=''
local foreground=''