Skip to content

Instantly share code, notes, and snippets.

@mclow
mclow / gist:7742553a80e1d115032c3cc0f871caa8
Created April 10, 2020 18:39
Simple operator new replacement
#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 ()
@mclow
mclow / gist:de6836df280b6f992223d526350a19fa
Created April 10, 2020 18:48
Appending a string w/ a custom operator new
#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 {}

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 / Ancestors.md
Last active March 15, 2021 23:23
My ancestors

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

#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; }