Skip to main content
45
results
Andrew Fletcher
Supervisor running as root error when running the command sudo service supervisor statusResponse error 892 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.Check the supervisord.conf file in the directory cd /etc/supervisor/The file contents for me was ; supervisor config file [unix_http_server] file=/var/run/supervisor.sock ; (the...
Andrew Fletcher
Listen in on the ports being used on your server.  To do so, run the...
Andrew Fletcher
Error with Nginx When running an Nginx test, the following response was being...
Andrew Fletcher
The following the CKAN source install docs from start to finish including solr....
Andrew Fletcher
Goal: Restrict content access through username and password entry. 1: Apache...
Andrew Fletcher
Working through a CKAN installation on Ubuntu 20.04 User sees a server 500 error. syslog shows: ckan-worker:ckan-worker-00 FATAL Exited too quickly (process log may have details)   Information: syslog Jul 19 03:59:43 {project}-CKAN supervisord[773]: 2022-07-19 03:59:43,515 INFO spawned: 'ckan-worker-00' with pid 4337 Jul 19 03:59:44 {project}-CKAN supervisord[773]: 2022-07-19 03:59:44,900 INFO exited: ckan-worker-00 (exit status 1; not expected)The error is pointing to supervisord,...
Andrew Fletcher
It is really simple to switch users in Ubuntu or any other Linux distribution...
Andrew Fletcher
iOS localization on the fly If you have added languages to your app......
Andrew Fletcher
Whatever you are coding - code clarity is your goal. Before you scream and...
Andrew Fletcher
To create a .pem file, is quick once you have your .p12 certificate.  I...
Andrew Fletcher
I had the issue where I needed to filter an array list by a specific column.  In my instance, the column is language.  To be able to reduce the query to the language column the code required is levels = selectedCategory?.levels.filter("language = %@", language)Language can be any string, in this instance for me language is a two alpha character such as 'fr', 'en' or 'de'. Further to this you can continue to chain this query through including sort as per levels =...
Andrew Fletcher
A handy resource list of fonts for iOS: iOS Font List -...
Andrew Fletcher
https://github.com/kylebrowning/waterwheel.swift After a short amount searching...
Andrew Fletcher
Ha you have read it before, one of those throw away lines that is written "just...
Andrew Fletcher
After coding for 16 years... I have decided to have a go at building apps in...