Skip to content

Instantly share code, notes, and snippets.

View wijagels's full-sized avatar
🤔
.

William Jagels wijagels

🤔
.
View GitHub Profile
#include <iostream>
#include <string_view>
template <typename CharT, CharT C>
struct char_caps {
constexpr CharT operator()() {
if constexpr(C >= CharT{'a'} && C <= CharT{'z'}) {
return (CharT{'A'} + (C - CharT{'a'}));
}
return C;
#ifndef POINT_HPP
#define POINT_HPP
#include <array>
#include <cmath>
#include <stdexcept>
#include <initializer_list>
#include <iostream>
template <size_t D, typename T>
function get_req(url, callback) {
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() {
if (xhr.readyState == 4 && xhr.status == 200)
callback(xhr.responseText);
}
xhr.open("GET", url, true);
xhr.send(null);
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wijagels
wijagels / keybase.md
Last active April 5, 2016 19:06
keybase.md

Keybase proof

I hereby claim:

  • I am wijagels on github.
  • I am wijagels (https://keybase.io/wijagels) on keybase.
  • I have a public key ASAkofJFCaLKS00ujLqB5Nwa3Pin4BRsqSamQ1Qi_DjNIgo

To claim this, I am signing this object:

OPTIMIZED_CFLAGS=YES
BUILD_OPTIMIZED=YES
WITH_CPUFLAGS=YES
WITH_OPTIMIZED_CFLAGS=YES
## Server options
## (headless, no GUI, no X11, no sound, ..)
WITHOUT_X11=YES
WITHOUT_CUPS=yes
WITHOUT_FONTCONFIG=yes