local ls = require("luasnip") --{{{ local s = ls.s local i = ls.i local t = ls.t local d = ls.dynamic_node local c = ls.choice_node local f = ls.function_node local sn = ls.snippet_node local fmt = require("luasnip.extras.fmt").fmt local rep = require("luasnip.extras").rep local snippets, autosnippets = {}, {} --}}} -- Start Snippets -- local code = s( { trig = "code", desc = "Code Section" }, fmt( [[ ```{} ``` ]], { i(1, "Language"), } ) ) table.insert(autosnippets, code) local sig = s( { trig = "sig", desc = "Signature" }, fmt( [[ --- Made with ❤️ by JirR02 in Switzerland 🇨🇭 ]], {} ) ) table.insert(autosnippets, sig) local disclaimeren = s( { trig = "disen", desc = "Disclaimer EN" }, fmt( [[ ## DISCLAIMER These {} were compiled based on the lecture {} by {}. I accept no liability for any potential errors within these notes. Please be aware that these materials were processed with the assistance of NotebookLM. While AI is a powerful tool, it may produce technical inaccuracies or "hallucinations". Furthermore, I have paraphrased sections and added personal observations, which may introduce further errors. *Copyright & Content Note:* This is an unofficial resource and is not affiliated with or endorsed by ETH Zurich. As these notes were generated with the assistance of AI, I cannot guarantee that all content has been sufficiently paraphrased. Some sections may closely mirror or directly quote the original presentation slides or scripts. All intellectual property rights for the original course content remain with the respective authors at ETH Zurich. *Notice to Rights Holders:* This document is shared for educational purposes. If you are a rights holder and object to the inclusion of any content, please contact me, and I will remove it immediately. Unless stated otherwise, all graphics were generated personally. Errors or copyright concerns can be reported via email to jirruh@ethz.ch. {} ]], { c(1, { t("notes"), t("notes and this summary") }), i(2, "Name of Lecture"), i(3, "Name of Professor"), i(0), } ) ) table.insert(autosnippets, disclaimeren) local disclaimerde = s( { trig = "disde", desc = "Disclaimer DE" }, fmt( [[ ## DISCLAIMER Diese {} basiert auf der Vorlesung {} von {}. Ich übernehme keine Haftung für mögliche Fehler in diesen Unterlagen. Bitte beachten Sie, dass diese Materialien unter Zuhilfenahme von NotebookLM erstellt wurden. Obwohl KI ein leistungsstarkes Werkzeug ist, kann sie technische Ungenauigkeiten oder sogenannte „Halluzinationen“ erzeugen. Darüber hinaus habe ich Abschnitte paraphrasiert und eigene Beobachtungen hinzugefügt, was weitere Fehlerquellen darstellen kann. *Urheberrecht & Inhaltlicher Hinweis:* Dies ist eine inoffizielle Ressource; sie steht in keiner Verbindung zur ETH Zürich und wird von dieser nicht unterstützt. Da diese Notizen mit Hilfe von KI erstellt wurden, kann ich nicht garantieren, dass alle Inhalte ausreichend umformuliert wurden. Einige Abschnitte können den ursprünglichen Präsentationsfolien oder Skripten stark ähneln oder diese direkt zitieren. Alle geistigen Eigentumsrechte am ursprünglichen Kursinhalt verbleiben bei den jeweiligen Autoren der ETH Zürich. *Hinweis für Rechteinhaber:* Dieses Dokument wird ausschließlich zu Bildungszwecken geteilt. Wenn Sie Rechteinhaber sind und der Aufnahme bestimmter Inhalte widersprechen, kontaktieren Sie mich bitte, und ich werde diese umgehend entfernen. Sofern nicht anders angegeben, wurden alle Grafiken persönlich erstellt. Fehler oder Urheberrechtsbedenken können per E-Mail an jirruh@ethz.ch gemeldet werden. {} ]], { c(1, { t("Notizen"), t("Notizen und diese Zusammenfassung") }), i(2, "Name of Lecture"), i(3, "Name of Professor"), i(0), } ) ) table.insert(autosnippets, disclaimerde) -- End Snippets -- return snippets, autosnippets