Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
orga:wahid [2009/11/21 13:12] – mro | orga:wahid [2009/12/19 23:15] (aktuell) – mro | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
= wahid - das kleine MacBook | = wahid - das kleine MacBook | ||
+ | |||
+ | [[http:// | ||
Nachdem etwas | Nachdem etwas | ||
Zeile 108: | Zeile 110: | ||
* [[http:// | * [[http:// | ||
* Adium | * Adium | ||
- | |||
- | == Zusammenspiel mit sifr | ||
- | |||
- | Die Rechnernamen " | ||
- | |||
- | **Den Rest komplett neu formulieren! http:// | ||
- | |||
- | === Backup sifr -> webspace | ||
- | |||
- | Für alles was per [[http:// | ||
- | <code bash> | ||
- | #!/bin/sh | ||
- | # | ||
- | # Alle Verzeichnisse $HOME/ | ||
- | # | ||
- | ########################################################### | ||
- | ### Lock and prepare some stuff | ||
- | ########################################################### | ||
- | |||
- | meta=" | ||
- | timestamp=" | ||
- | log=" | ||
- | lock=" | ||
- | mkdir $meta 1> /dev/null 2> /dev/null | ||
- | if [[ -f $lock ]] ; then | ||
- | echo "$0 is locked by pid `cat $lock`" | ||
- | exit 1 | ||
- | fi | ||
- | echo $$ > $lock | ||
- | |||
- | start=`date --iso-8601=seconds` | ||
- | cwd=`pwd` | ||
- | |||
- | # If the last-backup-timestamp file is not there, create a really old one: | ||
- | if [[ ! -f $timestamp ]] ; then | ||
- | touch --date=1970-01-01 $timestamp | ||
- | fi | ||
- | |||
- | function do_upload() { | ||
- | # src = `pwd` | ||
- | # $1: destination host | ||
- | # $2: destination directory | ||
- | # $3: lftp options (e.g. "-u uid, | ||
- | echo "### Backing up: `pwd` -> ftp:// | ||
- | time lftp $3 -e " | ||
- | } | ||
- | |||
- | ########################################################### | ||
- | ### Go ahead | ||
- | ########################################################### | ||
- | |||
- | for git in `ls -d $HOME/ | ||
- | do | ||
- | echo "############################################################" | ||
- | raw=`basename $git .git` | ||
- | raw=`basename $raw .svn` | ||
- | cd $git | ||
- | cd .git 2> /dev/null | ||
- | # check if there' | ||
- | if [[ `find . -type f -cnewer $timestamp | wc --lines` -eq 0 ]] ; then | ||
- | echo "### Nothing new in: `pwd`" | ||
- | else | ||
- | git update-server-info | ||
- | case $raw in | ||
- | # private repos, öffentlich via http:// | ||
- | 1001_nacht) do_upload " | ||
- | mills) do_upload " | ||
- | flno) do_upload " | ||
- | piccolo2d.java) do_upload " | ||
- | piccolo2d.net) do_upload " | ||
- | piccolo2d.site) do_upload " | ||
- | mantisbt) do_upload " | ||
- | # wegen der immensen Größe nicht auf mro.name, öffentlich via http:// | ||
- | dav_karte) do_upload " | ||
- | # Momentan ignorieren: | ||
- | sifr-mail) echo "### ignored: $git";; | ||
- | # Standard: | ||
- | *) do_upload " | ||
- | esac | ||
- | fi | ||
- | done | ||
- | |||
- | ########################################################### | ||
- | ### Terminate and unlock | ||
- | ########################################################### | ||
- | cd $cwd | ||
- | echo "# $0 finished. $start - `date --iso-8601=seconds`" | ||
- | mv $lock $timestamp | ||
- | touch $timestamp | ||
- | </ | ||
- | |||
- | === Backup wahid -> sifr | ||
- | |||
- | Mail, iChat, iCal, Zeiterfassung, | ||
- | <code bash> | ||
- | #!/bin/sh | ||
- | cwd=`pwd` | ||
- | echo " | ||
- | |||
- | arc=$HOME/ | ||
- | for src in Library/ | ||
- | do | ||
- | echo "############################################################" | ||
- | echo "### $src" | ||
- | mkdir -p " | ||
- | # rsync & spaces: http:// | ||
- | rsync -av --compress-level=9 --progress -e "ssh -l m -p 22" wahid:" | ||
- | cd " | ||
- | done | ||
- | cd $cwd | ||
- | </ | ||
- | und weiter per ftp wie oben. | ||
== Sicherheit | == Sicherheit | ||
Zeile 260: | Zeile 150: | ||
</ | </ | ||
rendert Mails nicht nur im Plain-Text, sondern unterschlägt gleich noch alle Anhänge. Das ist nicht was ich will. | rendert Mails nicht nur im Plain-Text, sondern unterschlägt gleich noch alle Anhänge. Das ist nicht was ich will. | ||
- | |||
== Hardware | == Hardware | ||
- | * Minidisplay -> DVI http:// | + | * Minidisplay -> DVI http:// |
- | * DVI -> HDMI http://webstore.gravis.de/Detail.aspx? | + | * Minidisplay -> VGA http:// |
- | * Minidisplay -> VGA http:// | + | * DVI -> HDMI http:// |
* ext. Platte 1500G http:// | * ext. Platte 1500G http:// | ||
- | * ext. Platte 1000G http:// | ||
- | * ext. Platte 500G http:// | ||
* USB HUB http:// | * USB HUB http:// | ||
* USB -> Parallel http:// | * USB -> Parallel http:// | ||
- | * Luft http:// | + | |
+ | === Später vielleicht | ||
+ | |||
+ | * NAS http:// | ||
+ | * Snow Leopard TimeMachine on Samba: http:// | ||
=== Monitor | === Monitor | ||
- | * [[http:// | + | * [[http:// |
{{tag> | {{tag> |