Mermaid Charts

März 27th, 2025

Mit Mermaid können einfach Diagramme erstellt werden.
https://www.mermaidchart.com
https://www.mermaidchart.com/play

Markdown-File:

```mermaid
graph TD;
BaseModel-->MapViewModel-->MyownMapViewModel-->NextMapViewModel

```

Apache2 Server

März 12th, 2025

Error Logs:
/var/log/apache2/error.log

Seiten:
/var/www/html

C++ Lambda Captures

März 7th, 2025

The difference is how the values are captured

  • & captures by reference
  • = captures by value
  • Example:

    int x = 1;
    auto valueLambda = [=]() { cout << x << endl; };
    auto refLambda = [&]() { cout << x << endl; };
    x = 13;
    valueLambda();
    refLambda();

    This code will print:

    1
    13

    https://stackoverflow.com/questions/21105169/is-there-any-difference-betwen-and-in-lambda-functions
    https://en.cppreference.com/w/cpp/language/lambda

    GIT https fehler ssh ausschalten

    März 3rd, 2025

    git config http.sslVerify "false"

    https://stackoverflow.com/questions/9008309/how-do-i-set-git-ssl-no-verify-for-specific-repos-only

    Git Rebase Tipps

    Februar 21st, 2025

    Beim Rebase für jede Datei entscheinden, ob ours oder theirs genommen werden soll:

    git checkout --ours -- [paths]
    oder
    git checkout --theirs -- [paths]
    Anschließend mit git add [path] die Datei hinzufügen und mit git rebase --continue den rebase fortsetzen

    https://stackoverflow.com/questions/16825849/choose-git-merge-strategy-for-specific-files-ours-mine-theirs

    Alte Commits löschen durch Rebase:
    Head um vier commits zurücksetzen:
    git rebase -i HEAD~4

    Dann mit pick die Commits wählen, die man behalten will:
    pick 2f05aba ... #will be preserved
    #pick 3371cec ... #will be deleted
    #pick daed25c ... #will be deleted
    pick e2b2a84 ... #will be preserved

    https://stackoverflow.com/questions/9725156/remove-old-git-commits

    Windows: Einfügen ohne Formatierung

    Februar 20th, 2025

    Strg-Umschalt-v

    Firefox: vertikale Sidebar zurücksetzen

    Januar 16th, 2025

    https://www.computerbase.de/forum/threads/firefox-sidebar-w10-entfernen.2220471/#post-30035366

    Ubuntu: Qt QML QtQuick installieren

    Januar 16th, 2025

    sudo apt install qtcreator qtbase5-dev qt5-qmake cmake qtdeclarative5-dev qml-module-qtquick-controls

    Trigonometrie

    Januar 12th, 2025

    Sinus, Cosinus, Tangens..

    trigonometrie.pdf

    Blender: Normalen (normals) anzeigen

    Oktober 5th, 2024

    Blender show normals

    1. Face Orientation

    2. Normalen Anzeigen