Archive for category Uncategorized

Quick ‘n’ dirty blog to paperback

So you’ve got a blog with several years of posts and photos on it and you want to make a book out of it to preserve those memories but you don’t have time to design each page. You need an automated-ish solution. What to do?

Here’s what I did…

Step 1: Blogbooker.com

First I went to blogbooker.com. After playing around with their free plan to figure out what I wanted, I sprang for their $19 package and chose the following options:

  • PDF output
  • High (lossless) picture quality
  • 7.5″ x 9.25″ paper size (important!)

I did not include comments or a table of contents, as these severely blimped out the size of the book.

Here’s a view of blogbooker.com’s options… Read the rest of this entry »

, ,

Leave a comment

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: http://www.robobunny.com/projects/asciiquarium/html/
  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

(HT: Askubuntu.com)

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:
clearnotechurch.com-ugly-podcast-page-01 Read the rest of this entry »

,

Leave a comment

Clearing the cache on Oracle and SQL Server

To clear the cache on Oracle:

ALTER SYSTEM FLUSH BUFFER_CACHE;
ALTER SYSTEM FLUSH SHARED_POOL;

To clear the cache on SQL Server:

CHECKPOINT;
GO
DBCC DROPCLEANBUFFERS;
GO

,

Leave a comment