In case you ever want to rotate a postscript file that’s in seascape orientation into ordinary landscape orientation, e.g. because IDL produces postscript files that are seascape, you can use this command for ghostscript:
gs -dBATCH -dNOPAUSE -sOutputFile=pstest.pdf -sDEVICE=pdfwrite “-dAutoRotatePages=/None” -c “<< /Orientation 1 >> setpagedevice” 0 rotate 0 0 translate -f pstest.ps
gs -dBATCH -dNOPAUSE -sOutputFile=pstest.pdf -sDEVICE=pdfwrite "-dAutoRotatePages=/None" -c "<< /Orientation 1 >> setpagedevice" 0 rotate 0 0 translate -f pstest.ps
where of course pstest.pdf and pstest.ps are the names of the files.
I didn’t find on the internet whether Apple’s new iOS 4 would still allow Tethering for free iPhones, e.g. iPhones bought in Italy (like mine) and used with any SIM card. So I had to try out myself to find out: It does.
Auf mehrfache Nachfrage hin poste ich hier das Rezept nach dem ich Kartoffelsalat mache. Ich habe es von meinem Opa, Kurt Brüggeller.
Zutaten
- 4 mittelgroße speckige Kartoffeln (pro Person)
- rote Zwiebeln
- Essiggurken, süß-sauer
- Senf
- Kren (Meerrettich), am besten pur also kein” Gourmet-Sahne-Meerrettich” o.ä.
- Salz, Pfeffer, je nach Geschmack etwas Petersilie
- Raps- oder Sonnenblumenöl
- Apfelessig
- Evtl. mit Garnitur: hartgekochtes Ei, Schnittlauch, (Cocktail-)Tomaten
Zubereitung
Kartoffeln kochen, auskühlen lassen, schälen, fein blättrig schneiden. Zwiebeln und Essiggurken fein schneiden, alles gut mischen. Abschmecken, mindestens drei Stunden in den Kühlschrank. Dort ziehen die Kartoffeln viel Wasser, daher darf der Salat vorher ruhig recht feucht sein, damit er am Schluss nicht zu trocken wird.
Guten Appetit!
Thank you, dear browser developers, for trying hard to protect us innocent web surfers from the evils of the web. While features such as phishing protection might really be helpful, another very widely used, but seldomly recognised, feature isn’t. I am talking about the “autocomplete=off” feature here that prevents website to save login credentials in a system-wide password-manager (such as Keychain under Mac OS X). Meant to protect banking websites and other high-security sites, some webmasters apparently feel a need to use it for trivial-use websites such as Google or Deutsche Bahn. This is both annoying and dangerous. Annoying it is of course because it requries you to look up the password everytime you want to log in to that website. Dangerous it is, because people then might store passwords again in un-protected lists and / or copy-paste their login data to the form thereby making the data more easily accessible by intruders.
Solution? As in many cases: Use Firefox. While there seem to be some work-arounds to fix this annoying feature for older versions of Safari, newer versions of WebKit (the HTML engine underlying Safari) don’t seem to be patchable this way. However, with Firefox together with the add-on Greasemonkey, you can use scripts to enhance your surfing experience. The script re-enable_password_manager by andunix did the job for me. Now the Deutsche Bahn website opens again with login data pre-filled — as it should.
One final note about Greasmonkey: Don’t let yourself be confused by the options that it offers you when adding a new script. In case it did nevertheless, this Stackoverflow webpage might help clarify things.
Unfortunately ps2pdf doesn’t allow that. But with a script as simple as that it will convert all ps files in your working directory into pdf and delete the original files:
#!/bin/bash
##
## Written by Leonard Burtscher (burtscher@mpia.de)
## 20 Apr 2010
##
##
## PURPOSE
##
##
## To transform all ps files of a directory into pdf using ps2pdf
## Then delete all ps files
##
filelist=`(find . -name \*.ps)`
for i in $filelist; do
ps2pdf $i
rm $i
echo ‘Converted $i into pdf, deleted original file.’
done
#!/bin/bash
filelist=`(find . -name \*.ps)`
for i in $filelist; do
ps2pdf $i
rm $i
echo 'Converted $i into pdf, deleted original file.'
done