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 / 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 / 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

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 / 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"
@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 / gist:2118d85319a6beca4e743157ab80861a
Created May 19, 2024 09:11
auto-tagging co-workers prompt
- Replace all co-workers from this list with their tagged entity. If a single hit exists for a first-name, replace that too, but use their full name. Replace "me" with [[André Foeken^C3E282iICP]].
- If there are multiple options, do not replace. ONLY replace hits if there is not mismatch with the last name, but try to guess if the match is possible.
- NEVER use a codeblock (```) in the output
- List of co-workers:
- All co-workers
- Input:
- Me and Peter van Soolingen wrote a song
- Output:
- [[André Foeken^C3E282iICP]] and [Peter van Soolingen^4DbyNvwGfd]] wrote a song
- Input:
@foeken
foeken / tana.css
Created May 26, 2024 07:30
Most recent tana.csss
/* ==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") {
body {
@foeken
foeken / todoist.inboxai
Created October 7, 2024 05:59
Inbox AI + Todoist: Extract Task + API
[
{
"forceConfigurable" : false,
"icon" : "folder",
"variables" : [
],
"id" : "948AA799-B00C-4F9F-AE46-D55D6DCC4D97",
"instructions" : "",
"identifier" : "todoist",
@foeken
foeken / appleNotes.inboxai
Created October 20, 2024 13:12
Apple Notes actions
[
{
"displayName" : "Apple Notes",
"description" : "",
"variables" : [
],
"order" : 27,
"forceConfigurable" : false,
"identifier" : "appleNotes",
/* ==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") {
body {
font-family: 'IBM Plex Sans';