$ openssl passwd -1
Berechtigungen von Verzeichnisbaum ändern (chmod)
find verzeichnis/ -type d -exec chmod o=rx {} \; find verzeichnis/ -type f -exec chmod o=r {} \;
Install new Perl modules
$ perl -MCPAN -e 'install Palm::PDB'
Note: In case of Palm::PDB this doesn’t work, you have to download and install Palm::PDB manually.
Mozilla Browser
Log SSL-Connections:
To log SSL-connections for imap-sessions enter
# export NSPR_LOG_FILE=/tmp/mozlog.txt # export NSPR_LOG_MODULES=IMAP:5
and start mozilla.
Update: This does also work with thunderbird and firefox. See also Mozilla Wiki
Change user agent string:
In prefs.js:
user_pref("general.useragent.override", "my own useragent string");
Ausgabe X/Y-Position der Maus in einer figure in Matlab
Mit dem Befehl ginput(n)
können n X/Y-Positionswerte durch Klicken mit der Maus aus einer figure ausgelesen werden. Die Positionswerte entsprechen dabei dem tatsächlichen Koordinatensystem (es werden nicht die Positionswerte des Fensters zurückgeliefert).