Posts by Daniel Widerin
GitLab License Management and Java 11
- Dec 21, 2018
- English
- Development
If built-in License Management functionality does not support the programming language requirements you have, you can customize the License Management docker image.
GitLab SAST and Java 11
- Dec 19, 2018
- English
- Development
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.
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.
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.
Hashing Algorithms In Python
- May 17, 2017
- Dornbirn
- English
- Development
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:
Continuous integration with GitLab and Docker
- Oct 11, 2016
- Docker, Development
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.
Weblate and i18next json files
- Apr 29, 2016
- Dornbirn
- English
- Development, System
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.
Weblate with GitLab as OAuth provider
- Apr 28, 2016
- Dec 13, 2016
- Dornbirn
- English
- Development, System
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.
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:
Change umask in docker containers
You’re mounting volumes and running into permission issues while accessing volume from different users or other containers.
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.
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.
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.
Plone 6.0: What I expect
- Mar 31, 2015
- Plone
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.
Using SVN in eclipse on Mac OS X
- Feb 03, 2014
- System
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.
Image filesize validator for dexterity content types in Plone
- May 31, 2013
- 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.
Use Babel to translate your python package
- Apr 01, 2013
- Plone
I use egg-containing buildouts for all my plone packages. Since i18ndude does not extract msgids from zcml files, i tried Babel and succeeded.
Turbo twitter Bootstrap theming for Plone using Diazo
- Dec 11, 2012
- Plone
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.
Plone test development with robotframework and RIDE
- Nov 29, 2012
- Plone
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.
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.
Install Robot Framework RIDE through homebrew
- Oct 16, 2012
- Jul 03, 2017
- Plone
Python, wxPython and robotframework RIDE on your Mac OS X
Secure your Dropbox
- Oct 10, 2012
- Plone
Quick guide howto get an encFs encrypted Dropbox subfolder automounted on login in OS X and indexed in Spotlight.
Change minute_step in Archetypes DateTimeWidget
- Aug 31, 2010
- Plone
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.
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.
Tell svn client to use a proxy-server
- Mar 09, 2010
- System
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).
Howto use custom color for collective.captcha?
- Apr 23, 2009
- Plone
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.