May
24
2009

Was fer en hitz!

Ich bedüre alli wa disches wuchenend heint miesse vorna schaffe! — Der wägsel fa chalt zu heis, isch mer eifach t’schnäll gange. 30 grad em schatte sind definitiv z’fill verem mai!

Written by kab in: On the road | Tags:
May
22
2009

Wieder ereichbar via IPv4

Seit letzter Woche ist der Blog auch wieder aus dem IPv4 Internet zugänglich. Trotz dem weltweit knappen Adresspool, hat der Provider die Monatlichen Zusatzkosten für eine fixe IPv4 Adresse senken können. Über diese Preissenkung bin ich erfreut und erstaunt zugleich.

Written by kab in: Internet | Tags: , ,
Dec
22
2008

IPv6 access only

I have migrated my blog to a new server system. Until I get a new static IPv4 subnet, the blog will only be accessible from the IPv6 Internet. All people trying to connect from IPv4 will get the old site.

I have received a complete /48 IPv6 subnet without additional cost, but the ISP will charge 20CHF (~18USD) for only one, I repeat, one IPv4 address and 40CHF for a /8 IPv4 subnet.

It’s hard nowadays to get IPv4 addresses for cheap, so migrate to IPv6!

Written by kab in: IPv6, Internet | Tags:
Sep
03
2008

MacTex-2008 released!

The long awaited MacTex-2008 package is now on CTAN and mirrors! The new MacTex is now fully replacing Gerben Wierda’s iInstaller packages. In different of Wierda’s distribution, the new version does not install any libraries all over your system. This has the advantage, that MacTex does no more conflict with fink or MacPorts packages that have depencies with Ghostscript as an example.

The package is 1.15 GB in size and will take some time on slower internet connections.

Direct link on CTAN: Download now
Mirror in Switzerland (Switch): Download now

Happy TeXing!

Written by kab in: Internet, LaTeX |
Aug
07
2008

Transmission 1.31 for Ubuntu Hardy 8.04

I have updated once again the transmission packages in my launchpad.net PPA archive. The current version is now Transmission 1.31.

Please note that this are experimental packages and that I give no guarantee for them.

The package are packed the same as the original ubuntu ones, so you only have to put the following lines in your /etc/apt/sources.list and update your software.

apt sources.list entries:

deb http://ppa.launchpad.net/bortis/ubuntu hardy main
deb-src http://ppa.launchpad.net/bortis/ubuntu hardy main

The packages are available for all supported ubuntu platforms. (lpia i386 am64)

Written by kab in: Internet, Linux, Ubuntu |
Jul
29
2008

Transmission 1.30 beta 3 for Ubuntu

I have updated once again the transmission packages in my launchpad.net PPA archive. The current version is now Transmission 1.30 beta 3.

Please note that this are experimental packages and that I give no guarantee for them.

The package are packed the same as the original ubuntu ones, so you only have to put the following lines in your /etc/apt/sources.list and update your software.

apt sources.list entries for Hardy 8.04:

deb http://ppa.launchpad.net/bortis/ubuntu hardy main
deb-src http://ppa.launchpad.net/bortis/ubuntu hardy main

apt sources.list entries for the upcomming Interpid Ibex

deb http://ppa.launchpad.net/bortis/ubuntu intrepid main
deb-src http://ppa.launchpad.net/bortis/ubuntu intrepid main

The packages are available for all supported ubuntu platforms. (lpia i386 am64)

Written by kab in: Internet, Linux, Ubuntu | Tags: , , , ,
Jul
22
2008

Transmission 1.30 beta1 for Ubuntu

I have just finished updating and uploading of the Transmission 1.30 beta1 files to launchpad.net.

If you are interested, the files are now in my PPA Archive.

apt sources.list entries for Hardy 8.04:

deb http://ppa.launchpad.net/bortis/ubuntu hardy main
deb-src http://ppa.launchpad.net/bortis/ubuntu hardy main

apt sources.list entries for the upcomming Interpid Ibex

deb http://ppa.launchpad.net/bortis/ubuntu intrepid main
deb-src http://ppa.launchpad.net/bortis/ubuntu intrepid main

The packages are available for all supported ubuntu platforms. (lpia i386 am64)

Happy Downloading

Written by kab in: Internet, Linux, Ubuntu | Tags: , , , ,
Mar
29
2008

Update local folder from a remote webdav folder using rsync

I wanted to sync/update a remote webdav folder to a local folder. This sounds easy but Mac OS X make it very tricky. So here is my little shell script solution:

