Skip to content

Instantly share code, notes, and snippets.

View GamerDude27's full-sized avatar
⌨️
Work in progress...

Ian Brun GamerDude27

⌨️
Work in progress...
View GitHub Profile
@JJL772
JJL772 / msvc-extensions.txt
Last active October 7, 2020 12:04
List of good ol MSVC-specific extensions... And some other stuff with VC/VC++
r-value to l-value binding.
template specialization in the class scope. (Normally this must be done at namespace scope, so not in a class!)
template specialization without the template<> keyword
function template partial specialization
explicit template specializations can have storage classes (e.g. explicit specialization on static function)
// SmoothDamp based head bob
// Not so good, yet
//
// 1. Turn off other head bobs
// 2. Put the script on the Character root
// 3. Assign the player's camera as 'Head'
// 4. Play, fiddle with values
//
// It requires Character Controller component to function
//
@romgerman
romgerman / ValveKeyValue.cpp
Last active October 5, 2023 13:20
Simple Valve Key Values parser in C++
#include "ValveKeyValue.h"
using namespace Parsers;
#include <exception>
#include <cctype>
ValveKeyValue::Token ValveKeyValue::LexNext()
{
bool readingValue = false;
@evanwill
evanwill / gitBash_windows.md
Last active April 26, 2024 03:58
how to add more utilities to git bash for windows, wget, make

How to add more to Git Bash on Windows

Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available.

The basic idea is that C:\Program Files\Git\mingw64\ is your / directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:\Users\name\AppData\Local\Programs\Git, the mingw64 in this directory is your root. Find it by using pwd -W). If you go to that directory, you will find the typical linux root folder structure (bin, etc, lib and so on).

If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corresponding directories. Sometimes the windows binary have funny prefixes, so

@digitaljhelms
digitaljhelms / gist:4287848
Last active April 26, 2024 10:44
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch