Skip to content

Instantly share code, notes, and snippets.

@jmmv
jmmv / gist:f2e38fc4cfc1ee5f4a865e1e1fabf72d
Created January 16, 2020 01:47
dladdr issues with sandboxfs repro case
Here is the minimal reproduction case:
1. Fetch and install a sandboxfs release from https://github.com/bazelbuild/sandboxfs
2. Create addr.c:
#include <dlfcn.h>
#include <stdio.h>
void print_self(void) {
@jmmv
jmmv / archive.html
Created March 7, 2018 20:58
Hugo archive
{{ range (where .Site.Pages "Type" "post").GroupByDate "2006" }}
{{ $year := .Key }}
<h2>{{ $year }}</h2>
{{ range .Pages.GroupByDate "2006-01" }}
{{ $month := dateFormat "January" (print .Key "-01") }}
<ul>
<a id="{{ .Key }}"></a>
<li>{{ print $month " " $year }}
<ul>
{{ range .Pages }}
@jmmv
jmmv / keybase.md
Created December 7, 2016 03:18
jmmv's keybase identity proof

Keybase proof

I hereby claim:

  • I am jmmv on github.
  • I am jmmv (https://keybase.io/jmmv) on keybase.
  • I have a public key whose fingerprint is 6D6F 53EB C86C AB33 17B5 331D B889 BD50 41AD 5625

To claim this, I am signing this object: