Category: Hacking

safari 4 sets (get back your safari 3 gui)

Disable new Toolbar Features (e.g. tabs on top) defaults write com.apple.Safari DebugSafari4IncludeToolbarRedesign -bool NO Disable iPhone-Style Progress-Bar defaults write com.apple.Safari DebugSafari4LoadProgressStyle -bool NO via: fscklog.com

Code Fundstücke

http://mbff.hausswolff.de/TEST_map.php was man damals alles so gemacht hat 😀 Blogged with the Flock Browser

sophisticated Backups mit Rsync Part II

Version 3.1 Features: Logs werden nun gzip komprimiert wöchentliche Backups aus der vorherigen Woche werden tar.gz komprimiert   #!/bin/sh # Philipp’s backup-scripte version 3.1 ROOT=`pwd` BACKDIR=$ROOT/backup D=`eval date +%Y-%m-%d` W=`eval date +%Y-%W` w=`eval date +%w` LATEST=”latest” EXCLUDE=$ROOT/exclude.txt SOURCES=$ROOT/sources.txt LOG=$ROOT/log/$D.log # Array mit allen ben‚‚tigten Verzeichnissen und Ordnern folders=( $ROOT/log ) files=( $EXCLUDE $SOURCES $LOG) for

quick note: subversion

find all .svn folders: find . -type d -name .svn ./.svn ./sourceA/.svn ./sourceB/.svn ./sourceB/module/.svn ./sourceC/.svn delete all .svn folders: rm -rf `find . -type d -name .svn`   via: http://www.anyexample.com/linux_bsd/bash/recursively_delete__svn_directories.xml

instant jruby & derby environment für eine RoR Anwendung

Als angestammter Java-Entwickler geht es mir oftmals schwer von der Hand, einer Ruby on Rails (RoR) Anwendung mit relativ wenig Aufwand eine brauchbare Laufzeitumgebung zu bieten. Normalerweise sollte das OS (MacOS 10.5.6) alles Brauchbare bieten. So ist oftmals eine Rails-Version installiert und auch das (standardmäßig genutzte) SQlite 3 ist vorhanden. Dennoch sind es oftmals Plugins

a wood with a chain and a padlock

what to do, if you locked yourself out from Mac OS?

Yesterday I found myself in a strange situation: Every Shell Command I tried to use ended up with a “command not found“. This happened with sudo, nano … you name it. After a short time, I figured out that the folder /usr/bin (where all these programs are stored) had only executable rights for the owner

sophisticated Backups mit Rsync

Backups sind wichtig. Jeder der einmal vor einer kaputten, ratternden Festplatte gesessen hat, weiß wie frustrierend das Wissen ist, alle seine Daten ins informationstechnische Nirwana entschwinden zu sehen. Ist ein Backup der persönlichen Daten noch mit relativ geringem Aufwand möglich (so es denn regelmäßig veranstaltet wird), so wird ein Backup eines Server-Systems in vielen Dingen

Nexenta iSCSI Target Setup

root@sunny:~# zfs create tank/home root@sunny:~# zfs create tank/home/philipp root@sunny:~# zfs create -V 250M tank/home/philipp/TM root@sunny:~# zfs set shareiscsi=on tank/home/philipp/TM root@sunny:~# iscsitadm modify target -p 1 tank/home/philipp/TM root@sunny:~# zfs list NAME                             USED  AVAIL  REFER  MOUNTPOINT syspool                          689M  16.6G    23K  none syspool/rootfs-nmu-000           688M  16.6G   641M  legacy syspool/rootfs-nmu-000@initial  47.3M      –   631M  – tank                             250M  1.34T    21K  /tank tank/home                       

eingescannte Bilder konvertieren und Timestamp setzen

Da ich die letzten Tage gezwungenermaßen sehr viel Zeit hatte (warum kommt später) und ich irgendwie mal Grund in meine Kisten und Boxen bringen möchte, habe ich angefangen, meine (Papier-) Fotos einzuscannen und in iPhoto zu übertragen. Die Frage stelle sich mir nun, wie ich aus 200 Tiff Dateien die das aktuelle Datum tragen (also

my very first (ehm… useful ?!?!) ruby script.

So concerning my first try of a web based zfs managment interface i will restart the project with some new conditions: 1. i will switch from the former language PHP to the – like everywhere told – dev-friendly language ruby. 2. i will first concentrate on just the basic functions. 3. i have to use

1 4 5 6 7 8 10