return2
  • Feed
  • About Us
  • Alex
  • Malte

Coding

A collection of 8 posts

TypeScript: Use Satisfies for Exhaustive Type Checks
May 2024 / TypeScript

TypeScript: Use Satisfies for Exhaustive Type Checks

Compile-time safety for exhaustive type checks can be achieved with satisfies never. It's best practice to use it in every switch case statement.

  • Alexander Droste
    Alexander Droste
2 min read
[How-to] Salesforce Pardot Dependent Field on Checkbox
Sep 2022 / Coding

[How-to] Salesforce Pardot Dependent Field on Checkbox

In Salesforce Pardot Forms, fields can be made dependent on each other. This does not work for checkboxes. Our javascript code makes it possible.

  • Alexander Droste
    Alexander Droste
2 min read
Nextcloud 19 Server: Allow iframe / embedding from external Domains
Sep 2020 / Tools

Nextcloud 19 Server: Allow iframe / embedding from external Domains

If you host your own Nextcloud 19 server and you try to embed the content from other URLs or domains via an iframe or other HTML elements it doesn't work. The solution for the problem is briefly described in this blog post.

  • Malte Hellmeier
    Malte Hellmeier
2 min read
Laravel 7: How to override validateCredentials for custom  Login Validation
May 2020 / Coding

Laravel 7: How to override validateCredentials for custom Login Validation

To create a custom login validation by adding checks in Laravel 5, 6 or 7, the validateCredentials method from the EloquentUserProvider must be extended.

  • Malte Hellmeier
    Malte Hellmeier
3 min read
Ghost CMS Editor: Open external Links in a new Tab or Window (change HTML target)
May 2020 / Coding

Ghost CMS Editor: Open external Links in a new Tab or Window (change HTML target)

The Ghost CMS editor doesn't have a possibility to change link settings to open external links in a new tab or window. But there are some workarounds!

  • Malte Hellmeier
    Malte Hellmeier
2 min read
[Quick Tip] Deploy React App build to any Subdirectory
May 2020 / Quick Tip

[Quick Tip] Deploy React App build to any Subdirectory

You can deploy your react app to any subdirectory by setting the homepage attribute to a relative path inside your package.json

  • Alexander Droste
    Alexander Droste
1 min read
Python Tesseract 4.0 OCR: Recognize only Numbers / Digits and exclude all other Characters
Mar 2020 / Coding

Python Tesseract 4.0 OCR: Recognize only Numbers / Digits and exclude all other Characters

The OCR software Tesseract 4.0 doesn't allow you to whitelist a list of characters. I will give 3 solution to extract only numbers out of an image with the Tesseract Python wrapper called "PyTesseract".

  • Malte Hellmeier
    Malte Hellmeier
2 min read
Git Collection of most used Commands and Solutions of typical Problems
Mar 2020 / DevOps

Git Collection of most used Commands and Solutions of typical Problems

My personal, briefly Git overview of the most important basic commands and a collection of solutions for some typical Git problems of the daily work.

  • Malte Hellmeier
    Malte Hellmeier
5 min read
return2 © 2025
Legal Disclosure Privacy Policy
* As an Amazon Associate the website owner earns from qualifying purchases.