Skip to content

Instantly share code, notes, and snippets.


Kevin Spinar alipha

  • Minnesota, USA
View GitHub Profile

Keybase proof

I hereby claim: * I am alipha on github. * I am spinarkm ( on keybase. * I have a public key ASDyd4_Nf3Q6AA7EgPxTlnaHfwXnLmY9s4zi9-w71s66oQo To claim this, I am signing this object:

{   "body": {     "key": {       "eldest_kid": "0120f2778fcd7f743a000ec480fc539676877f05e72e663db38ce2f7ec3bd6cebaa10a",       "host": "",       "kid": "0120f2778fcd7f743a000ec480fc539676877f05e72e663db38ce2f7ec3bd6cebaa10a",       "uid": "74a6aa21e66c6860d569a3ce80add719",       "username": "spinarkm"     },     "merkle_root": {       "ctime": 1587497015,       "hash": "b4669f65dffcb8b32b99d797233ea2add3791b8eaaae0eb27f304322693df03e6c33f645480c92909b64861bc139f8a5abc166b4e5349daf4ae7ed85df23a83d",       "hash_meta": "847a35f540e081404e3dad0ff6178b69fe3819d7891edccd0ed7097998d0edb1",       "seqno": 16003682     },     "service": {       "entropy": "NuEyPno8PswI0mtmXvgpsaH/",       "name": "github",       "username": "alipha"     },     "type": "web_service_
alipha / poly_obj.h
Created Apr 15, 2020
A class that can store different derived classes with no dynamic allocation and provides value semantics
View poly_obj.h
#include <cstddef>
#include <new>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <utility>
alipha / substr.cpp
Created Mar 14, 2019
Find all strings in a set which are not a substring of another string within the set
View substr.cpp
#include <string>
#include <iostream>
#include <fstream>
#include <ctime>
#include <cstring>
#include <set>
#include <algorithm>
using namespace std;
You can’t perform that action at this time.