Skip to content

Instantly share code, notes, and snippets.

@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

@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 / 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
* text=lf
*.cmd text eol=crlf
*.rc text eol=crlf
The Iliad (Homer)
The Odyssey (Homer)
The Republic (Plato)
Metamorphoses (Ovid)
Apocolocyntosis (Seneca)
Dubliners (James Joyce)
Exiles (James Joyce)
Ulysses (James Joyce)
Leviathan (Thomas Hobbes)
Meditations (Marcus Aurelius)
#include <windows.h>
#include <filesystem>
#include <iostream>
#include <sstream>
#include <string>
int main(int argc, char* argv[]) {
// Report command and parameter lengths.
if (argc > 1) {
std::cout
cmake_minimum_required(VERSION 3.19 FATAL_ERROR)
project(icu VERSION 68.1 LANGUAGES C CXX)
# Library: icudt
file(GLOB dt_sources src/source/stubdata/*.cpp)
add_library(dt SHARED ${headers} ${dt_sources})
set_target_properties(dt PROPERTIES OUTPUT_NAME "icudt" INSTALL_RPATH "$ORIGIN")
# Library: icuuc
file(GLOB uc_sources src/source/common/*.cpp)
file(MAKE_DIRECTORY
${CMAKE_CURRENT_BINARY_DIR}/data
${CMAKE_CURRENT_BINARY_DIR}/temp)
add_executable(icupkg src/source/tools/icupkg/icupkg.cpp)
target_compile_options(icupkg PRIVATE ${compile_options})
target_compile_definitions(icupkg PRIVATE ${compile_definitions})
target_link_libraries(icupkg PRIVATE dt_stub uc in io tu)
add_custom_target(data ALL DEPENDS icupkg COMMAND $<TARGET_FILE:icupkg>