Skip to content

Instantly share code, notes, and snippets.

View benloeffel's full-sized avatar

Ben Löffel benloeffel

  • Germany
  • 04:57 (UTC +01:00)
View GitHub Profile
@benloeffel
benloeffel / old.md
Last active April 14, 2024 16:57
PayloadCMS, MongoDB, GitHub and Vercel Setup

Modern Web Application Guide (Next.js & PayloadCMS on GitHub and Vercel)

Create a MongoDB database

  1. Go to https://account.mongodb.com/account/login and login
  2. Once logged in, create a new project.
  3. Give the project a name
  4. Give the project a tag like key environment and value production
  5. Click on "Next"
  6. Add a amember and set permissions or select an existing member.
@benloeffel
benloeffel / advanced-audit.md
Last active July 13, 2023 20:14
WordPress Website Audit

Advanced WordPress Audit Guide and Checklist

Legend

  • ✔ Erfolgreich: Der Punkt erfüllt die Kriterien.
  • ❌ Fehlgeschlagen: Der Punkt erfüllt die Kriterien nicht.
  • ⏱ Ausstehend: Der Punkt wurde noch nicht überprüft.

Checklist

| Audit Item | Erfolgreich/Fehlgeschlagen/Ausstehend | Bemerkungen | Erledigt |

@benloeffel
benloeffel / wsl-cheatsheet.ps1
Created September 13, 2022 07:47 — forked from karthiks/wsl-cheatsheet.ps1
WSL 2 CLI Cheat-sheet To Be Run In Powershell
# To list installed distributions
wsl -l
wsl --list
# To list installed distributions along with its running status and wsl config being 1 or 2
wsl -l --verbose
wsl -l -v
# To run a specific distro
wsl -d distro_name

Redirect Divi Filterable Portfolio items to custom URLs

Description

Overrides the Divi Filterable Portfolio module to provide the ability to add a custom link for each portfolio item.

Getting Started

Dependencies

@benloeffel
benloeffel / launch.json
Created June 14, 2019 14:13
Vistual Studio Code Debug - NextJS Version > 8.x.x
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Next: Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}/frontend"
},