Embedding the Python Interpreter in a Qt Application

A couple of years back, I was developing an application for Ubuntu. For unspecified reasons, I wanted to develop the GUI in Qt/C++, but implement all logic in Python. The default Python that came with Ubuntu at the time could not run my scripts, so I had to ship…

Setting Up Your Own Mail Server on Ubuntu

It is far more professional to have an email address with your own domain name, e.g. firstname@surname.tld, rather than one offered by a free email provider. Sure, you could buy a custom email address from one of the several hosting companies out there, but how about setting…

Disabling the Guest Session in Ubuntu

In this short tutorial, I'll show you how to hide the Guest Session from the LightDM login screen on Ubuntu. This is something that I do every time I install a fresh copy of Ubuntu. Hopefully, there will be a button for that in the future. Edit /etc/lightdm/lightdm.…

Creating a Self-Signed SSL Certificate on Ubuntu

SSL certificates are very cheap these days. If fact, certain Certificate Authorities will issue you a SSL certificate for free. You just have to fill out the application form. There are, however, certain cases where you want to quickly issue a self-signed certificate. For instance, when you are testing a…

Adding Syntax Highlighting to Ghost using Prettify

If you are using the Ghost blogging platform for Node.js, you will probably have noticed that code snippets are not automatically styled. That's because Ghost doesn't have a syntax highlighting feature, yet. Hopefully, that's going to be a Ghost plug-in one day, but for now you'll have to rely…

Using GraphicsMagick for Image Manipulation in Node.js

GraphicsMagick is a free and open-source command-line utility for manipulating images. It is a fork of ImageMagick, but it is faster and uses fewer resources. If you're planning on using GraphicsMagick within Node.js, there are several wrappers available in npm from which to choose from. However, there are cases…