This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const char URL_PARSE_REGEX[] = | |
"(?:([[:alnum:]]{3,}):\\/\\/)?" | |
"(?:((?:[[:alnum:]$_.+!*'(),\\-]|\\%[[:xdigit:]]{2})*)?" | |
":?((?:[[:alnum:]$_.+!*'(),\\-]|\\%[[:xdigit:]]{2})*)?@)?" | |
"((?:[[:alnum:]$_.+!*'(),\\-]|\\%[[:xdigit:]]{2})*)?" | |
"(?::([1-9]\\d{0,4})?)?" | |
"(?:((?:\\/(?:[[:alnum:]$_.+!*'(),\\-]|\\%[[:xdigit:]]{2})+)*)" | |
"(\\?(?:[[:alnum:]$_.+!*'(),\\-]|\\%[[:xdigit:]]{2})+" | |
"(?:=(?:[[:alnum:]$_.+!*'(),\\-]|\\%[[:xdigit:]]{2})*)?" | |
"(?:&(?:[[:alnum:]$_.+!*'(),\\-]|\\%[[:xdigit:]]{2})*" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Implementation of a C++17 feature - `std::apply` - in C++11 standard | |
*/ | |
#ifndef FUTURE_APPLY_HH | |
#define FUTURE_APPLY_HH | |
#include <tuple> | |
#include <utility> | |
#include <type_traits> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <type_traits> | |
#include <string> | |
#include <jansson.h> | |
namespace jsw | |
{ | |
namespace detail | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import jira | |
import datetime | |
class Reporter: | |
JIRA_URL = 'https://jira.somecompany.com' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# note: the following environment variables should be set for this script to work correctly: | |
# SDL2_DIR -> SDL2 installation root (cmake) | |
# GLEW_DIR -> GLEW installation root (cmake) | |
# GLM_DIR -> GLM installation root (cmake) | |
# LUA_DIR -> Lua installation root (no cmake) | |
# ENTT | |
# cmake configuration files are required! | |
message(STATUS "[externals] setting up...") | |
message(STATUS "[externals] SDL2 -> ${SDL2_DIR}") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <algorithm> // std::max | |
namespace SimplePhil { | |
namespace Impl { | |
template<class... Types> | |
struct TypeListNode; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <algorithm> | |
#include <type_traits> | |
#include "TypeList.hh" | |
namespace SimplePhil { | |
template<class... Args> | |
class Variant { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __MODEL_FORMAT_HH__ | |
#define __MODEL_FORMAT_HH__ | |
#if !defined(__cplusplus) | |
#error "C++11 conformant compiler is required" | |
#endif | |
#include <cstdint> | |
#include <cstdio> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright 2017 Bryan Keller (https://github.com/widget-) | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <tuple> | |
#include <string> | |
#include <string> | |
#include <sstream> | |
#include <iostream> | |
#include <map> | |
namespace class_info { | |
struct String { |
OlderNewer