Skip to content

Instantly share code, notes, and snippets.

@ZenToad
ZenToad / README.txt
Last active May 1, 2024 16:32
Lazy.nvim config files 2024
Path for this is:
HOME/AppData.Local/nvim/init.lua
HOME/AppData.Local/nvim/lua/twright/[all other files]
@ZenToad
ZenToad / build.bat
Created June 26, 2023 20:18
example of the issue I'm having with displaying textures
emcc -I..\lib\sokol -I..\lib\stb ..\src\exp\simple_wasm_texture.c -DSOKOL_NO_ENTRY -sALLOW_MEMORY_GROWTH -o simple_wasm_texture.html
@ZenToad
ZenToad / vimrc
Created October 20, 2021 14:01
vimrc Oct 2021
set encoding=utf-8
""""""""""""""""""""""""""""""""""""""""""
" Vundle Plugin
""""""""""""""""""""""""""""""""""""""""""
" set the runtime path to include Vundle and initialize
set rtp+=$HOME/vimfiles/bundle/Vundle.vim/
call vundle#begin('$HOME/vimfiles/bundle/')
@ZenToad
ZenToad / readme.txt
Created September 27, 2021 16:20
cmder/git project setup
* create startup.bat
@ECHO OFF
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
Put that script somewhere.
* Create the cmder task
cmd /k ""%ConEmuDir%\..\init.bat" & E:\zen-toad-games\startup.bat " -new_console:d:E:\pilotier
@ZenToad
ZenToad / _vimrc
Created January 23, 2021 17:44
vimrc Windows JAN 2021
set encoding=utf-8
""""""""""""""""""""""""""""""""""""""""""
" Vundle Plugin
""""""""""""""""""""""""""""""""""""""""""
" set the runtime path to include Vundle and initialize
set rtp+=$HOME/vimfiles/bundle/Vundle.vim/
call vundle#begin('$HOME/vimfiles/bundle/')
@ZenToad
ZenToad / build.bat
Created November 8, 2019 14:05
build and test batch files
@echo off
setlocal enableextensions enabledelayedexpansion
set target=stretch_buffer_test
set target_c=%target%
set target_exe=%target%
set compiler=cl
set configuration=debug
set target_src=..\src\async.c
set target_include=-I..\include
@ZenToad
ZenToad / zen_alloc.c
Last active November 8, 2019 14:02
zen_alloc.h
#include "zen_alloc.h"
#include <stdlib.h>
#include <assert.h>
zen_allocator_i *zen_allocator_default;
typedef struct zen_alloc_default_t {
zen_allocator_i base;
uint32_t total_memory;
} zen_alloc_default_t;
@ZenToad
ZenToad / .vimrc
Created November 27, 2018 17:31
2018 .vimrc RHEL7
silent !stty -ixon > /dev/null 2>/dev/null
" Here is the Vundle stuff
set nocompatible " be iMproved, required
filetype off " required
set path+=**
set wildmenu
let mapleader=","
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
@ZenToad
ZenToad / .vimrc
Created September 24, 2018 20:59
My `.vimrc` file
set nocompatible " required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
@ZenToad
ZenToad / gist:be821aed213a14e0bc352fa5f13769ab
Last active June 20, 2018 18:05
Install Vim 8 with Python, Python 3, Ruby and Lua support on Ubuntu 16.04
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev gnome-devel canberra-gtk-module
#Optional: so vim can be uninstalled again via `dpkg -r vim`
sudo apt-get install checkinstall
sudo rm -rf /usr/local/share/vim /usr/bin/vim
cd ~