Skip to content

Instantly share code, notes, and snippets.

View TransparentSet.cpp
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <string>
#include <tuple>
using namespace std;
struct A { int i; }; bool operator<(const A&x, const A&y) { return x.i < y.i; }
@mclow
mclow / Ancestors.md
Last active Mar 15, 2021
My ancestors
View Ancestors.md

These are my g2, g3, and g4-grandparents.

Each one is listed with their birth year.

If any of these names are familiar to you, please contact me.

Great-great (g2) grandparents

  • Milton Clow 1835, Laura Brown 1841

  • John McAllister 1843, Jeanette McKean 1845

  • Marzy Jones 1848, Addie Barnes 1852

View Bradley.md

Bradley Families in Lincolnshire 1750-1810 (or so)

This is mostly from scouring baptismal records and attempting to put them into families. Sadly, the marriage records do not list the parents names.


  • Nathaniel Bradley () married Mary Pearson () on 12-May-1767 in Kirkby-Upon-Bain
    • William Bradley (bapt 1-Feb-1759 -) In Binbrook
    • Nathaniel Bradley (bapt 27-Dec-1761 -) In Binbrook
    • Sarah Bradley (bapt 8-Sep-1771 -) in Withcall
@mclow
mclow / gist:de6836df280b6f992223d526350a19fa
Created Apr 10, 2020
Appending a string w/ a custom operator new
View gist:de6836df280b6f992223d526350a19fa
#include <new>
#include <string>
#include <iostream>
char heap[1000];
char *next = heap;
void * operator new (std::size_t sz) { char *ret = next; next += sz; return ret; }
void operator delete (void *) noexcept {}
@mclow
mclow / gist:7742553a80e1d115032c3cc0f871caa8
Created Apr 10, 2020
Simple operator new replacement
View gist:7742553a80e1d115032c3cc0f871caa8
#include <new>
#include <iostream>
char heap[1000];
char *next = heap;
void * operator new (std::size_t sz) { char *ret = next; next += sz; return ret; }
void operator delete (void *) noexcept {}
int main ()