Skip to content

Instantly share code, notes, and snippets.

View Neo-Desktop's full-sized avatar
🙃

Neo Neo-Desktop

🙃
  • San Diego, CA
View GitHub Profile
@Neo-Desktop
Neo-Desktop / .links
Last active December 1, 2022 15:36
Modern.ie Hyper-V (2012) Instances
@Neo-Desktop
Neo-Desktop / center_func.sh
Last active December 1, 2022 20:50
Bash function to vertically/horizontally center text
#!/bin/bash
##
# Horizontaly centers a line of text
#
# @method hcenter
# @param string $text - splat of text
#
##
function hcenter {
@Neo-Desktop
Neo-Desktop / 50-djgpp.conf.patch
Last active June 22, 2023 06:57
djgpp-gcc1220 watt32 errnos
diff --git a/Configurations/50-djgpp.conf b/Configurations/50-djgpp.conf
index fbe4911c42..6b374444e8 100644
--- a/Configurations/50-djgpp.conf
+++ b/Configurations/50-djgpp.conf
@@ -7,9 +7,9 @@ my %targets = (
inherit_from => [ "BASE_unix" ],
CC => "gcc",
CFLAGS => "-fomit-frame-pointer -O2 -Wall",
- cflags => "-I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN",
+ cflags => "-I$ENV{'WATT_ROOT'}/inc -DTERMIOS -DL_ENDIAN",
@Neo-Desktop
Neo-Desktop / 12.2.0-i386
Last active June 23, 2023 17:43
compiling djgpp on alpine linux for muslc
#!/usr/bin/env bash
unset CDPATH
source script/common-settings
# source tarball versions
BINUTILS_VERSION=230
DJCRX_VERSION=205
DJLSR_VERSION=205