Site Map
js navbar
js navbar
Dies ist eine alte Version des Dokuments!
= wahid - das kleine MacBook
Nachdem etwas == Software nachinstalliert ist: * F-Script * SketchUp * jadclipse * jad * Doxygen * Core Data Model Generator * DropBox * git * Firefox * Skype * TrueCrypt * TextWrangler * Gimp (plus Mustek Scanner Support) * Inkscape * NeoOffice * Rails 1.2.3 (wie bei campusspeicher) gem install -v=1.2.3 rails * gem install plist uuid * Miro TED Player * iPhone SDK 3.0 * GnuPG & Co * MacPorts: wget, bcpp, fortune, pwgen, lftp, ImageMagick * timeEdition 1.1.6 * Evernote 50898
== Video Tutorials * Apple Übersicht: iPhone TechTalk World Tour, OS 3.0 Getting Started, Publishing on the Appstore
== Software
nachinstalliert ist, z.B.
* OpenOffice 3.0.0 - evtl. besser NeoOffice?
* Gimp 2.6.3
* Mustek Scanner Support
* Blender 2.48a
* Inkscape 0.46
* Xcode für iPhone
* Eclipse 3.4.1
* Maven 2.0.9
* Firefox 3.0.4 mit Plugins
Firebug,
YSlow,
TagSifter,
ScribeFire und
SpeedDial - letzteres allerdings mit ausgeschalteter Alt+Ziffer Abkürzung. Warum? Deswegen.
* Opera 9.62
* NetNewsWire
* MacTeX (pdfTeX 3.1415926-1.40.9-2.2)
* git 1.6.0.5
* GitX
* svnX
* GoogleEarth 4.3...
* gnupg & co.
* InCrease
* Macports
* lftp (leider nicht per dmg),
* MySql x86! incl. Gem mit diesem Tip hier.
* Rails 1.2.3 (wie bei campusspeicher) gem install -v=1.2.3 rails
* pwgen
* Tesseract 2.01 mit Fraktur Mustern
* VLC
* Freemind
* OpenProj
* CocoViewX
* ArgoUML
* TextWrangler
* Graphviz
* fortune
* Wiimote Whiteboard
* Acrobat Reader
* Coconnut Battery
* Squeak
* LyX
* wxMaxima
* Transmission
* iPhoney
* iStumbler
* Avidemux
* Reminder Dashboard Widget
* TimeEditition Zeiterfassung
* Audacity
* Miro TED Player
* bcpp Obj-C source formatter
* astyle
* uncrustify
* MailScripts
* ragel evtl. in XCode einhaken
* iPhone SDK 2.2.1
* http://support.apple.com/downloads/iPhone_Configuration_Utility_1_1_for_Mac_OS_X
* Calibre
* TrueCrypt 6.1a + DropBox: http://friendfeed.com/e/0acf3fcc-fc1d-8d8f-386b-b76c73d453c2/TrueCrypt-system-bergreifend-verschl/
* Saft
=== TODO
* TagIt (MailTags)
* Alarm Clock
* ffmpeg
* http://synergy2.sourceforge.net/
* Postgresql
* PdfLab
* Image Icon Converter
* (EyeTV)
* Zattoo
* VectorDesigner
* AbiWord 2.4.5 - fühlt sich aber leider fast langsamer als OO an
* Adium
== Zusammenspiel mit sifr
Die Rechnernamen „sifr“ und „wahid“ hab' ich wechselseitig in der /etc/hosts
mit den entsprechenden (LAN) IPs eingetragen.
Den Rest komplett neu formulieren! http://blog.mro.name/2009/03/vserver-mit-gentoo-oder-doch-besser-ohne/**
=== Backup sifr → webspace
Für alles was per git versioniert ist, ist die Synchronisation einfach - wahid geht per git clone ssh:/ /sifr/…
auf die .git Ordner von sifr. Von dort geht's als Backup per ftp auf den Webspace:
#!/bin/sh # # Alle Verzeichnisse $HOME/archive/repos/*.git per lftp sichern # ########################################################### ### Lock and prepare some stuff ########################################################### meta="$HOME/.`basename $0`" timestamp="$meta/timestamp" log="$meta/log" lock="$meta/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,pwd", usually "") echo "### Backing up: `pwd` -> ftp://$1$2" time lftp $3 -e "mirror --verbose --reverse --delete . $2;quit" $1 } ########################################################### ### Go ahead ########################################################### for git in `ls -d $HOME/archive/repos/*.git` do echo "############################################################" raw=`basename $git .git` raw=`basename $raw .svn` cd $git cd .git 2> /dev/null # check if there's modified stuff at all: 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://git.mro.name/...: 1001_nacht) do_upload "mro.name" "/html/name.mro/git/$raw.git" "";; mills) do_upload "mro.name" "/html/name.mro/git/$raw.git" "";; flno) do_upload "mro.name" "/html/name.mro/git/$raw.git" "";; piccolo2d.java) do_upload "mro.name" "/html/name.mro/git/$raw.git" "";; piccolo2d.net) do_upload "mro.name" "/html/name.mro/git/$raw.git" "";; piccolo2d.site) do_upload "mro.name" "/html/name.mro/git/$raw.git" "";; mantisbt) do_upload "mro.name" "/html/name.mro/git/$raw.git" "";; # wegen der immensen Größe nicht auf mro.name, öffentlich via http://git.mrohrmoser.de/...: dav_karte) do_upload "mrohrmoser.de" "/subdomains/git/httpdocs/$raw.git" "";; # Momentan ignorieren: sifr-mail) echo "### ignored: $git";; # Standard: *) do_upload "mrohrmoser.de" "/private/backup-dev/$raw.git" "";; esac fi done ########################################################### ### Terminate and unlock ########################################################### cd $cwd echo "# $0 finished. $start - `date --iso-8601=seconds`" >> $log mv $lock $timestamp touch $timestamp
=== Backup wahid → sifr
Mail, iChat, iCal, Zeiterfassung, Safari und Firefox gehen per rsync zuerst von wahid nach sifr in ein git Arbeitsverzeichnis,
#!/bin/sh cwd=`pwd` echo "Backup Communication from wahid. Ensure it's connected." arc=$HOME/archive/wahid for src in Library/Calendars Library/Mail Documents/iChats 'Library/Application Support/timeEdition' Library/Safari Library/MobileSafari 'Library/Application Support/Firefox' do echo "############################################################" echo "### $src" mkdir -p "$arc/$src/.." # rsync & spaces: http://samba.anu.edu.au/rsync/FAQ.html#9 rsync -av --compress-level=9 --progress -e "ssh -l m -p 22" wahid:"\"/Users/m/$src\"" "$arc/$src/.." cd "$arc/$src" && git add . && git commit -m "backup $src by $0" done cd $cwd
und weiter per ftp wie oben.
== Sicherheit
=== Filesystem Home Verzeichnis per FileVault geschützt. Ich denke, das wirkt allerdings nur, wenn man sich ausloggt und nicht einfach zuklappt, oder?
=== Email anstatt gnupg (siehe oben) reicht auch ein X.509 Zertifikat z.B. von Thawte. Das Prozedere ist z.B. hier oder da nochmal genauer beschrieben.
== Schmutzige Tricks
=== Home Verzeichnis
Softlink /home
→ /Users
und in der /etc/auto_master
die Zeile
orga}
auskommentiert. Grund: es gibt einige Softlinks zu (ftp) Deploy Scripten, die per git versioniert sind und drum systemübergreifend gleich sein sollten. Und /home
ist einfach der "richtige" Name.
=== Benutzer zur Gruppe wheel
How to add a user to the wheel group?
=== Versteckte Dateien im Finder anzeigen
um das ein- und ausschalten zu können habe ich 2 Aliase in der .bashrc
:
# http://www.macworld.com/article/51830/2006/07/showallfinder.html alias hidden-show="defaults write com.apple.Finder AppleShowAllFiles YES;killall Finder" alias hidden-hide="defaults write com.apple.Finder AppleShowAllFiles NO;killall Finder"
== Verbrannte Finger
=== Mails im Plain-Text
$ defaults write com.apple.mail PreferPlainText -bool TRUE
rendert Mails nicht nur im Plain-Text, sondern unterschlägt gleich noch alle Anhänge. Das ist nicht was ich will. == Hardware * Minidisplay → DVI http://store.apple.com/de/product/MB570Z/A?fnode=MTY1NDA5OQ&mco=MTE0MTMzODM http://www.heise.de/preisvergleich/a375221.html * Minidisplay → VGA http://store.apple.com/de/product/MB570Z/A?fnode=MTY1NDA5OQ&mco=MTE0NDc2MTU http://www.heise.de/preisvergleich/a375189.html * DVI → HDMI http://webstore.gravis.de/Detail.aspx?pid=170000000000000076
=== bald * ext. Platte 1000G http://www.heise.de/preisvergleich/a459541.html http://nb-computer.de/produkte.php?show=9125&fromCat=15 * USB HUB http://nb-computer.de/produkte.php?show=6525&fromCat=10 http://www.delock.de/produkte/gruppen/Hubs/Delock_HUB_USB_20_extern_4_Port_61393.html * USB → Parallel http://nb-computer.de/produkte.php?show=6358&fromCat=23 * Luft http://nb-computer.de/produkte.php?show=8831&fromCat=198
* ext. Platte 1500G http://www.heise.de/preisvergleich/a459516.html http://nb-computer.de/produkte.php?show=9126&fromCat=15 * ext. Platte 500G http://nb-computer.de/produkte.php?show=9233&fromCat=15 === Monitor * Iiyama ProLite H481S - http://www.heise.de/preisvergleich/a152250.html