Digital Craftsman
  • Search
Sign in Subscribe
php

Reset contao user password with FTP access only

  • Christian Kolb

Christian Kolb

Jan 23, 2014

Lost every single login to a contao project? Here is a little gist to reset a user password when knowing the username and having FTP access.

Reset contao user password with FTP access
only

Reduce input of functions to improve readability

Reduce input of functions to improve readability

One of the elements we evaluate when reading a function call are the parameters given to it. To understand what's happening inside (not how, just what) it's necessary to see the relevant data as part of the function call. Counterintuitiv, this sometimes means to increase the amount of parameters or
Mar 13, 2023 1 min read
Where and how to use abstraction

Where and how to use abstraction

Abstraction is one if the first things a developer learns when starting programming. It's repeated again and again from "Clean Code" to every other introduction book. It's so ingrained, that we don't really question why. As most developers I also started to use abstraction everywhere. Abstraction as a goal in
Mar 8, 2023 2 min read
Delete JSON property in Postgres

Delete JSON property in Postgres

When migrating JSON data in Postgres, it's often necessary to delete properties within a JSON object. There's a neat operator for it #-. In this example the property comment was stored as an empty string instead of the property just missing. So we delete the property for all domain messages
Dec 26, 2022
Digital Craftsman © 2023
  • Datenschutz
  • Impressum
Powered by Ghost