Archive for category Uncategorized

Getting akonadi to start: a one-line fix

Today I was fixin’ to try out korganizer on my Kubuntu 16.10 system, but when I ran it it made noises about the akonadi service not being started. When I ran akonadictl start I got this ugliness… Read the rest of this entry »

Leave a comment

Why ember test –server was failing

When I tried to run ember test –server on my Linux machine I got the following:

$ ember test --server
DEPRECATION: Overriding init without calling this._super is deprecated. Please call `this._super.init && this._super.init.apply(this, arguments);` addon: `release`
    at /home/dmeyer/code/ember-engine-supportability/node_modules/ember-cli/lib/models/project.js:407:38
Could not start watchman
Visit https://ember-cli.com/user-guide/#watchman for more info.
DEPRECATION: ember-cli-test-loader should now be included as an NPM module with version 1.1.0 or greater.BuildingWarning: ignoring input sourcemap for bower_components/vis/dist/vis.min.js because ENOENT: no such file or directory, open '/home/dmeyer/code/ember-engine-supportability/tmp/source_map_concat-input_base_path-RxdP9vul.tmp/bower_components/vis/dist/vis.map'
Warning: ignoring input sourcemap for bower_components/vis/dist/vis.min.js because ENOENT: no such file or directory, open '/home/dmeyer/code/ember-engine-supportability/tmp/source_map_concat-input_base_path-RxdP9vul.tmp/bower_components/vis/dist/vis.map'
⠇ Buildingfs.js:1431
    throw error;
    ^

Error: watch /home/dmeyer/code/ember-engine-supportability/tmp/source_map_concat-output_path-GJOxdYTW.tmp ENOENT
    at exports._errnoException (util.js:1022:11)
    at FSWatcher.start (fs.js:1429:19)
    at Object.fs.watch (fs.js:1456:11)
    at FSMonitor._measure (/home/dmeyer/code/ember-engine-supportability/node_modules/heimdalljs-fs-monitor/index.js:66:21)
    at Object.watch (/home/dmeyer/code/ember-engine-supportability/node_modules/heimdalljs-fs-monitor/index.js:82:30)
    at NodeWatcher.watchdir (/home/dmeyer/code/ember-engine-supportability/node_modules/sane/src/node_watcher.js:144:20)
    at NodeWatcher.<anonymous> (/home/dmeyer/code/ember-engine-supportability/node_modules/sane/src/node_watcher.js:278:14)
    at FSReqWrap.oncomplete (fs.js:123:15)

All my mac friends were doing fine. What was the matter? Read the rest of this entry »

Leave a comment

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