Site Tools


onny:notizen:programmierung

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
onny:notizen:programmierung [2026/09/04 08:10] – [mariadb / mysql] 10.250.0.1onny:notizen:programmierung [2026/10/06 19:56] (current) – [php] fdc9:281f:4d7:9ee9::1
Line 676: Line 676:
 <code php> <code php>
 if ($config['listCalendars'] ?? false) { if ($config['listCalendars'] ?? false) {
 +</code>
 +
 +check if string in array
 +
 +<code php>
 +if (in_array('trashbin', $config['match'], true)) {
 +    // trashbin was requested
 +}
 </code> </code>
 ==== nextcloud app dev ==== ==== nextcloud app dev ====
Line 958: Line 966:
 </code> </code>
  
 +===== nix =====
 +
 +====== lib ======
 +
 +remove prefix
 +
 +<code nix>
 +stripped =
 +  lib.removePrefix "www."
 +    (lib.removePrefix "https://" url);
 +</code>
onny/notizen/programmierung.1788509424.txt.gz · Last modified: by 10.250.0.1