This file contains 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
Path for this is: | |
HOME/AppData.Local/nvim/init.lua | |
HOME/AppData.Local/nvim/lua/twright/[all other files] |
This file contains 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
emcc -I..\lib\sokol -I..\lib\stb ..\src\exp\simple_wasm_texture.c -DSOKOL_NO_ENTRY -sALLOW_MEMORY_GROWTH -o simple_wasm_texture.html |
This file contains 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
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/') |
This file contains 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
* 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 |
This file contains 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
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/') |
This file contains 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
@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 |
This file contains 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
#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; |
This file contains 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
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 |
This file contains 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
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') |
This file contains 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
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 ~ |
NewerOlder