Blog
-
.properties – Java’s Property Resource Bundles
.properties – Wikipedia, the free encyclopedia
- For Western Europeans it’s quite comfortable to be able to edit .properties files in ISO-8859-1 aka Latin-1.
- The 1st German .properties file, that I came across, was actually written using ‘u00HH’ for the German umlauts, with HH being the hexadecimal digits of the Latin-1 encoding of the character.
I looked up the Wikipedia article on Unicode, and I learned that this is a perfectly legal encoding of the Latin-1 character set, i.e. the 1st 256 characters of Latin-1 and Unicode (resp. its “BMP”) are the same. - …
-
how to burst a PDF document into single pages (etc.)
This command line shows, how to get the output files named your way:
$ pdftk … burst output ‘page.%02d.pdf’
Split Select Pages from Multiple PDFs into a New Document:
$ pdftk A=one.pdf B=two.pdf cat A1-7 B1-5 A8 output combined.pdf
Select a single page (#130) into a new document:$ pdftk A=one.pdf cat A130 output one.p130.pdfExtract pages 10 through 11 to y.pdf :$ pdftk x.pdf cat 10-11 output y.pdfPlease find more information (like examples, man page, …) on pdftk through the link above!
-
.DS_Store – Wikipedia, the free encyclopedia
.DS_Store – Wikipedia, the free encyclopedia
From www.greci.cc:
By default, MacOS X will create a .DS_Store file in every folder it accesses, while this is ok in OS X it may be annoying for network shares. To prevent the creation of .DS_Store files on network volumes execute this from a Terminal:defaults write com.apple.desktopservices DSDontWriteNetworkStores true
-
The SAXON XSLT and XQuery Processor
The SAXON XSLT and XQuery Processor
Downloaded Saxon-HE from the above URL on my Linux box, decided to go for the Java variant, installed saxonhe.jar and “the resources” into /usr/local/saxon-resources9-3.
I wasn’t able to browse the documentation below saxon-resources9-3/doc with Chrome-10, so I use Firefox-3.6 for that.
But I also read the documentation here.This is from “Getting started with Saxon on the Java platform”, adapted for my Unix-like platform:
$ java -cp /usr/local/saxon-resources9-3/saxon9he.jar net.sf.saxon.Query -t ‘-qs:current-date()’
Well, no error messages. I like that. Looks like I got all preconditions fulfilled.
More command lines tries from there:
$ cd /usr/local/saxon-resources9-3$ java -cp /usr/local/saxon-resources9-3/saxon9he.jar net.sf.saxon.Transform -t -s:samples/data/books.xml -xsl:samples/styles/books.xsl -o:$HOME/temp.html
$ java -cp /usr/local/saxon-resources9-3/saxon9he.jar net.sf.saxon.Query -t -s:samples/data/books.xml -q:samples/query/books-to-html.xq > $HOME/temp.html
(to be continued)
-
Moshe Zimmermann – Wikipedia, the free encyclopedia
Moshe Zimmermann – Wikipedia, the free encyclopedia
Being interview on the radio (Deutschlandfunk) Zimmermann (an Israeli historian and publicist) just made a statement on his former student Moshe Katsav, Israel’s former, 8th president, who was convicted of rape today.