Herzlich Willkommen ツ

Vue.js input number formatting

16.03.2021 - 11:13

Are you using Vue.js and need to apply input / output formatting to a number input field?

This is quite tricky, as I had to find out. Finally I'd suggest not to waste your time, but use this library instead:
https://github.com/dm4t2/vue-currency-input ;)


Beware of Drupal's Radios FAPI empty handling

14.01.2021 - 16:33

Did you ever switch a Drupal Form API element from "select" to "radios" and expect it would behave equally? You're wrong!
Here's (sadly) why...


lndo.site connection refused on WSL2 + Docker + Lando (+VMWare Workstation) - TCP Socket conflict

23.12.2020 - 14:52

I banged my head against the wall using the wonderful lando as development environment. It works wonderful, but .lndo.site URLs never worked for me, while :XXXX ports worked on localhost.


PHP DOMDocument UTF-8 data into ISO-8859-1 document snippets

31.08.2020 - 14:00

Encoding is hard in many cases. Today I ran into one, where we had to save UTF-8 data (from a Drupal website) into an XML document which requires ISO-8859-1 encoding.

We're using https://www.php.net/manual/de/class.domdocument.php for that, which seems to have some problems / flaws with such cases, as the following issues show:


LDAP query Synology NAS for all users of a group

20.07.2020 - 12:05

Well some experienced LDAP administrators may laugh, but it was quite hard for me, as LDAP "newbie" to find out how to get a list of all LDAP Group Members from my Synology DiskStation. So I'd like to share my experience and result.

My task was to get a list of all active users in my Synology LDAP which belong to a certain Group ("CEO").


WinSCP "Keep remote directory up to date" doesn't upload / work due to timestamp problems

30.06.2020 - 12:20

If you should also encounter the problem that WinSCP's wonderful syncing / folder watch functionaity "Keep remote directory up to date" doesn't work correctly, first have a look here, also for troubleshooting: https://winscp.net/eng/docs/task_keep_up_to_date

I couldn't find a working fix for this, but I found a good workaround:


Run Jira Server on Hetzner Managed vServer

18.06.2020 - 09:40

Szenario

Wir wollen testen, ob das beliebte Atlassian Jira auch auf einem Hetzner Managed Server betrieben werden kann.
Um das Leistungs-Minimum zu testen, haben wir uns für einen VSERVER MC40 entschieden.

Vorarbeiten


Running GitLab CE on sloppy.io Docker Container

Running GitLab CE on sloppy.io Docker Container

12.06.2020 - 15:40

Some weeks ago I found the European Docker Hosting provider sloppy.io and I'm still impressed by the wonderful UI / UX to administer and run Docker containers online so simple.

As a fun project I tried to run a GitLab CE instance on Sloppy and after some drawbacks, I finally managed to run it!

Here are the pieces:

Image Path: gitlab/gitlab-ce


Drupal 8: Add menu item with anchor link programmatically in .menu.yml

08.06.2020 - 17:04

For a Drupal 8 EU Cookie Compliance patch I needed a way to add an anchor link as default menu item programmatically in .menu.yml


example.anchor:
title: "Anchor example"
description: "Scroll to top on the current page"
url: "internal:#top"


Shopware 5 - defekte Varianten entfernen

05.06.2020 - 11:10

Es kann in Shopware 5 aufgrund fehlender Validierung im Import / Export passieren, dass "defekte" Varianten angelegt werden. Also Varianten, denen die korrekte Zuordnung zu ihrem Elternartikel fehlt.


Syndicate content