Skip to content

Instantly share code, notes, and snippets.

@Frizi
Frizi / git-show-staged.sh
Created June 28, 2020 20:00
Git pre-commit hook to prevent checking in "nocheckin" or other specified strings.
#!/bin/sh
exec git show ":$1"
@vaualbus
vaualbus / .cpp
Created September 9, 2018 16:17
This file replace the msvc CRT and allow you to init static variables and TLS
#if _CRT_DISABLE
extern "C" int _fltused = 0x9875;
#define WIN32_LEAN_AND_MEAN
#include <stdint.h>
#include <limits.h>
#include <windows.h>
//#include <Windows.h>