Skip to content

Instantly share code, notes, and snippets.

@qis
qis / vulkan.hpp
Last active October 16, 2019 15:40
#pragma once
#include <result.hpp>
#include <vulkan/vulkan.h>
#include <windows.h>
#include <memory>
#include <string_view>
#include <vector>
#include <cassert>
struct VkCommandPipelineBarrierInfo {
#include <result.hpp>
#include <vulkan.hpp>
#include <windows.h>
#include <version.h>
#include <algorithm>
#include <string>
#include <string_view>
// TODO: Read the specification chapter 6 about synchronization.
// https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#synchronization
@qis
qis / unicode.md
Last active February 12, 2019 11:07
☐ Not Set: 'BALLOT BOX' (U+2610)
▣ Partial: 'WHITE SQUARE CONTAINING BLACK SMALL SQUARE' (U+25A3)
☑ Yes: 'BALLOT BOX WITH CHECK' (U+2611)
☒ No: 'BALLOT BOX WITH X' (U+2612)
◉ Selected: 'FISHEYE' (U+25C9)
◎ Option: 'BULLSEYE' (U+25CE)
@qis
qis / parse_date.h
Last active April 5, 2022 05:50
Parse ISO 8601 date time strings in C++ and AVX2.
// if(MSVC)
// set(AVX2_FLAGS "/arch:AVX2")
// else()
// set(AVX2_FLAGS "-march=native -mavx2")
// endif()
//
// option(ENABLE_AVX2 "Enable AVX2 support" OFF)
// if(ENABLE_AVX2)
// if(CMAKE_CROSSCOMPILING)
// set(AVX2 TRUE)
@qis
qis / freebsd.md
Last active August 25, 2023 11:46
Installation and setup instructions for FreeBSD

FreeBSD

Installation template for FreeBSD RELEASE, STABLE and CURRENT.

Distribution Select

[ ] doc
[*] src (for building ports)
@qis
qis / workout.md
Last active October 19, 2017 06:53
Workout Progress

Workout Progress

https://emojipedia.org/food-drink/

Planned Workout: Mo: Strength, Tu: Endurance, We: Strength, Th: Endurance, Fr: Strength
Planned Daily Intake: 1040-1300 kcal, 40-60g fat, 50g carbs, 120-140g protein