Skip to content

Instantly share code, notes, and snippets.


Harald von Waldow hvwaldow

View GitHub Profile
hvwaldow / rdmo_setup
Last active Aug 9, 2017
Setup for RDMO in LXC container (for development)
View rdmo_setup
It is about a privileged container. Hostsystem:
Debian 4.6.4-1 (2016-07-18) x86_64 GNU/Linux (PRETTY_NAME="Debian GNU/Linux 9 (stretch)")
1. sudo lxc-create -t download -n <name>
2. Choose:
Distribution: debian
Release: stretch
Architecture: amd64
This resulted in installation of the same base system than that of the host.
hvwaldow /
Last active Jan 20, 2017
Test encoding issues with regard to Py2 / Py3 compatibility
# _*_ encoding: utf-8 _*_
import sys
pv = sys.version_info[0]
print("Python Version: {}".format(pv))
strngs = (('str_asci','asci'),
('uni_asci', u'asci'),
('byte_ascii', b'asci'),
hvwaldow / lcrnz-repeating.js
Created Feb 1, 2016
modifications to lcrnz_repeating
View lcrnz-repeating.js
/* Module for working with multiple field inputs. This will create
* a new field when the user clicks the 'add field' button.
this.ckan.module('lcrnz-repeating', function (jQuery, _) {
return {
options: {
/* The selector used for each custom field wrapper */
fieldSelector: '.control-repeating'
hvwaldow /
Last active Nov 4, 2016
How to upgrade to SOLR 5.3.1 on Debian jessie for use with CKAN


This is without any reasonable idea about SOLR configuration. It just happens to work here. It is also specific to my server, you might severly damage yours if you copy & paste this blindly!

All commands to be executed as root.

Remove Debian packaged solr 3.6.2 and jetty8

apt-get remove --purge solr-common