Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
DEBUG:globset: glob converted to regex: Glob { glob: "**/*.{h,cs,c}", re: "(?-u)^(?:/?|.*/).*\\.c|cs|h$", opts: GlobOptions { case_insensitive: false, literal_separator: false }, tokens: Tokens([RecursivePrefix, ZeroOrMore, Literal('.'), Alternates([Tokens([Literal('c')]), Tokens([Literal('c'), Literal('s')]), Tokens([Literal('h')])])]) }
DEBUG:globset: built glob set; 0 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 1 regexes
DEBUG:grep::search: regex ast:
AnyCharNoNL
DEBUG:ignore::walk: ignoring .\.knownPackages: Ignore(IgnoreMatch(Override(Glob(UnmatchedIgnore))))
DEBUG:ignore::walk: ignoring .\AVD Manager.exe: Ignore(IgnoreMatch(Override(Glob(UnmatchedIgnore))))
DEBUG:ignore::walk: ignoring .\SDK Manager.exe: Ignore(IgnoreMatch(Override(Glob(UnmatchedIgnore))))
DEBUG:ignore::walk: ignoring .\platform-tools\adb.exe: Ignore(IgnoreMatch(Override(Glob(UnmatchedIgnore))))
DEBUG:ignore::walk: ignoring .\platform-tools\AdbWinApi.dll: Ignore(IgnoreMatch(Override(Glob(Unmatched
///// STRUCT ENUM /////
/* Usage:
struct V
{
char const* sVal;
int iVal;
};
@n00bmind
n00bmind / cached_vc_vars.cmd
Created November 17, 2022 19:55
Find vcvars64.bat script and execute it, then cache the results in an .env file that can be immediately imported next time
@echo off
set CACHED_ENV=W:\env\cached_vcvars.env
set PRE_ENV="%TEMP%\pre.env"
set POST_ENV="%TEMP%\post.env"
:: Look for a cached env
if exist %CACHED_ENV% (
echo Applying previously cached env in '%CACHED_ENV%'..
echo (just delete that file if you want to recreate it, ***for example if the system's %%PATH%% must be updated***^)
@n00bmind
n00bmind / first.jai
Created December 24, 2022 16:33
Jai OpenGL setup
#import "Basic";
#scope_file
#import "String";
#import "System";
#import "Window_Creation";
#import "Input";
#import "Windows";
#import "GL"; //( DUMP_GL_ERRORS = true );