Recently I had trouble opening PDF documents embedded in Microsoft Word. I speculated about the following reasons for this problem:
- Adobe Acrobat not installed, I use MuPDF
- Embedded document simply not “really” embedded but just an icon
There is an easy solution. Microsoft Word 2007 documents are just zip-files. Just look at output of
7z l WordDocument.docx
word/embeddings contains the embedded files, regardless of its type.
By the way, LibreOffice/OpenOffice files are also just zip-files.
This blog was viewed more than 50.000 times and had more than 37.000 visitors. I wrote about the development of this blog as follows:
- 2014/05/07: 5.000 Views
- 2014/09/10: 10.000 Views
- 2014/12/27: 15.000 Views
- 2015/04/23: 20.000 Views
- 2016/01/24: 30.000 Views
- 2016/11/12: 40.000 Views
The averages per day are: Continue reading
As noted in Youtube 500 Internal Server Error today I again noted an “500 Internal Server Error”. Normally you would not expect these kind of errors from Google. It says:
Sorry, something went wrong.
A team of highly trained monkeys has been dispatched to deal with this situation.
If you see them, send them this information as text (screenshots frighten them):
I have written on the Hugo static site generator here. Now I have written a migration program in the Go programming language to convert from WordPress export format to Hugo format. This program wp2hugo.go is in GitHub. It can be freely downloaded and does not need any further dependencies, except, of course, Go. The Go software is in Arch Linux or Ubuntu.
To convert a blog from WordPress you have to create an export file.
If the blog is not too voluminous one downloads a single XML-file which contains all posts and pages. If the blog in question is larger then you will receive an e-mail from WordPress.com that you can download a ZIP which contains two or more XML files in them. If you have such a ZIP-file, then unpack it, for example by using p7zip. Then run
go run wp2hugo.go XML1 XML2 ...
In June 2016 Gustavo Duarte launched Grokbit. This allows to very easily browse the Linux kernel source tree.
This is much better than using Perl,
grep, etc. for wandering through the code.
I purchased an Odroid-XU4 for ca. 80 EUR including power-supply and case from Pollin. The original manufacturer is hardkernel. I intended to use this small ARM computer as a router and firewall. In the past I had used routers from multiple vendors, e.g., Linksys/Cisco, TP-Link, AVM/FritzBox, Netgear, and so on. There is a rule of thumb with all these devices: Usually you have to reboot them once or twice a month, otherwise they misbehave somehow. At least three of these device went completely catatonic. Now I had enough of this, I also wanted a command line interface to the router, ideally a real Linux system with
gcc, etc. Although I already own an Intel NUC and I am very happy with this computer, an Intel NUC is a little bit too expensive to be used as just a router.
I recommend to additionally purchase a RTC backup battery. The Odroid has a realtime clock, but looses all date and time information once powered off. This way the log of the computer is garbled.
As described in Commuting to Work with an E-Bike I drive to my work place using an e-bike. As I found out that using a bike is a viable alternative to public transport I bought a better e-bike after about a year. I bought my first e-bike in March 2015, my second in December 2015, and used it since January 2016. With this second e-bike I now exceeded more than 10.000 km within a year, as shown in below photographs from the odometer. In total I have now travelled about 20.000 km with my two bikes within two years, i.e., I cycled half the earth perimeter.