Skip to content

Instantly share code, notes, and snippets.

@andrej-peterka
andrej-peterka / keybase.md
Created February 12, 2017 12:53
keybase proof

Keybase proof

I hereby claim:

  • I am andrej-peterka on github.
  • I am andrej_peterka (https://keybase.io/andrej_peterka) on keybase.
  • I have a public key whose fingerprint is 2BB3 5E5C 1B4F 8C30 B78E DEFB FD53 B605 06E3 B252

To claim this, I am signing this object:

# USEFUL LINKS:
https://help.ubuntu.com/community/encryptedZfs
https://unix.stackexchange.com/questions/178666/sbin-cryptsetup-not-found-on-boot
http://www.pavelkogan.com/2015/01/25/linux-mint-encryption/
https://www.combustible.me/wordpress/2014/09/22/linux-mint-zfs-root-full-disk-encryption-hibernation-encrypted-swap/
https://askubuntu.com/questions/729673/ubuntu-full-disk-encryption-with-encrypted-boot
http://thesimplecomputer.info/full-disk-encryption-with-ubuntu
https://github.com/zfsonlinux/zfs/wiki/Ubuntu-16.04-Root-on-ZFS
# Run this for UEFI booting (for use now or in the future):
@andrej-peterka
andrej-peterka / zfs-setup.sh
Created September 26, 2016 12:52 — forked from smcnamara3/zfs-setup.sh
ZFS root on Xenial - personal fork of http://pastebin.com/raw/fa83QrBk
#!/bin/bash
# ZFS-setup.sh 2016-03-24 19:42
# Auto-installer for clean new system using root on zfs, and optionally on
# luks encrypted disks. It installs Ubuntu 14.04.04 or 16.04 with everything
# needed to support ZFS and potentially LUKS. Without LUKS everything lives
# in the main rpool pool. With LUKS then /boot lives in its own boot pool.
# Grub2 is installed to all disks, so the system can boot cleanly from *any*
# disk, even with a failed disk.
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 2.00
Features : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
@andrej-peterka
andrej-peterka / Program.cs
Created December 15, 2011 07:27
SmoothTransmuxer concurrent / consecutive processing benchmark
using System;
using System.IO;
using HighPerformanceTimer;
using Microsoft.Web.Media.TransformManager.MP4toSmooth;
namespace TransPepe
{
class Program
{
static void Main(string[] args)