Skip to content

Instantly share code, notes, and snippets.

@josephdpurcell
josephdpurcell / README.md
Last active January 21, 2023 02:54
How to integrate Directus and Listmonk using Flows

I want a manual trigger that when clicked will create a Campaign in my Listmonk instance, but only if the item is published.

Step 1: Create a Collection

Create a Collection called "Post" with fields:

  • uuid (string, system field added during creation; this is the ID specifier)
  • status (string, system field added during creation)
  • title (string)
  • content (Markdown)
@cotyhamilton
cotyhamilton / README.md
Last active March 25, 2024 12:23
Add Firebase Authentication to Directus ~v9.8.x

Add Firebase Authentication to Directus v9.8.x

Set Up

Install packages

yarn add firebase-admin jsonwebtoken ms nanoid

# or
@aaangeletakis
aaangeletakis / How-To-Install-SDL-On-Ubuntu.md
Last active February 20, 2024 17:55
How do I install SDL on ubuntu?

What you need to do to install SDL is:

#install sdl2
sudo apt install libsdl2-dev libsdl2-2.0-0 -y;

#install sdl image  - if you want to display images
sudo apt install libjpeg-dev libwebp-dev libtiff5-dev libsdl2-image-dev libsdl2-image-2.0-0 -y;

#install sdl mixer  - if you want sound