2017-08-26
In 2012 and 2014 I've blogged about my FreeBSD based backup system. Lucky me didn't need it until now. But this month I've got a new computer and took this as a chance of testing the full restoring of all data. I've learned two lessons I've want to share here.
more
Video reencoding
2017-06-01
All started when I've got a new toy: a GoPro Hero 5. So I went out and took a 37 minute video. It turned out to be 13GB splitted in multiple chunks of 4GB. That is a lot of memory especially when you do make serious backups. As I knew that the were encoded in H.264 and that H.265 should reduce the file size about 50 percent I've started to look for a way to reencode.
more
JavaFX: Printing TextView content
2016-09-15
This post is about printing in JavaFX. To be more precise: About printing the contents of a TableView. While printing the screenshot of any node is quite easy I was struggling with the TableView and a google search told me that others have difficulties too. After some more search I found the reason on the OpenJFX wiki:
"Rendering of large tables etc is not best handled by rendering a
TableView directly. A reporting package might be a better
approach."
more
JavaFX: Text rendering in TableView
2016-07-31
This post is about text rendering in JavaFXs TableView.
The TableView uses TextCells that descend (indirectly) from
Labeled. You may expect that this way it should support text
rendering but unfortunately this is only true when you have basic
requirements. As soon as you want fancy things, like displaying
long lines of text completely, you are out of basic support.
Please note that all samples were created and testet with
jdk1.8.0_102. I hope that later versions won't have this bugs and
thus this post may become irrelevant.
more
Editable combobox with jqueryui
2016-07-14
For one of my projects I needed an editable combobox in a web app. As I had already included the date picker from jqueryui I've searched there for it. There was no obvious solution but when going to autocomplete there was an example that looked and felt like the needed editable combobox. Unfortunately it turned out to be only a code sample and not a ready to use component. As the sample includes a lot of code I made this post to point the two important issues and to show my implementation.
The two import issues are:
- Create a dom element that looks like the drop-down button next
to a textfield and add listeners that will trigger the
open/close of the item list.
- Create the autocomplete with minLength 0. The default is 1 which means without it the item list will only show after 1 character is entered.
My HTML:
more
Firefox error: No element found
2016-06-15
Today I've got a strange error message in my JavaScript console in Firefox: No element found. It appeared while a GET that was done in the callback function of a POST and had the first line and first character of my script file as source.
more
Fun with Java EE, JavaScript and date
2016-06-14
Recently I had some fun with dates while developing an app with a JavaEE Backend and a JavaScript Frontend. Here are my notes about it.
more
Ubuntu 16.04 and Owncloud
2016-05-14
Today I've updated my ubuntu 15.10 to 16.04 and wanted to start my owncloud. It didn't start. The error was pretty obvious. There was no php5. To get it back working I've looked up my install instruction and replaced the version 5 packages with the one from version 7. That didn't help at all. Now you need more packages. The complete list:
- php-fpm
- php7.0-sqlite3
- php-curl
- php-gd
- php-zip
- php7.0-xml
- php7.0-mbstring
The last three are new. I've found out about php-zip and
php7.0-xml by installing a fresh copy of owncloud. The last one (php7.0-mbstring)
is only needed for contacts.
more
Setting up owncloud and your android device to sync
2016-03-28
This post is about syncing data between owncloud and your android device. With data I mean contacts, calendar and backing up pictures.
more
Creating your own CA and certificates to sign with
2016-03-27
As I was taking actions to increase my privacy I found it wrong to use unencrypted connections. It is a proven fact now that everything that can be intercepted will be intercepted. I had already used self signed certificates and knew all the trouble you get with them. I expected things to get worse as I planned to set up some services on other computers in my home network. The solution for this is to be my own CA (Certificate Authority). This sounds difficult but I've found plenty tutorials explaining everything in detail. I've decided to start with https://jamielinux.com/docs/openssl-certificate-authority/index.html.
more
PreviousNewer