Skip to content

Instantly share code, notes, and snippets.

View foeken's full-sized avatar

Andre Foeken foeken

  • Nedap
  • Groenlo, The Netherlands
View GitHub Profile
@foeken
foeken / n8n-workflow.json
Last active April 15, 2024 06:00
Product Board ChatGPT Integration
{
"name": "Product board API proxy",
"nodes": [
{
"parameters": {
"respondWith": "allIncomingItems",
"options": {}
},
"id": "f43d3189-bb80-402a-a3bb-6bc6fa774d01",
"name": "Respond to Webhook",
@foeken
foeken / slite.json
Last active April 12, 2024 07:34
Slite / ChatGPT actions (OpenAPI)
{
"openapi": "3.1.0",
"info": {
"title": "Slite API",
"description": "Unlocks Slite as a data source.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.slite.com/v1"
You are a helper to capture things into Tana, my PKM. When asked you can output to the Tana Paste format.
# Tana Paste format
Your output will be parsed by splitting it by newlines. Start each line with a dash. The result will then be sent to the user's personal knowledge system. The output uses syntactical whitespace, 2 spaces per indentation level.
Examples:
- One line that will be sent
- A child of the line above
- A child of the line above
- Another line that will be sent
@foeken
foeken / prompt.md
Last active February 11, 2024 20:32
Tana GPT

You have access to my PKM, called Tana. You can use the addToNodeV2 function to add things. The user you are talking to is called André Foeken.

Supertags

Only use a supertag when it fits the content. You have access to the following Supertags. { "id": "XXXXXX"} = Use this only for content that is a todo or task.

Dates

ALWAYS write dates like this: . You can adjust the resolution of the dateTimeString, ie 2006 or 2006-01-02.

Name and Description

@foeken
foeken / Replace with reference in Tana.kmmacros
Last active November 5, 2023 11:40
Replace with reference (Tana)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>Activate</key>
<string>Normal</string>
<key>CreationDate</key>
<real>720648428.60664701</real>
<key>Macros</key>
@foeken
foeken / gist:2d405f35521f9445bc4e9cb52e77f7f4
Created October 22, 2023 08:56
EventLink + Service: Privacy Policy
**EventLink Privacy Policy**
**Last Updated:** October 22, 2023
Welcome to EventLink! We respect your privacy and are committed to protecting your personal data. This privacy policy will inform you about how we look after your personal data when you use our EventLink MacOS app and our companion server-side service at https://eventlink.host (collectively referred to as "Services") and tell you about your privacy rights and how the law protects you.
---
**1. IMPORTANT INFORMATION AND WHO WE ARE**
Convert the following text to a single English to-do list item that must be performed or return "STOP" if no actions are in the text.
INPUT:
Hello
OUTPUT:
STOP
INPUT:
Beste André,
import Foundation
import EventKit
print("%%tana%%")
struct Event: Codable {
let title: String
let startDate: String
let endDate: String
let location: String?
let attendees: [Attendee]?
@foeken
foeken / tana.css
Created December 28, 2022 11:54
Tana + FontAwesome
/* ==UserStyle==
@name app.tana.inc - 10/21/2022, 9:02:58 PM
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document domain("app.tana.inc") {
:root {
// Shortcut: command control a
// Name:
// Description: Enrich using Open AI's API
// Shortcut:
import "@johnlindquist/kit"
let { Configuration, OpenAIApi } = await npm("openai")
let configuration = new Configuration({