Have you copied your sequentially-numbered mp3 files onto your USB device and then been surprised to find that they play out of order on your car stereo? You might need to sort the device’s file allocation table… Continue reading
When I tried to run
ember test --server I got the following error:
Chromium does not appear to be installed, testem cannot run.
…even though Chromium was too installed. To fix this, I ran the following:
Just install kio-extras, then the dolphin file manager will find the files:
<code>sudo apt install kio-extras</code>
(This enables MTP mode.)
On my Ubuntu system I had a lynis script set up to check my company computer’s setup daily and upload a report. The script ran fine when I ran it directly at the command line, but it never seemed to run via cron.
I examined the error output that cron emails you and found this… Continue reading
Whenever I used ssh, I would constantly be getting warnings like this:
Warning: Permanently added 'somehost.org,126.96.36.199' (RSA) to the list of known hosts.
The warning would show up even when I was connecting to a host and IP address I’d connected to previously.
The solution was to add the following line to my ~/.ssh/config file… Continue reading
Are you getting a Cucumber “Annotations differs on glue classes found” error on two different integration tests, even though they don’t share any feature definition code (Given/When/Then)? You might try putting your two integration test classes in separate packages. That worked for me.
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… Continue reading
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? Continue reading
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… Continue reading
Scenario: To make use of a new feature in a certain dependency or to get a bugfix that’s causing your project pain, you bump the version of a dependency in your pom file — maybe the parent pom version. Then you type
…put your hands over your eyes, and gingerly press Enter.
You may see something like this:
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps failed with message: Failed while enforcing RequireUpperBoundDeps. The error(s) are [ Require upper bound dependencies error for org.slf4j:slf4j-api:1.7.11 paths to dependency are: +-com.example.blah:blah-service:2.0.1-SNAPSHOT +-org.slf4j:slf4j-api:1.7.11 and +-com.example.blah:blah-service:2.0.1-SNAPSHOT +-com.netflix.hystrix:hystrix-core:1.5.4 +-org.slf4j:slf4j-api:1.7.11 (managed) < -- org.slf4j:slf4j-api:1.7.10 and +-com.example.blah:blah-service:2.0.1-SNAPSHOT +-com.example.framework:example-core:0.5.9-SNAPSHOT +-org.slf4j:slf4j-api:1.7.11 (managed) < -- org.slf4j:slf4j-api:1.7.7 and +-com.example.blah:blah-service:2.0.1-SNAPSHOT +-com.example.framework:example-core-data:0.5.9-SNAPSHOT +-org.slf4j:slf4j-api:1.7.11 (managed) < -- org.slf4j:slf4j-api:1.7.5 ...
…only it goes on for screens and screens. What happened? Continue reading