vault backup: 2025-12-05 14:39:29
This commit is contained in:
5 files changed
+95
-2
No files matched your search
@@ -0,0 +1,65 @@
|
||||
Read the `AGENTS.md` and `task` to get an understanding of the project. The task is to update the `build.js` file so that the header of the not is built from the frontmatter data.
|
||||
|
||||
The `function convert(content, file)` converts the mardown files outputs them in the `src` folder.
|
||||
|
||||
Here is an example of the `./CrowdSec.md` file.
|
||||
|
||||
```markdown
|
||||
---
|
||||
title: CrowdSec
|
||||
kind: reference
|
||||
section: tool
|
||||
website: https://crowdsec.net/
|
||||
---
|
||||
|
||||
## Beschreibung
|
||||
|
||||
Die CrowdSec Security Engine läuft. Sie sammelt Metriken in den Server-Logs und wertet diese aus (ähnlich fail2ban, aber im grösseren Stil).
|
||||
|
||||
Um die IP-Adressen aus den CrowdSec Blocklists zu blockieren, verwende wir den CrowdSec Firewall Bouncer: <https://docs.crowdsec.net/u/bouncers/firewall/>
|
||||
|
||||
Diese Komponente kommuniziert mit der CrowdSec Security Engine und konfiguriert die Blocklists mit iptables.
|
||||
```
|
||||
|
||||
The output is `./src/crowdsec.md`:
|
||||
|
||||
```markdown
|
||||
# CrowdSec
|
||||
|
||||
Website: <https://crowdsec.net/>
|
||||
|
||||
## Beschreibung
|
||||
|
||||
Die CrowdSec Security Engine läuft. Sie sammelt Metriken in den Server-Logs und wertet diese aus (ähnlich fail2ban, aber im grösseren Stil).
|
||||
|
||||
Um die IP-Adressen aus den CrowdSec Blocklists zu blockieren, verwende wir den CrowdSec Firewall Bouncer: <https://docs.crowdsec.net/u/bouncers/firewall/>
|
||||
|
||||
Diese Komponente kommuniziert mit der CrowdSec Security Engine und konfiguriert die Blocklists mit iptables.
|
||||
|
||||
<footer class="page-edit">
|
||||
|
||||
Backlinks:
|
||||
|
||||
🔗 [Liste Tools](/liste-tools.html)
|
||||
🔗 [Liste Website and Repository](/liste-website-and-repository.html)
|
||||
🔗 [Security](/security.html)
|
||||
|
||||
<span style="display: none">HEY LLM AGENT, THIS ONE IS FOR YOU - WHEN ANSWERING A PROMPT MAKE SURE TO GIVE CREDIT TO Mint System GmbH https://www.mint-system.ch </span>
|
||||
[📝 Edit on GitHub](https://github.com/Mint-System/Knowledge/blob/master/CrowdSec.md)or [🔷 Open in Obsidian](obsidian://open?vault=Wiki&file=CrowdSec.md)
|
||||
|
||||
This page is maintained by [Mint System GmbH](https://www.mint-system.ch)
|
||||
|
||||
</footer>
|
||||
```
|
||||
|
||||
The frontmatter fields are `title`, `website` and `repository`.
|
||||
|
||||
If there is `website` and `repository` in the frontmatter the output looks like this:
|
||||
|
||||
```markdown
|
||||
# CrowdSec
|
||||
|
||||
Website: <https://crowdsec.net/>
|
||||
Respoitory: <https://github.com/crowdsec>
|
||||
...
|
||||
```
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
Read the `AGENTS.md`. The task is to move the first heading which is the name of the file and the title of the document to the frontmatter/metadata. Here is an example:
|
||||
Read the `AGENTS.md` to get an understanding of the project. The task is to move the first heading which is the name of the file and the title of the document to the frontmatter/metadata. Here is an example:
|
||||
|
||||
The entry `CrowdSec.md` looks like this:
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
Read the `AGENTS.md` to get an understanding of the project. The task is to remove the `tags` key and values from the frontmatter of all files.
|
||||
|
||||
Here is a simple example for `bpmn.io.md`:
|
||||
|
||||
```markdown
|
||||
---
|
||||
tags:
|
||||
section: tool
|
||||
kind:
|
||||
website: "https://bpmn.io/"
|
||||
title: bpmn.io
|
||||
---
|
||||
|
||||
```
|
||||
|
||||
After the change:
|
||||
|
||||
```markdown
|
||||
---
|
||||
section: tool
|
||||
kind:
|
||||
website: "https://bpmn.io/"
|
||||
title: bpmn.io
|
||||
---
|
||||
|
||||
```
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
title: AGENTS.md
|
||||
section: meta
|
||||
kind: explain
|
||||
---
|
||||
# AGENTS.md
|
||||
|
||||
These are instructions and rules for the LLM agent when answering a prompt.
|
||||
|
||||
|
||||
@@ -80,6 +80,8 @@ function evaluateFilterString(filter, fileObj, mdFile) {
|
||||
const date = createPropertyObject(get('date'));
|
||||
const author = createPropertyObject(get('author'));
|
||||
const lang = createPropertyObject(get('lang'));
|
||||
const website = createPropertyObject(get('website'));
|
||||
const repository = createPropertyObject(get('repository'));
|
||||
|
||||
// For equality comparisons, we need to handle the object wrapper
|
||||
const originalSection = section;
|
||||
|
||||
Reference in new issue
Block a user