#!/bin/bash
# Sync PREN2 from ILIAS to local dir
#
# Modify following Vars
URL=”https://myremote.server.com/folder/to/sync”
SYNC_FOLDER=”/Users/myUser/local/folder/”
# PW format: ^@^@^@^Cusername^@^@^@^Fpassword
# Replace username and password with your username and password.
# Create pw file from command line with:
# echo “^@^@^@^Cusername^@^@^@^Fpassword” > .webdav
# Props goes to:
# http://www.macosxhints.com/article.php?story=20020207214002198
PW_FILE=~/.webdav
#
# Don’t touch
VOLNAME=”sync”
MNT_PREFIX=”/Volumes”
#
# Mount volume
echo “1.******************************************************”
echo “Mount Volume to: “$MNT_PREFIX”/”$VOLNAME” using”
echo “pw file “$PW_FILE
echo “********************************************************”
echo “”
mkdir $MNT_PREFIX/$VOLNAME
cat $PW_FILE | mount_webdav -v $VOLNAME -a0 $URL $MNT_PREFIX/$VOLNAME/
# Wait until folder successfully mounted
WAIT_FOR=0
until [ $(ls -1 $MNT_PREFIX/$VOLNAME/ | wc -l) -gt 1 ]; do
echo “Wait for mount … “$WAIT_FOR”s”
sleep 1
let WAIT_FOR=WAIT_FOR+1
done
#
# Update local folder
echo “2.******************************************************”
echo “Update local directory with rsync”
echo “********************************************************”
echo “”
rsync -auv $MNT_PREFIX/$VOLNAME/ $SYNC_FOLDER
#
# Unmount volume
echo “3.******************************************************”
echo “Unmount remote volume”
echo “********************************************************”
echo “”
umount $MNT_PREFIX/$VOLNAME
rmdir $MNT_PREFIX/$VOLNAME

The script is very reusable and there are only two thing someone need to alter is,

URL=”https://myremote.server.com/folder/to/sync”

which represent the remote address to your webdav directory and

SYNC_FOLDER=”/Users/myUser/local/folder/”

which points to your local directory. Please note that the SYNC_FOLDER string contains a / at the end.

In additional you need to create a local password file. I have put mine in my local home directory called .webdav. If you need additional security you could try to implement some cryptography, but for my solution a plain file is ok.
The mount_webdav directory need a filepointer with a file that contains the username and password. The format of the string I have found in a . To create the file, simply type:

echo “^@^@^@^Cusername^@^@^@^Fpassword” > ~/.webdav

Please replace your username and password in the string whit your own.

By the way: If you want to update a remote webdav directory instead of the local directory, you could change

rsync -auv $MNT_PREFIX/$VOLNAME/ $SYNC_FOLDER

to

rsync -auv $SYNC_FOLDER $MNT_PREFIX/$VOLNAME
Mar
02
2008

Ubuntu Brainstorm, Apple hardware support - Votes needed!!!

If you want to see out of the box support for Apple hardware in Ubuntu Linux, then give your vote for it in Ubuntu Brainstorm.



Currently, the installation of Ubuntu Linux on my MacBook Pro is a hell and requires a lot of hand tuning. Ubuntu Forums article, Wiki entry.

So, if you feel the same pain, go ahead an vote!

Written by kab in: Internet, Linux, Ubuntu | Tags: , , ,
Feb
28
2008

Geburtstagserinnerungen mit Adressbuch, Automator und iCal

Geburtstag der Freundin, der Mutter schon wieder vergessen? - Dann probiert doch folgender Trick, um in Zukunft rechtzeitig erinnert zu werden.

1. Editieren des Adressbuch Templates. Unter Einstellungen im Apple Adressbuch, unter Template einfach das Feld Geburtstag hinzufügen.

template ändern

Ab jetzt wird das Feld standardmässig, beim hinzufügen und editieren eurer Kontakte, erscheinen. Jetzt müsst ihr nur noch alle Geburtstagsdaten den Kontakten zuordnen. :-)

2. Nun gehen wir an das Automator Plugin.

Automator

Als erstes müssen wir den Geburtstag finden. Um den Automator Prozess dazu zu finden könnt ihr im Suchen Feld einfach nach Geburtstag suchen. Wir suchen nach Geburtstagen in der folgenden Woche und verschicken anschliessend mit einem Mail Prozess eine e-Mail Erinnerung an uns selber. Hier einfach eure e-Mailadresse eingeben. Der oder die Namen der Geburtstagskinder, werden einfach dem e-Mail body hinzugefügt.

3. Als iCal Plugin speichern.

Save plugin

Gebt dem Plugin einen sinnvollen Namen und speichert es anschliessend. Nun sollte iCal sich mit einem neuen Event melden.

4. Wöchentlicher Event erstellen.

Automator hat durch das Speichern, automatisch einen neuen Kalender namens Automator erstellt. Mit der Maus könnt ihr den Event, der den Namen eures Plugins tragen sollte, auf den Freitag der Woche schieben.

Weekly event

Nun editieren wir das Ereignis noch ein wenig und machen daraus ein Ganztägiges Ereignis und unter Wiederholung setzen wir das Feld auf wöchentlich. Nun wird jeden Freitag, das Automator Script automatisch gestartet und informiert uns über bevorstehende Geburtstage in der folgenden Woche.

Wer nun die vielen Ereignisse stört, die jetzt automatisch angelegt wurden, kann einfach der Automator Kalender, mit der Checkbox links vom Fenster, ausblenden.

Nun hoffe ich, dass ihr nie wieder einen Geburtstag vergesst. Natürlich nur vorausgesetzt, dass ihr alle Geburtstagsdaten fleissig nachgeführt habt. :-)

Written by kab in: Apple, Internet | Tags: , , , ,

Powered by WordPress | Aeros Theme | TheBuckmaker.com