Skip to content

Instantly share code, notes, and snippets.

View bernhardmgruber's full-sized avatar

Bernhard Manfred Gruber bernhardmgruber

View GitHub Profile
@ax3l
ax3l / CUDA_Compilers.md
Last active July 12, 2024 15:15
CUDA Compilers
@Barakat
Barakat / DebugMessageCallback.cpp
Created July 10, 2016 06:00
An implementation of glDebugMessageCallbackARB callback
#include <gl/glew.h>
#include <string>
void GLAPIENTRY DebugMessageCallback(GLenum source,
GLenum type,
GLuint id,
GLenum severity,
GLsizei length,
const GLchar* message,
const void* userParam)
@mbinna
mbinna / effective_modern_cmake.md
Last active July 20, 2024 22:17
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft

@zsoumya
zsoumya / bc4trialreset.cmd
Created July 12, 2019 21:25
Beyond Compare 4 Trial Reset
reg delete "HKCU\Software\Scooter Software\Beyond Compare 4" /v CacheID /f