View ts-fuck.d.ts
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
// TSF*** | |
type IncrementPointer = '>' | |
type DecrementPointer = '<' | |
type IncrementByte = '+' | |
type DecrementByte = '-' | |
type Output = '.' | |
type Input = ',' | |
type LoopOpen = '[' | |
type LoopClose = ']' |
View glsl-canvas.d.ts
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
declare module 'glslCanvas' { | |
export type DefaultUniforms = 'u_mouse' | 'u_resolution' | 'u_time' | 'u_tex' | |
export interface TestResult { | |
wasValid: boolean | |
frag?: string | |
vert?: string | |
timeElapsedMs: number | |
} |
View signal_diagram.tex
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
\begin{tikzpicture} | |
\newcounter{xi} | |
\addtocounter{xi}{1}; | |
\foreach \x in {10,20,...,200}{ | |
\ifodd\value{xi} | |
{}\else{\node[anchor=north,x=1cm/1.5] at (\value{xi},0pt) {$\x$};}\fi | |
\addtocounter{xi}{1}; | |
} | |
\draw (0,0) -- (0,12); |
View kvdiagram.tex
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
\usepackage{tikz} | |
\usepackage{calc} | |
%%% KV Table Macro | |
%%% USAGE: | |
%%% \kvtable{/*function name; e.g. f(x)*/} | |
%%% {{ 0}{ 1}{ 5}{ 4}} | |
%%% {{ 2}{ 3}{ 7}{ 6}} | |
%%% {{10}{11}{15}{14}} | |
%%% {{ 8}{ 9}{13}{12}} |
View CSGO_CrosshairOptionsParser.ts
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
enum CrosshairStyle { | |
// DEFAULT = 1, // unsupported | |
DYNAMIC_MOV_SHOT_1 = 2, // pretty much all the same | |
DYNAMIC_MOV_SHOT_2 = 3, | |
FULL_STATIC = 4, | |
SEMI_STATIC = 5 | |
} | |
/** | |
* Does not support the new Style CS Crosshair, no one uses it anyways |
View stepped_axis.py
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
# Inspired/Adapted from original WhiteMagic | |
# https://gist.github.com/WhiteMagic/ff636574b45a12480fd0bd6f1a92740e | |
import time | |
import gremlin | |
from gremlin.user_plugin import * | |
mode = ModeVariable("Mode", "The mode in which to use this mapping") | |
axis = PhysicalInputVariable( |