Skip to content

Instantly share code, notes, and snippets.

Boyd Waters watersb

Block or report user

Report or block watersb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@watersb
watersb / keybase.md
Created Aug 14, 2018
Proof of this GitHub account for my linked keybase.io profile
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@watersb
watersb / spectre.c
Last active Feb 14, 2018 — forked from miniupnp/spectre.c
Spectre example code - x86 / x86_64 and PowerPC
View spectre.c
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#if defined(__POWERPC__)
#define __dcbf(base, index) \
__asm__ ("dcbf %0, %1" : /*no result*/ : "b%" (index), "r" (base) : "memory")
#else
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
@watersb
watersb / 0_reuse_code.js
Created Aug 24, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@watersb
watersb / year with most alive.py
Created Jun 17, 2015
year with most alive.py
View year with most alive.py
from collections import defaultdict
demographic_data = '''
James 1954 1977
Linda 1922 1928
Robert 1912 1924
Mary 1965 1993
John 1915 1915
Patty 1946 2014
@watersb
watersb / year with most alive.py
Created Jun 17, 2015
year with most alive.py
View year with most alive.py
from collections import defaultdict
demographic_data = '''
James 1954 1977
Linda 1922 1928
Robert 1912 1924
Mary 1965 1993
John 1915 1915
Patty 1946 2014
@watersb
watersb / year with most alive.py
Created Jun 16, 2015
year with most alive.py
View year with most alive.py
from collections import defaultdict
CENTURY = 1900
demographic_data = '''
James 1954 1977
Linda 1922 1928
Robert 1912 1924
@watersb
watersb / year with most alive.py
Created Jun 16, 2015
year with most alive.py
View year with most alive.py
from collections import defaultdict
CENTURY = 1900
demographic_data = '''
James 1954 1977
Linda 1922 1928
Robert 1912 1924
You can’t perform that action at this time.