Skip to content

Instantly share code, notes, and snippets.

@sgalland
sgalland / infinity-installer.yaml
Last active June 27, 2024 07:17
SWG Infinity Lutris Installer
name: SWG Infinity
version: Installer
game_slug: swg-infinity
slug: swg-infinity
runner: wine
script:
game:
arch: win32
# This path will need to be updated to your home folder inside Lutris (I assume its your Linux username)
@sgalland
sgalland / neovim-alacritty-config.txt
Last active April 21, 2022 23:19
Alacritty / Neovim / MSYS2 on Windows
### Use Neovim and the GCC toolchain on Windows
1. Install MSYS2
a. Open the console and update MSYS2 and install a 64bit toolchain
* pacman -Syu
* pacman -Su
* pacman -S --needed base-devel mingw-w64-x86_64-toolchain
* Edit the .bash_profile and add these lines (your path might vary):
* ```sh
alias tmux='script -c "tmux -u" /dev/null'
export PATH=$PATH:/c/users/s_gal/onedrive/documents/apps/neovim/bin:/c/msys64/mingw64/bin
@sgalland
sgalland / array.h
Last active October 23, 2021 20:30
C - Dynamic Array
#pragma once
#include <assert.h>
#include <stdlib.h>
/* ARRAY_LIST(typename, type)
* @Description Macro to dynamically declare a structure based on a type
* with a specified name with supporting functions for inserting,
* freeing, and resizing.
*