Skip to content

Instantly share code, notes, and snippets.

Harald von Waldow hvwaldow

Block or report user

Report or block hvwaldow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hvwaldow
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
hvwaldow / testencoding.py
Last active Jan 20, 2017
Test encoding issues with regard to Py2 / Py3 compatibility
View testencoding.py
# _*_ 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'),
View Wileys_Links_Of_Death.md
@hvwaldow
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
hvwaldow / solr-upgrade.md
Last active Nov 4, 2016
How to upgrade to SOLR 5.3.1 on Debian jessie for use with CKAN
View solr-upgrade.md

Disclaimer

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
You can’t perform that action at this time.