Skip to content

Instantly share code, notes, and snippets.


Evan Hazlett ehazlett

  • Kentik Labs
  • Indianapolis, IN
View GitHub Profile
View gist:ea67a231285d444d6e42783fd3230d58
defaults write 'com.parallels.Parallels Desktop' 'HID Host Hook.Allowed Sources' "synergy"
defaults write 'com.parallels.Parallels Desktop' 'HID Host Hook.Allowed Sources' "synergyc"
View gist:2bdcddbfe20fe040e34c326ea0942f32
apk add -U \
xf86-input-libinput \
plata-theme \
ttf-hack \
firefox \
ttf-cantarell \
gnome \
gnome-terminal \
View checkpoint.go
func withCheckpointMounts(c *container.Container) containerd.CheckpointOpts {
return func(ctx context.Context, client *containerd.Client, _ *containers.Container, index *imagespec.Index, _ *options.CheckpointOptions) error {
for _, m := range c.MountPoints {
// tarstream of content
// a tmpdir is created to use as the blank comparison directory for the diff
tmpdir, err := ioutil.TempDir("", "container-data-")
if err != nil {
return err
defer os.RemoveAll(tmpdir)
View test.go
package utils
import (
var (
testCgroup = `11:rdma:/
View gist:b7b49160e8fc35eeadbc5d03a99b47df

Keybase proof

I hereby claim:

  • I am ehazlett on github.
  • I am ehazlett ( on keybase.
  • I have a public key whose fingerprint is 7DA6 9608 322E 4779 5045 D754 5F50 D7C2 A00B 51FE

To claim this, I am signing this object:

View hyper.js
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'canary',
View gist:8b7c2225ef37daee0aba7a8f278f5a8c
./bin/ctr.exe --address \\.\pipe\containerd-containerd run --runtime windows --layers "C:\ProgramData\docker\windowsfilter\371a5f489e6eb487a66e97423de88e3482ede1b542529da9a590ea4a44ac8696" --layers C:\ProgramData\docker\windowsfilter\0940fef74de9345acabac936949034afd43ccc449285661c86ebf5ecc21d41a7" -t --id myls19 powershell
View gist:8df149fa1a4c9f069b79

Current Interlock:

Set the desired port in the INTERLOCK_DATA env var: -e INTERLOCK_DATA='{"port":80}'

Interlock NG:

Set the desired port in a label: --label interlock.port=80