Skip to content

Instantly share code, notes, and snippets.

View spahl's full-sized avatar

Sebastien Pahl spahl

View GitHub Profile

Keybase proof

I hereby claim:

  • I am spahl on github.
  • I am spahl (https://keybase.io/spahl) on keybase.
  • I have a public key whose fingerprint is FCED FD1E 1248 B4D0 7ADE EFA1 79A5 7984 D80C 60D8

To claim this, I am signing this object:

@spahl
spahl / .i3status.conf
Created May 23, 2015 05:10
i3status + awesome wm
general {
output_format = none
interval = 0
}
order += "run_watch DHCP"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery 1"
order += "battery 0"
#!/bin/bash
#
# mkv2m4v inputfile.mkv
#
# Given an MKV container with H.264 video and AC3 audio, converts
# quickly to an iPad-compatible MP4 container without re-encoding the
# video (so it must already be in an iPad-compatible resolution); the
# audio is downmixed to stereo with Dynamic Range Compression.
#
ME=$(basename $0)
@spahl
spahl / genrepo.sh
Created November 1, 2012 23:59
generate a local deb repo for testing
#!/bin/bash
set -e
set -x
cd /var/www
mkdir -p packages
cd packages/