Skip to content

Instantly share code, notes, and snippets.

call me on my shell phone

Jess Frazelle jessfraz

call me on my shell phone
View GitHub Profile

Self isolating binaries

This is a play proposal for a new wrapper around go build that would build your binary but wrap it in code that would prepare isolation around your binary on run.

A concept of this is in, in that it takes a docker image and embeds the contents into a final binary so you have a self-contained binary.

The binctr example is unnessesarily heavy for go binaries because all you need is a completely static binary.


Keybase proof

I hereby claim:

  • I am jessfraz on github.
  • I am jessie ( on keybase.
  • I have a public key whose fingerprint is D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3

To claim this, I am signing this object:

View chrome-gpu
Graphics Feature Status
Canvas: Software only, hardware acceleration unavailable
Flash: Hardware accelerated
Flash Stage3D: Software only, hardware acceleration unavailable
Flash Stage3D Baseline profile: Software only, hardware acceleration unavailable
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Rasterization: Software only, hardware acceleration unavailable
Threaded Rasterization: Enabled
Video Decode: Software only, hardware acceleration unavailable
jessfraz /
Last active Apr 23, 2018
img and acs-engine

deploying acs-engine with rawaccess

$ git clone
$ git checkout rawaccess
$ make
$ ./bin/acs-engine deploy --subscription-id $SUBSCRIPTION_ID \
	--dns-prefix jessfraz-rawaccess \
	--location eastus --auto-suffix \
	--api-model examples/kubernetes.json 
View clone.c
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <sched.h>
#include <sys/wait.h>
#include <errno.h>
#define STACKSIZE (1024*1024)
static char child_stack[STACKSIZE];


curl -sSL -o clone.c

Net Namespace

# on host
set -e
# Send a private message to someone on slack
# from the command line.
# Print a usage message and exit.
local name=$(basename "$0")
jessfraz / Dockerfile
Created Dec 28, 2018
Scrape best papers site
View Dockerfile
FROM python:2-alpine
RUN pip install \
beautifulsoup4 \
COPY /usr/local/bin/
RUN chmod +x /usr/local/bin/
jessfraz /
Last active Mar 9, 2019
stats on the go 1.7 release for fun


# set CONTRIBUTORS file to mailmap to remove duplicate emails for the same name
# see:
$ git config mailmap.file CONTRIBUTORS

Top 10 contributors (all):


Freezer cgroup FTW

In a terminal start a server.

$ python -m SimpleHTTPServer 8000

In another terminal set up the cgroups freezer.