Posts by Daniel Widerin

GitLab License Management and Java 11

If built-in License Management functionality does not support the programming language requirements you have, you can customize the License Management docker image.

Read more ...


GitLab SAST and Java 11

If built-in Static Application Security Testing functionality does not support the programming language requirements you have, you can customize the SAST analyzer docker images.

Read more ...


How to run Mikrotik’s Winbox on macOS

Some time ago m0n0wall burried their project and my firewall went out of maintenance. Back in 2008 m0n0wall really had it’s great time but opnsense - as the recommended successor - requires more hardware (cpu/memory) than my alix routerboard alix2c3 had.

Read more ...


Official Grafana docker image on OpenShift

Running offical docker images from docker hub on OpenShift Origin can be painful as it uses arbitrary user ids by default. Often you end up building your own or using 3rd party forks/clones of the offical image, which leds to additional effort to keep it up to date in terms of security and/or version upgrades.

Read more ...


Hashing Algorithms In Python

While working on a larger project there was a need to detect some changes happened in given data structures. Usually you would immediately start using a hashing algorithm, as md5 for example:

Read more ...


Continuous integration with GitLab and Docker

I’ve given a talk about continuous integration with GitLab and Docker on Developer Meetup VlbgWebDev. The Meetup takes place every second Tuesday every Month and i’ve met some old colleagues there.

Read more ...


Weblate and i18next json files

There’s a bug report on github about JSON format breaks i18next files due to automatic restructuring. Actually it flattens your i18next json file and makes it unusable for further usage.

Read more ...


Weblate with GitLab as OAuth provider

Weblate is built on Django and you can use a lot of authentication plugins. After my contribution to django-allauth it’s very easy to integrate GitLab’s authentication provider to Django. Since Weblate builds on top of django-social-auth i could not use django-allauth plugin to authenticate.

Read more ...


Set $JAVA_HOME to latest java on OSX

First you may want to know which java versions you have installed, Use /usr/libexec/java_home -V to get a short overview:

Read more ...


Change umask in docker containers

You’re mounting volumes and running into permission issues while accessing volume from different users or other containers.

Read more ...


Connect devpi to your docker container

You’re running pip install, buildout or your automated tests within a docker container and after running it multiple times you’ve become tired of waiting for it to finally complete? Then it’s time to connect a devpi server.

Read more ...


Private docker-registry within docker

Sometimes you need your own docker-registry to just try out things or to avoid downloading stuff again and again from the internet. I tried to build a docker-compose recipe to setup my own private registry.

Read more ...


Maintaining manual gitlab installation with ansible

A long time ago we started using GitLab. It was a greate step forward and definitly the right decision to switch from SVN to a distributed version control system. If you want to try GitLab you should definitly install it using GitLab Omnibus distribution.

Read more ...


Plone 6.0: What I expect

We’re still working on Plone 5.0 but for PLOG 2015 I put all my thoughts together and want to share with you what I expect Plone 6.0 to include.

Read more ...


Using SVN in eclipse on Mac OS X

After upgrading subversion client my eclipse could not find javahl bindings any more, because i previously installed the CollabNet ones, which are currently available for subversion 1.6.x only. The bad thing about this is Subclipse does not work any more, until you’ll install these libraries using the following solutions.

Read more ...


Image filesize validator for dexterity content types in Plone

When using Plone 4.3 with plone.app.contenttypes you might want to limit max filesize for images by implementing a custom z3c.form validator. In ATCT we were able to limit max image filesize by overwriting ATCT config file or setting in portal_atct tool.

Read more ...


Use Babel to translate your python package

I use egg-containing buildouts for all my plone packages. Since i18ndude does not extract msgids from zcml files, i tried Babel and succeeded.

Read more ...


Turbo twitter Bootstrap theming for Plone using Diazo

When building a new Plone theme based on twitter Bootstrap without modifying core templates you have to do a lot of xsl-styling. Hopefully this article can help you getting started.

Read more ...


Plone test development with robotframework and RIDE

Test driven development can be a pain. If you are working with Zope and Plone most of time gets consumed starting up Zope running setUp method and rolling back transaction in tearDown method.

Read more ...


Howto use buildout version pins

When using Plone with buildout you want to be able to reproduce your environment with the same set of eggs, even if there were some new releases in between.

Read more ...


Install Robot Framework RIDE through homebrew

Python, wxPython and robotframework RIDE on your Mac OS X

Read more ...


Secure your Dropbox

Quick guide howto get an encFs encrypted Dropbox subfolder automounted on login in OS X and indexed in Spotlight.

Read more ...


Change minute_step in Archetypes DateTimeWidget

Sometimes you need minutes which could not be divided by 5 which Plone doesn’t select you by default. You don’t need to rewrite core components in Archetypes DateTimeWidget to change this.

Read more ...


Howto send mails from localhost through a smarthost on OSX

You’re getting weird errors like “Connection refused” from your local smtp library? You may have to reconfigure your local mailer.

Read more ...


Tell svn client to use a proxy-server

If you have or your server has to use a proxy server to access the internet you may have problems with your svn client although you aready set your http_proxy environment variable(s).

Read more ...


Howto use custom color for collective.captcha?

How to use your custom color with collective.captcha and Plone? This tutorial shows you an easy way to customize it using your own BrowserLayer.

Read more ...