Skip to content

Instantly share code, notes, and snippets.

Credits

Many developers and external sources helped in this GLEP.

Abstract

This GLEP provides both a minimum requirement and a recommended set of OpenPGP key management policies for the Gentoo Linux distribution.

@rich0
rich0 / spectre.c
Created January 5, 2018 02:04
Spectre variant 1 exploit with mitigation
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
#pragma optimize("gt",on)
#else
#include <x86intrin.h> /* for rdtscp and clflush */
#endif
@rich0
rich0 / keybase.md
Created January 7, 2015 19:41
Keybase identity

Keybase proof

I hereby claim:

  • I am rich0 on github.
  • I am rich0 (https://keybase.io/rich0) on keybase.
  • I have a public key whose fingerprint is 3665 3E11 22C0 8BCE A16D 1529 08C1 70DE 55EC 123A

To claim this, I am signing this object: