Skip to content

Instantly share code, notes, and snippets.

@Trass3r
Trass3r / CMakeLists.txt
Created March 1, 2020 19:16
template for OpenGL with CMake, Conan, glad and glfw
cmake_minimum_required(VERSION 3.16)
set(CMAKE_CONFIGURATION_TYPES Debug Release CACHE STRING "" FORCE)
set(CMAKE_BUILD_TYPE Debug CACHE STRING "")
project(cppgl)
set(CMAKE_CXX_STANDARD 20)
if (NOT EXISTS "${CMAKE_BINARY_DIR}/conan.cmake")
@matthewholliday
matthewholliday / sys_exit.asm
Last active December 5, 2023 15:40
ASSEMBLY SYS_EXIT
section .data
section .text
global _start
exit:
mov ebx, 0 ; return 0 status on exit - 'No Errors'
mov eax, 1 ; invoke SYS_EXIT (kernel opcode 1)
int 80h
@steven2358
steven2358 / ffmpeg.md
Last active July 25, 2024 14:53
FFmpeg cheat sheet