I hereby claim:
- I am nabijaczleweli on github.
- I am nabijaczleweli (https://keybase.io/nabijaczleweli) on keybase.
- I have a public key whose fingerprint is 7D69 474E 8402 8C5C C0C4 4163 BCFD 0B01 8D26 58F1
To claim this, I am signing this object:
--- | |
Language : Cpp | |
BasedOnStyle : LLVM | |
AlignAfterOpenBracket : true | |
AlignEscapedNewlinesLeft : true | |
AlignConsecutiveAssignments : true | |
AllowShortFunctionsOnASingleLine : Empty | |
AlwaysBreakTemplateDeclarations : true | |
ColumnLimit : 160 | |
ConstructorInitializerIndentWidth : 6 |
# I normally put this in a separate file, but v0v | |
ifeq "$(OS)" "Windows_NT" | |
devnull := nul | |
DLL := .dll | |
MKDIR := busybox mkdir | |
PIC := | |
PREDLL = | |
FIND = busybox find | |
else | |
devnull := /dev/null |
void f00() { | |
throw 'f'; | |
} |
if(bugfree::Context * curctx = bugfree::Context::GetCurrentContext()) | |
curctx->GoToShit(); |
#include <mutex> | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
using namespace std; | |
int main() { | |
vector<mutex> mutexes(20); | |
for(int i = 0; i < 10; ++i) |
16 16 | |
{x=4,y=13} = | |
{x=5,y=13} = | |
{x=6,y=13} = | |
{x=7,y=13} = | |
{x=8,y=13} = | |
{x=10,y=14} = | |
{x=11,y=14} = |
I hereby claim:
To claim this, I am signing this object:
void strip_line(string & line) { | |
static const vector<regex> regices = [&]() { | |
vector<regex> temp(3); | |
for(const auto reg : {"#.*", " +$", "^ +"}) // comment, start-of-line space, end-of-line space | |
temp.emplace_back(reg, regex_constants::optimize); | |
return temp; | |
}(); // <-- any better way of doing this? | |
for(const auto & rgx : regices) | |
line = regex_replace(line, rgx, ""); |
if(const auto sys = envvar_or({"OS"}, nullptr)) | |
return sys; | |
throw runtime_error("the world is on fire"); // Something's *REALLY* wrong |
// The MIT License (MIT) | |
// Copyright (c) 2015 nabijaczleweli | |
// Permission is hereby granted, free of charge, to any person obtaining a | |
// copy of this software and associated documentation files (the "Software"), | |
// to deal in the Software without restriction, including without limitation | |
// the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
// and/or sell copies of the Software, and to permit persons to whom the | |
// Software is furnished to do so, subject to the following conditions: |