preloader

Rants

By J. Toman / on 12 Jul, 2019

Static Sites

5 Ways Static Websites Are Better For Your Business...

By J. Toman / on 20 Jan, 2019

Freemarker Include In Liferay

Quick Tip:

In Liferay Web Content Templates using Freemarker, you can include another template using the <#include > directive. The trick is that you have to prepend the templatesPath variable (available in the left sidebar) and then call the templates by it’s template key, which can be found in the Details section when you edit the included template. So to include a template with the key 12345 you would write:

...

By J. Toman / on 20 Jan, 2019

Install OrientdDB As a Service On A Mac

OrientDB is a multi-model database that combines the best of a document database and a graph database. I’ve played around with it off and on, but one difficulty is that I’ve always had to restart the server manually whenever I reboot my Mac. Being an old Linux guy, steeped in chron and /etc/init.d , I’ve never taken the time to learn Apple’s launchd system or the plist files they depend on. Until now. Turns out they’re pretty simple. The Orientdb documentation covers basic installation of the database pretty well so I won’t repeat that here. Instead I’ll detail the part I couldn’t find, installing the database as a service which starts on system boot. Most of this is cribbed from this article on installing MongoDB as a service on OS X, so thank you Mr. Ali Al Dallal for that.

...