Archive for October, 2008

xkcd desktop display!

Monday, October 27th, 2008

To be able to save one click.. or not to use the mouse, I have created a program that upon the pressing of the key ‘r’ will download and display a random comic from xkcd.com and display it on my screen. Every now and then it runs out of memory, but that has proved the only way to stop – so i’ll leave it. It should work on all platforms with cairo, curl and gtk.

The easiest is to use scons to build it.

Download: xkcd.tbz2

- gaute

Tags: , , ,

Duplicity on Multiple Folders

Friday, October 17th, 2008

To run duplicity on several folders using the ssh backend I created this bash script:

#! /bin/bash
$USER=”user”
$HOST=”host”
$KEY=”.ssh/key_to_server”
cd ~
ssh-add $KEY
read -s -p “GnuPG password:” PASSPHRASE

echo -e “\n####DEV####”
PASSPHRASE=$PASSPHRASE duplicity -v6 dev/ scp://${USER}@${HOST}/backup/dev
duplicity remove-all-but-n-full 3 scp://${USER}@${HOST}/backup/dev
echo "########DOCUMENTS#######"
PASSPHRASE=$PASSPHRASE duplicity -v6 /media/Hoppla/Users/Gaute/Documents/ scp://
${USER}@${HOST}/backup/dokument
duplicity remove-all-but-n-full 3 scp://
${USER}@${HOST}/backup/dokument

Just repeat the last three lines for each dir you want to backup. For some reason duplicity doesn’t follow symlinks so you have to add those manually.

Updated PKGBUILD for Archlinux for newest version:

# $Id: PKGBUILD,v 1.12 2008/08/02 20:27:55 Snowman Exp $
# Maintainer: Aaron Schaefer
pkgname=duplicity
pkgver=0.5.02
pkgrel=1
pkgdesc=’A utility for encrypted, bandwidth-efficient backups using the rsync algorithm’
arch=(’i686′ ‘x86_64′)
url=’http://www.nongnu.org/duplicity/’
license=(’GPL’)
depends=(’gnupg’ ‘librsync’ ‘ncftp’ ‘python’ ‘python-boto’ ‘python-gnupginterface’ ‘python-pexpect’)
source=(”http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz”)
md5sums=(’475e09b3eae5d9875e4177d487dc8986′)

build() {
cd $startdir/src/$pkgname-$pkgver
python setup.py install –root=$startdir/pkg || return 1
}

Put the PKGBUILD in a folder and do:

$ sudo pacman -R duplicity
$ makepkg -c
$ sudo pacman -U duplicity-0.5.02-1-i686.pkg.tar.gz

Tags: , , ,

Vetsjisode 5

Thursday, October 16th, 2008

Dette er meir eller mindre den orginale besteninga, det er ialle høve dei som har vå med frå starten og dei som har vå med lengst.

Vetsj har eksistert sidan 28.10.2004 – det er på tide sida kjem på plass igjen. Det går sakte mot sikkert mot tidspunktet då Vetsjisode 5 er klar. Kodenamnet på Vetsj – Det femte Tidekverv.

Lenge leve mordor.dask.info!!

Tags:

Photos from Nigardsbreen

Thursday, October 16th, 2008

(with bsi-friluft)

Tags: , , , ,

Photos from Sächsische Schweiz

Wednesday, October 8th, 2008

Some photos from climbing in Sächsische Schweiz outside Dresden:

Falkenstein

Tags: , , ,

Photos from Indonesia

Friday, October 3rd, 2008

The photos from Indonesia have been uploaded on Flickr:
img_6666.jpg

Tags: , , , ,
  • Viagra ordre
  • Cialis en ligne
  • Levitra en ligne
  • Propecia acheter
  • Viagra acheter
  • Acheter cialis
  • Ordre levitra
  • Ordre propecia
  • En ligne viagra
  • Vente cialis
  • Levitra bon marche
  • Propecia en ligne
  • Viagra online
  • Buy cialis
  • Order Levitra
  • Buy propecia
  • Buy viagra
  • Cheap cialis
  • Cheap Levitra
  • propecia online
  • Viagra prescription
  • Cialis online
  • Buy Levitra
  • Order propecia