Skip to content

Instantly share code, notes, and snippets.

View KevinW1998's full-sized avatar

Kevin Waldock KevinW1998

View GitHub Profile
@1fexd
1fexd / id_austria_root_patch.md
Last active May 12, 2025 07:13
ID Austria / Digitales Amt mit Root und/oder entsperrtem Bootloader
@TheCherno
TheCherno / Instrumentor.h
Last active November 2, 2025 20:14
Basic Instrumentation Profiler
//
// Basic instrumentation profiler by Cherno
// Usage: include this header file somewhere in your code (eg. precompiled header), and then use like:
//
// Instrumentor::Get().BeginSession("Session Name"); // Begin session
// {
// InstrumentationTimer timer("Profiled Scope Name"); // Place code like this in scopes you'd like to include in profiling
// // Code
// }
@MattPD
MattPD / cpp.std.coroutines.draft.md
Last active July 16, 2025 09:11
C++ links: Coroutines (WIP draft)
anonymous
anonymous / config.json
Created May 17, 2016 16:21
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
@davidfowl
davidfowl / Example1.cs
Last active September 2, 2024 12:36
How .NET Standard relates to .NET Platforms
namespace Analogy
{
/// <summary>
/// This example shows that a library that needs access to target .NET Standard 1.3
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library.
/// </summary>INetCoreApp10
class Example1
{
public void Net45Application(INetFramework45 platform)
  • 🎨 when improving the format/structure of the code
  • πŸš€ when improving performance
  • ✏️ when writing docs
  • πŸ’‘ new idea
  • 🚧 work in progress
  • βž• when adding feature
  • βž– when removing feature
  • πŸ”ˆ when adding logging
  • πŸ”‡ when reducing logging
  • πŸ› when fixing a bug
@vittorioromeo
vittorioromeo / FastFunc.hpp
Last active August 24, 2023 08:15
Don Clugston's fast delegate C++11 implementation
#ifndef SSVU_FASTFUNC
#define SSVU_FASTFUNC
#include <cstring>
#include <type_traits>
#include <cassert>
#include <cstddef>
#include <memory>
#include <new>
#include <utility>