Skip to content

Instantly share code, notes, and snippets.

@jtacoma
jtacoma / openpgp.txt
Created September 4, 2017 17:06
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:079a07c864f3d51cde5830a00e0f131e6ff70348]
@jtacoma
jtacoma / main_test.go
Last active August 17, 2019 17:38
Some difficulty with BadgerDB
package main
import (
"fmt"
"io"
"io/ioutil"
"log"
"os"
"testing"

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@jtacoma
jtacoma / introspect.cpp
Created August 1, 2021 17:38
A way to implement introspection for C++ types allowing easier decoupling from data format and serialization libraries
// Copyright 2021 Google LLC
// SPDX-License-Identifier: Apache-2.0
#include <cstddef> // ptrdiff_t
#include <string>
#include <tuple>
#include <utility>
namespace introspect {
@jtacoma
jtacoma / .bazelrc
Last active January 27, 2025 00:59
Polyglot builds with Bazel and Nix
common --enable_bzlmod
build --host_platform=@rules_nixpkgs_core//platforms:host