Archive for category Uncategorized

How to switch from gnome to kde on Ubuntu

Here’s how I did it, anyway:

sudo apt remove gnome-*
sudo apt install kubuntu-desktop

(HT: Askubuntu here and here.)

I’m on Ubuntu 16.04 LTS.

Leave a comment

Fixing the new class code template in IntelliJ IDEA

When I created a new class in IntelliJ IDEA, I’d get an automatic javadoc comment “Created by dmeyer on xx/xx/xx.” I wanted it to spell out my name…

To fix this, I went into File | Settings… | File and Code Templates | Includes | File Header and changed ${USER} to daniel meyer.

(I’m on IntelliJ IDEA 2016.1.2 Linux)

Leave a comment

How to run asciiquarium on Ubuntu

Asciiquarium is a fun ASCII art program. How to get it running on Ubuntu?

  1. Get the tarball:
  2. Then…
    sudo mkdir /opt/asciiquarium
    cd /opt/asciiquarium
    #untar the tarball here, then...
    sudo apt-get install libcurses-perl
    cpan install Term::Animation
    perl asciiquarium



Leave a comment

How to have some roman numeral page numbers and some arabic page numbers in an existing document in LibreOffice

I needed to format an existing LibreOffice 4.3 document to have some beginning pages with no page numbers, then some pages numbered with roman numerals (i, ii, iii…), then the rest of the pages numbered with arabic numerals (1, 2, 3…). Here’s how you do it.

1. Create a page style that will do roman numeral page numbers in the footer

1.1. Go to Format -> Styles and Formatting (or press F11)…

libreoffice-multiple-footer-styles-1 Read the rest of this entry »


Leave a comment

Making an ugly podcast page look better in Drupal OpenChurch

We currently use Drupal OpenChurch for our church website. On the sermon podcast page, any time there was a long sermon title the “play mp3 file” link would overwrite some of the text of the title, looking ugly: Read the rest of this entry »


Leave a comment

Clearing the cache on Oracle and SQL Server

To clear the cache on Oracle:


To clear the cache on SQL Server:



Leave a comment

SQL Server named instance vs. default instance

When you’re installing SQL Server (2008 R2 in my case) and you are prompted whether you want to create a default instance or a named instance, understand that creating a named instance means that you will be required to add that instance name to the server name when you connect via SQL Server Management Studio (SqlServerName\InstanceName). If you want to be able to connect to your instance without having to specify it explicitly, create a default instance. Then you just connect to SqlServerName and it finds the default instance.

Leave a comment