Skip to content

Instantly share code, notes, and snippets.

View tyhicks's full-sized avatar

Tyler Hicks tyhicks

View GitHub Profile
@tyhicks
tyhicks / keybase.md
Created March 27, 2018 22:54
Keybase proof

Keybase proof

I hereby claim:

  • I am tyhicks on github.
  • I am tyhicks (https://keybase.io/tyhicks) on keybase.
  • I have a public key whose fingerprint is 3E05 3E70 DE40 B13A DE91 3E7E D692 003D AA02 C70A

To claim this, I am signing this object:

@tyhicks
tyhicks / analyze-nofrag.sh
Created December 8, 2017 23:58
Compare file sizes of snaps and xdelta3 diffs with and without mksquashfs' -no-fragments option
#!/bin/bash
set -e
resquash_snap()
{
orig_snap="$1"
new_snap="$(basename "$orig_snap" .snap)-nofrag.snap"
tmp=$(mktemp -d resquash.XXXXXXXXXX)
dir="${tmp}/unsquashed"