Ubuntu 18.04 and Java Web Start

Submitted by Tha-Fox on 2019-10-09

I promised to configure a laptop to a friend of mine, who needed to run one Java-based application on it. Little did I know, what I had promised. My idea was to install Ubuntu 18.04 and OpenJDK and be done with it.

When my plan was implemented in reality and it was time for the first test, I noticed there was only a big white window on the screen. We decided to RTFM and found the instructions. They recommended using Windows XP and Oracle's Java.


Sharing Office 365 calendar to Gmail

Submitted by Tha-Fox on 2019-08-09

Sharing your Office 365 calendar to Gmail consists of two steps.

1) Log in Office 365, open your calendar's settings and publish it. Take a note of HTML link.

2) Log in to Gmail, open calendar's settings and and a new calendar from URL. Paste the HTML link there and name the calendar with a descriptive name.

Don't worry, if you can't see the calendar events right away. It may take 24 hours for them to appear in Gmail calendar.

Installing Gitlab CI

Submitted by Tha-Fox on 2019-08-07

I've had self hosted Gitlab instance running for a long time along the gitlab.com service. After an upgrade I noticed Gitlab had CI enabled on repositories by default. This got me pondering on enabling the CI features on my own instance. I'm using Ubuntu 18.04, but on the official instructions there are other distributions like CentOS, Fedora and Debian, mentioned. So here is a brief guide to my future self.


Restoring deleted Nextcloud calendar entries

Submitted by Tha-Fox on 2019-07-23

Today I was playing with CalDavSynchronizer. I tested different configuration options for synchronization and ended up with some of my calendar entries deleted. I knew there were a couple of other Nextcloud users on my server so I checked whether it is suitable to restore the calendar from last night's backup.

This is written based on my own experience so YMMV. This has been tested on Nextcloud 16.0.3 and MariaDB 10.4.6.


Packages to install after OpenWRT upgrade

Submitted by Tha-Fox on 2019-02-16

After upgrading the OpenWRT in my router to a new version I lose every time my DLNA and SMB shares. To remind me for the next time here are the commands to get the shares up and running in a minute. The configurations are there after all, so only the installation of the needed packages is needed.

opkg update && opkg install block-mount e2fsprogs kmod-fs-ext4 kmod-usb-storage kmod-usb2 kmod-usb3 samba36-server luci-app-samba minidlna luci-app-minidlna

/etc/init.d/minidlna start && /etc/init.d/minidlna enable


HP OfficeJet paper mismatch

Submitted by Tha-Fox on 2018-06-11

I got an HP OfficeJet 7500A Wide Format printer for free and decided to try it out. It is a wireless printer and every operating system I'm using (Arch Linux, MacOS and Windows 10) worked without a hitch except for one thing: printing. I thought I would face problems with Arch and scanning over network but the only problem was paper mismatch.

Migrating from ownCloud 9.1 to NextCloud 9.0

Submitted by Tha-Fox on 2016-08-03

After I read about Frank Karlitschek leaving ownCloud, Inc. and creating Nextcloud, I've been pondering whether I should migrate to Nextcloud or continue using ownCloud. The latter has been working for me just fine except the Music app, which I've replaced with Youtube. As a home user, the enterprise features aren't my concern, either.

Installing geshi filter

Submitted by Tha-Fox on 2013-10-14

I have many posts that include lines from configuration files. I have previously used custom CSS to make those lines more readable. Now as I migrated to Drupal I wanted more generally used solution. I found some discussion around this theme from here: http://drupalmotion.com/article/syntax-highlighting-drupal After taking some time to familiarize myself with the matter it was an easy decision to choose GeSHi. It is perhaps a bit of an overkill for my needs but I have some spare CPU cycles and hard disk megabytes so why not.