Skip to content

Instantly share code, notes, and snippets.

@msiebuhr
msiebuhr / Makefile
Last active Dec 16, 2015
Creating timelapse movies using Mencoder
View Makefile
# Encoding of a vertical video (Vertical-video-syndrome; i know)
#
# http://www.flickr.com/photos/msiebuhr/3406602054/
timelapse-vertical.avi:
mencoder \
"mf://*.JPG" \
-mf fps=25 \
-vf scale=1200:800,crop=900:700:0:50,rotate=1 \
-o $@ \
-of lavf \
View debianizing node.js modules.rst

Debianizing Node.js programs

Date: 2011-03-31
category:Programming
tags:Ubuntu, Debian, Node.js
View Crashplan.rst

CrashPlan backup

category:System Administration
Date: 2011-07-06
tags:Ubuntu, Backup

I recently discovered that my regular backups to my server (lives elsewhere) didn't work. At all.

View reminder-mooly-guard.rst

Guard that Molly!

slug:mullyguard
tags:Ubuntu, Debian, server
Date: 2010-12-23
category:System Administration
@msiebuhr
msiebuhr / LaTeX and bibliography headings.rst
Created Apr 8, 2013
Worthwhile stuff from my old blog
View LaTeX and bibliography headings.rst

LaTeX and bibliography headings

Date: 2009-06-26
tags:LaTeX
category:Miscellaneous

When using bibliographies (Litteratur in Danish) in LaTeX, it includes its own header – which is not added to the table of contents. My usual trick have been

@msiebuhr
msiebuhr / measure-memory.sh
Created Mar 1, 2011
Starts a process and log it's memory use while it's running.
View measure-memory.sh
#!/bin/bash
# Measure the memory usage of process with PID
# Execute whatever's given on the command-line
$* > /dev/null &
sleep 1
# Monitor it
@msiebuhr
msiebuhr / josm-update.tcsh
Created Jan 1, 2011
Small script for automatic updates of JOSM.
View josm-update.tcsh
#!/usr/bin/tcsh
set TESTED_VERSION=`wget http://josm.openstreetmap.de/tested -O - -q`
set NEW_JOSM=/usr/share/josm/josm-tested-$TESTED_VERSION.jar
set JOSM=/usr/share/josm/josm.jar
wget http://josm.openstreetmap.de/josm-tested.jar -O $NEW_JOSM -c
rm $JOSM
ln -s $NEW_JOSM $JOSM