Skip to content

Instantly share code, notes, and snippets.

View grenappels's full-sized avatar
🐶
puppy dad

Kyle Appelgate grenappels

🐶
puppy dad
View GitHub Profile
@JustinGrote
JustinGrote / Install-PSReadlineAutocompleteBeta.ps1
Last active May 24, 2023 05:56
Install the PSReadline Autocomplete Beta
#requires -version 5
<#
.EXAMPLE
pwsh.exe -noni -nop -c "iwr -useb https://git.io/InstallPSReadlineAutocompleteBeta.ps1 | iex"
#>
param (
#Path to Install the Module. Will default to the user module folder
$ModuleInstallPath,
$TempZipPath = [io.path]::ChangeExtension([io.path]::GetTempFileName(), '.zip'),
#Change this if your vscode isn't installed in a typical location
@mortennobel
mortennobel / GLError.cpp
Last active September 27, 2018 07:14
Simple error check of open gl (write readable error description to cerr stream including file name and line number)
#include "GLError.h"
#include <iostream>
#include <string>
#ifdef WIN32
# include <GL/glew.h>
#elif __APPLE__
# include <OpenGL/gl3.h>
#else
# include <GL3/gl3.h>