Skip to content

Instantly share code, notes, and snippets.

@tpikonen
tpikonen / bup-rfuse
Created January 10, 2017 17:17
Mount a remote bup repository to a local directory with sshfs and 'bup fuse'. A convenience script to save on manual mount point creation etc.
#!/bin/sh
# Mount a remote bup repository to a local directory with sshfs
# and 'bup fuse'.
# A convenience script to save on manual mount point creation etc.
#
# Usage:
# bup-rfuse <server:remotedir/repo-bup> <mountpoint>
# (mountpoint is created if it does not exist)
# or just with the defaults (see below)
@tpikonen
tpikonen / new-window
Created April 9, 2014 17:28
URxvt perl module to allow opening of a new terminal window with a key combination
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd;
# Opening a new window.
# Fixed version of script from
# http://lists.schmorp.de/pipermail/rxvt-unicode/2012q3/001609.html
# by José Romildo Malaquias <malaquias at gmail.com>