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
#!/bin/bash | |
zerr() { | |
zenity --error --text="$1" | |
} | |
command_exist() { | |
command -v "$1" > /dev/null | |
} |
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
/* | |
TO COMPILE : | |
HAVE SDL3 installed in /usr/local/lib | |
gcc -Wall myapp_sdl3.c -L /usr/local/lib/ -lSDL3 -o output | |
PUBLIC DOMAIN | |
*/ | |
#define SDL_MAIN_USE_CALLBACKS | |
#include <SDL3/SDL_main.h> |