Skip to content

Instantly share code, notes, and snippets.


Max Albrecht eins78

View GitHub Profile
eins78 /
Created Jan 14, 2012 — forked from pajp/README
Encode mkv files to Apple TV format and add them to iTunes
# A script for re-encoding mkv files into something that iTunes and Apple TV
# likes. Suitable for calling from a Folder Action in order to automatically
# encode and add new downloaded movies.
# Requires HandBrakeCLI:
# Requires growlnotify (probably works without it):
View kalua.log
This file has been truncated, but you can view the full file.
nmkdir kalua
mfa@debian:~$ cd kalua
mfa@debian:~/kalua$ pipe-pane 'cat >>$HOME/tmux.loggit clone git://
Cloning into openwrt...
remote: Counting objects: 72  remote: Counting objects: 11255  remote: Counting objects: 30159  remote: Counting objects: 30307  remote: Counting objects: 30428  remote: Counting objects: 47943  remote: Counting objects: 119132  remote: Counting objects: 182337  remote: Counting objects: 189834, done.
eins78 / vbox_to_kvm.txt
Created Mar 22, 2012 — forked from bdha/vbox_to_kvm.txt
Migrating from VirtualBox to KVM on ZFS
View vbox_to_kvm.txt
# It's important to convert the vbox image (VMDK or VDI or whatever) using
# the same version of VirtualBox that created it. You can try converting the image
# with qemu-img or kvm-img, but weird version mismatches will possibly make it not
# work.
# On your VirtualBox machine:
VBoxManage clonehd machine.vmdk machine.img --format RAW
scp machine.img root@kvm-host:/somewhere
eins78 /
Created Mar 31, 2012 — forked from erikh/
OSX For Hackers
#!/usr/bin/env sh
# This is script with usefull tips taken from:
# install it:
# curl -sL | sh
eins78 /
Created May 25, 2012
Shell Script: Check if the Maschinenraum is Closed
# script to get open/closed status of MR
## use manually: $ sh
## use in scripts: ./ && ./ || ./
# logic
## 1. `curl` latest tweet from @MR_door_status
## 2. `grep` for 'MR is open'
## 3a. if MR is open, echo it and exit 1
#echo "make key: $APP.$HOST.encrypted.key"
#openssl genrsa -des3 -out $APP.$HOST.encrypted.key 2048
echo "make CSR: $APP.$HOST.csr"
openssl req -new -key $APP.$HOST.encrypted.key -out $APP.$HOST.csr
eins78 /
Created Nov 18, 2015 — forked from mbostock/.block
Radial Reingold–Tilford Tree

The tree layout implements the Reingold-Tilford algorithm for efficient, tidy arrangement of layered nodes. The depth of nodes is computed by distance from the root, leading to a ragged appearance. Cartesian orientations are also supported. Implementation based on work by Jeff Heer and Jason Davies using Buchheim et al.'s linear-time variant of the Reingold-Tilford algorithm. Data shows the Flare class hierarchy, also courtesy Jeff Heer.

Compare to this Cartesian layout.

eins78 / backbone.pdf
Last active Dec 15, 2015
docco-pandoc for LaTeX output
View backbone.pdf
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
eins78 / index.html
Last active Dec 20, 2015
boostrap scrollspy test
View index.html
// from <>
body {
padding-top: 50px;
.starter-template {
padding: 40px 15px;
text-align: center;
eins78 / .gitignore
Last active Dec 20, 2015
View .gitignore