Birnendampf
Follow
A guy interested in Python, Bash and Java. Unix/FreeBSD based systems enthusiast
- Germany
-
11:53
(UTC +02:00) - https://linktr.ee/Pearsteam
- https://stackoverflow.com/users/20196684
Block or Report
Block or report Birnendampf
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
usefule tools for bash scripting
usefule tools for bash scripting 1#!/bin/bash
2# String formatters
3# RGB tool allows you to enter three values on a range from 0 to 5 for red, green, and blue, which will be converted to an ANSI control sequence.
4# For more info, see here: https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit
5rgb() { printf "\033[1;38;5;$(( 16 + 36 * $1 + 6 * $2 + $3 ))m"; }
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.