Setup the server:
iperf -s
| ///$(which true);FLAGS="-g -Wall -Wextra --std=c17 -O1 -fsanitize=address,undefined";THIS_FILE="$(cd "$(dirname "$0")"; pwd -P)/$(basename "$0")";OUT_FILE="/tmp/build-cache/$THIS_FILE";mkdir -p "$(dirname "$OUT_FILE")";test "$THIS_FILE" -ot "$OUT_FILE" || $(which clang || which gcc) $FLAGS "$THIS_FILE" -o "$OUT_FILE" || exit $?;exec bash -c "exec -a \"$0\" \"$OUT_FILE\" $([ $# -eq 0 ] || printf ' "%s"' "$@")" | |
| #include <stdio.h> | |
| int main() { | |
| printf("Hello world!\n"); | |
| return 0; | |
| } |
| //Dr. Seuss once wrote, "IF." He meant, "If you give a fuck, maybe, | |
| //JUST MAYBE, you can change this shitty world in some small way for | |
| //the better." I might've been an writer of children's books someday, | |
| //but instead, I decided to make this. So in lieu of The Lorax, | |
| //let's call this The Dragon, and have my word be, "DON'T." As in, | |
| //"Don't do something stupid like this the way I did, you jackass." | |
| //But the truth is humans are very stubborn creatures. You probably | |
| //won't listen to my advice and, chances are, neither will I. | |
| varying vec2 vUv; | |
| uniform sampler2D tDiffuse; | |
| uniform sampler2D tColorLUT; | |
| uniform vec2 resolution; | |
| #pragma glslify: blendOverlay = require(./glsl-blend-overlay) | |
| #pragma glslify: displace = require(./glsl-displace) | |
| #pragma glslify: srcOver = require(./glsl-src-over) | |
| #pragma glslify: colorCorrect = require(glsl-lut/flipY) |
| ; /usr/local/bin/nasm -f macho 32.asm && ld -macosx_version_min 10.7.0 -o 32 32.o && ./32 | |
| global start | |
| section .text | |
| start: | |
| push dword msg.len | |
| push dword msg | |
| push dword 1 | |
| mov eax, 4 |