Skip to content

Instantly share code, notes, and snippets.

View nclettiere's full-sized avatar
🐦
RedEngine

Nicolas C. Lettiere nclettiere

🐦
RedEngine
View GitHub Profile
@Egor-Skriptunoff
Egor-Skriptunoff / how_to_install_lua_and_luajit_on_windows.md
Last active March 6, 2026 15:05
How to install Lua and LuaJIT on Windows

How to install Lua and LuaJIT on 64-bit Windows

  1. Download the latest Lua and LuaJIT sources

    • Create temporary folder for Lua sources.
      I assume you would use C:\Temp\ folder.

    • Visit Lua FTP webpage and download the latest Lua source archive, currently it is lua-5.4.3.tar.gz

  • Use suitable software (7-Zip, WinRar, WinZip or TotalCommander) to unpack the archive.
@sorashi
sorashi / _readme.md
Last active December 26, 2023 05:01
Windows registry edit that adds Windows command-line (cmd), Powershell and optionally GIT Bash to directory context menu

Registry edit that allows you to add Windows command-line, Powershell and/or GIT Bash to explorer context menu. source

@ArnCarveris
ArnCarveris / hierarchy.hpp
Last active September 30, 2024 07:53
EnTT Hierarchy
#pragma once
#include <entt/entity/registry.hpp>
namespace entt
{
/*! @brief TODO */
template<typename Entity>
class Hierarchy final {
using traits_type = entt_traits<Entity>;
@chakmeshma
chakmeshma / main.cpp
Created October 30, 2017 07:38
Vulkan Basic Startup C++
//Mit dem Angriff Steiners wird alles in Ordnung sein!
#include <vulkan\vulkan.h>
#include <iostream>
#include <string>
#include <vector>
#pragma comment(lib, "vulkan-1.lib")
std::string getVersionString(uint32_t versionBitmask) {
@0xjac
0xjac / private_fork.md
Last active March 14, 2026 19:57
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@hieupm37
hieupm37 / windows_show_hide_taskbar_icon.cc
Created October 17, 2016 07:05
Windows Show/Hide Taskbar Icon
#include <windows.h>
#include <shobjidl.h>
const GUID CLSID_TaskbarList = {0x56FDF344, 0xFD6D, 0x11D0, {0x95, 0x8A, 0x00, 0x60, 0x97, 0xC9, 0xA0, 0x90}};
const GUID IID_ITaskbarList = {0x56FDF342, 0xFD6D, 0x11D0, {0x95, 0x8A, 0x00, 0x60, 0x97, 0xC9, 0xA0, 0x90}};
const GUID IID_ITaskbarList2 = {0x602D4995, 0xB13A, 0x429b, {0xA6, 0x6E, 0x19, 0x35, 0xE4, 0x4F, 0x43, 0x17}};
const GUID IID_ITaskList3 = {0xEA1AFB91, 0x9E28, 0x4B86, {0x90, 0xE9, 0x9E, 0x9F, 0x8A, 0x5E, 0xEF, 0xAF}};
void ShowTaskbarIcon(HWND WindowHandle)
{
ITaskbarList* TaskListPtr;
CoInitialize(nullptr);
@galloscript
galloscript / imgui_color_gradient.cpp
Last active March 5, 2026 15:54
Gradient color generator and editor for ImGui
//
// imgui_color_gradient.cpp
// imgui extension
//
// Created by David Gallardo on 11/06/16.
#include "imgui_color_gradient.h"
#include "imgui_internal.h"
@graphitemaster
graphitemaster / T0.md
Last active July 26, 2025 12:53
Vulkan Tutorial

Tutorial 0

What is Vulkan

Vulkan is a low-overhead, cross-platform 3D graphics and compute API.

Vulkan targets

Vulkan targets high-performance realtime 3D graphics applications such as games and interactive media across multiple platforms providing higher performance and lower CPU usage.

@bkaradzic
bkaradzic / orthodoxc++.md
Last active February 25, 2026 12:28
Orthodox C++

Orthodox C++

This article has been updated and is available here.

@pensono
pensono / skia_build.x64.bat
Last active November 28, 2022 04:01
build skia library on windows 64 bit
set PATH=T:\depot_tools;%PATH%
set GYP_GENERATORS=ninja
pushd skia && ^
cmd /C python gyp_skia ^
-Dskia_angle=1 ^
-Dskia_arch_type=x86_64 ^
-Dskia_warnings_as_errors=0 && ^
ninja -C out\Release_64 SampleApp && ^
popd