This file contains hidden or 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
// Stritch swap v2 | |
// Live demo https://godbolt.org/z/gXEqjX | |
#include <iostream> | |
#include <type_traits> | |
#include <tuple> | |
#include <new> | |
template <typename T> | |
concept Trivial = std::is_trivial_v<T>; |
This file contains hidden or 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-option -sa terminal-overrides ',xterm*:Tc' | |
set -g mouse on | |
set -g mode-keys vi | |
unbind C-b | |
set -g prefix C-Space | |
bind C-Space send-prefix |
This file contains hidden or 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
" Use Vim settings rather than Vi settings | |
set nocompatible | |
" Include the system settings | |
if filereadable("/etc/vimrc") | |
source /etc/vimrc | |
endif | |
" Setup plug.vim | |
if !filereadable($HOME . "/.vim/autoload/plug.vim") |
This file contains hidden or 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
#!/usr/bin/env bash | |
cmake -S . -B build -G "Unix Makefiles" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON "$@" && ln -frs build/compile_commands.json . |
This file contains hidden or 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
fps_max 144 | |
mat_picmip -10 | |
fov_desired 90 | |
viewmodel_fov 70 | |
tf_use_min_viewmodels 1 | |
cl_interp 0.0325 | |
cl_interp_ratio 1 | |
rate 97000 | |
cl_updaterate 66 | |
cl_cmdrate 66 |