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
BasedOnStyle: LLVM | |
IndentWidth: 8 | |
TabWidth: 8 | |
ContinuationIndentWidth: 16 | |
#UseTab: Always #Don't use w/ AlignConsecutiveAssignments/Declarations | |
#This option allows spaces for alignment, which works visually in VS and other editors | |
UseTab: ForContinuationAndIndentation | |
BreakBeforeBraces: Linux |
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
struct id_item { | |
char *id; | |
void *data; | |
}; | |
void id_item_init(struct id_item* item) | |
{ | |
item->id = NULL; | |
item->data = NULL; | |
} |
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
uniform float4x4 ViewProj; | |
uniform texture2d image; | |
uniform float elapsed_time; | |
uniform float2 uv_offset; | |
uniform float2 uv_scale; | |
uniform float2 uv_pixel_interval; | |
sampler_state textureSampler { | |
Filter = Linear; |
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
duniform float4x4 ViewProj; | |
uniform texture2d image; | |
uniform float elapsed_time; | |
uniform float2 uv_offset; | |
uniform float2 uv_scale; | |
uniform float2 uv_pixel_interval; | |
sampler_state textureSampler { | |
Filter = Linear; |
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
#!/user/bin/python | |
import re, sys, getopt, os | |
def main(argv): | |
inputfile = '' | |
outputfile= '' | |
try: | |
opts, args = getopt.getopt(argv, "hi:o",["ifile=","ofile="]) | |
except getopt.GetoptError: |
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
uniform float4x4 ViewProj; | |
uniform texture2d image; | |
uniform float elapsed_time; | |
uniform float2 uv_offset; | |
uniform float2 uv_scale; | |
uniform float2 uv_pixel_interval; | |
sampler_state textureSampler { | |
Filter = Linear; |
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
#pragma once | |
//requires c++17 | |
//see: https://github.com/hanickadot/compile-time-regular-expressions/blob/master/single-header/ctre.hpp | |
//specifically: https://github.com/hanickadot/compile-time-regular-expressions/blob/96de8f7a519b61abd4ef53ec37cd89565880aa50/single-header/ctre.hpp | |
#include <string_view> | |
#include "ctre.hpp" | |
namespace regex::analyzer { | |
//issues w/o unicode (regex fails to compile), these are the (?: .. etc patterns that change how a group capture functions |
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 <iostream> | |
#include <string> | |
#include <algorithm> | |
#include <deque> | |
#include <vector> | |
#include <array> | |
#include <set> | |
#include <thread> | |
#include <future> | |
#include <execution> |
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
#pragma once | |
#include <memory> | |
#include <functional> | |
#include <vector> | |
#include <string> | |
#include <compare> | |
#include <array> | |
#include <type_traits> | |
#include <intrin.h> | |
#include <immintrin.h> |
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
#pragma once | |
#if __has_include(<span>) | |
#include <span> | |
#else | |
#include "span.hpp" | |
namespace std { | |
using tcb::span; | |
} | |
#endif |