Skip to content

Instantly share code, notes, and snippets.

@cicanci
cicanci / main.cpp
Last active July 15, 2024 14:07
Hello World with SDL2
#include <SDL.h>
// Window size
#define WINDOW_WIDTH 640
#define WINDOW_HEIGHT 480
// Image size
#define IMAGE_WIDTH 256
#define IMAGE_HEIGHT 256
@cicanci
cicanci / .bash_profile
Last active March 5, 2020 11:53
.bash_profile
### bash-git-prompt
if [ -f "/usr/local/opt/bash-git-prompt/share/gitprompt.sh" ]; then
__GIT_PROMPT_DIR="/usr/local/opt/bash-git-prompt/share"
source "/usr/local/opt/bash-git-prompt/share/gitprompt.sh"
fi
### bash-completion
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
GIT_PS1_SHOWDIRTYSTATE=true