This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// defer.h | |
// [email protected] | |
// © 2025 Crash Override, Inc. | |
// Licensed under the BSD 3-Clause license | |
#pragma once | |
#include <stdint.h> | |
typedef struct n00b_defer_ll_t n00b_defer_ll_t; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function color { | |
case $1 in | |
black) CODE=0 ;; | |
red) CODE=1 ;; RED) CODE=9 ;; | |
green) CODE=2 ;; GREEN) CODE=10 ;; | |
yellow) CODE=3 ;; YELLOW) CODE=11 ;; | |
blue) CODE=4 ;; BLUE) CODE=12 ;; | |
magenta) CODE=5 ;; MAGENTA) CODE=13 ;; | |
cyan) CODE=6 ;; CYAN) CODE=14 ;; | |
white) CODE=7 ;; WHITE) CODE=15 ;; |