Skip to content

Instantly share code, notes, and snippets.

@msiebuhr
msiebuhr / Makefile
Last active December 16, 2015 03:29
Creating timelapse movies using Mencoder
# 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 \

Debianizing Node.js programs

date

2011-03-31

category

Programming

tags

Ubuntu, Debian, Node.js

Note

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.

Guard that Molly!

slug

mullyguard

tags

Ubuntu, Debian, server

date

2010-12-23

category

System Administration

@msiebuhr
msiebuhr / LaTeX and bibliography headings.rst
Created April 8, 2013 11:40
Worthwhile stuff from my old blog

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 March 1, 2011 08:43
Starts a process and log it's memory use while it's running.
#!/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 January 1, 2011 20:22
Small script for automatic updates of JOSM.
#!/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