Skip to content

Instantly share code, notes, and snippets.

View cchulo's full-sized avatar
🐚
living in the shell

Carlos Chulo cchulo

🐚
living in the shell
  • San Diego, CA
View GitHub Profile
bool OpenGL_Mesh::Initialize()
{
_vao = 0;
_vbo = 0;
_nvbo = 0;
_uvbo = 0;
_ebo = 0;
glGenVertexArrays(1, &_vao);
@cchulo
cchulo / gist:7823f20f9e8aa008092578edd8f9f971
Created June 28, 2024 03:44
/etc/systemd/system/var-mnt-data.mount
[Unit]
Description=Mount data at boot
[Mount]
What=woz-01.leyline.local:/mnt/data
Where=/var/mnt/data
Options=vers=4
Type=nfs
TimeoutSec=30
ForceUnmount=true
@cchulo
cchulo / install.sh
Created November 6, 2023 01:43
self installer for non-steam games
#!/usr/bin/env bash
script_name=$0
script_full_path="$(cd "$(dirname "$0")" && pwd)"
dirname=$(basename "${script_full_path}")
target="${HOME}/Games"
echo "installing ${script_full_path} to ${target}"
rsync \
@cchulo
cchulo / bioshock-workaround.sh
Created September 27, 2022 09:13
Bioshock launcher workaround
# Credit: https://www.reddit.com/r/linux_gaming/comments/x4wk6w/comment/imxvs6u/?utm_source=share&utm_medium=web2x&context=3
# Bioshock
bash -c 'exec "${@/2KLauncher\/LauncherPatcher.exe/Build\/Final\/BioshockHD.exe}"' -- %command% -nointro
# Bioshock 2
bash -c 'exec "${@/2KLauncher\/LauncherPatcher.exe/Build\/Final\/Bioshock2HD.exe}"' -- %command% -nointro