Skip to content

Instantly share code, notes, and snippets.

View wojexe's full-sized avatar
🐈‍⬛
(´;ω;`)

Wojciech Sierotowicz wojexe

🐈‍⬛
(´;ω;`)
View GitHub Profile
# wojexe | 03.07.2024
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignArrayOfStructures: Right
AlignConsecutiveAssignments: None
AlignOperands: Align
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
@wojexe
wojexe / blockTimer.cpp
Last active October 23, 2020 16:05
C++ block execution timer
#include <chrono>
#include <iostream>
class Timer {
std::chrono::high_resolution_clock::time_point start, end;
public:
Timer() {
start = std::chrono::high_resolution_clock::now();
}
{
"$id": "https://gist.githubusercontent.com/wojexe/e3cdb32026f764413a80752aee7fd4c2/raw/763abb5bb1c6d6c25fd85b6be4c0c336f1df53fc/profiles.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "wojexe's windows terminal schema",
"definitions": {
"Color": {
"default": "#",
"pattern": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$",
"type": "string",
"format": "color"