Skip to content

Instantly share code, notes, and snippets.

@luandryperez
luandryperez / europan_aviso_cumpleanos_aniversarios.py
Created September 9, 2026 19:21
Odoo 19 - Accion planificada: aviso de cumpleanos y aniversarios laborales en el canal general de Discuss (sin modulos de terceros)
# =============================================================================
# Aviso de cumpleaños y aniversarios laborales en el canal "general" de Discuss
# -----------------------------------------------------------------------------
# Odoo 19 · Acción planificada (ir.cron) · Sin módulos de terceros · Sin costo
#
# Configuración de la acción planificada:
# - Modelo (model_id): Empleado (hr.employee)
# - Usuario: OdooBot (base.user_root)
# - Ejecutar cada: 1 Día
# - Siguiente fecha ejecución: una hora temprana, p. ej. 07:00
@lomedil
lomedil / gist:41b739a74b481c4b0a47fca09f42bea3
Created April 10, 2018 07:06
Output color of echo in Linux
# Reset
Color_Off='\033[0m' # Text Reset
# Regular Colors
Black='\033[0;30m' # Black
Red='\033[0;31m' # Red
Green='\033[0;32m' # Green
Yellow='\033[0;33m' # Yellow
Blue='\033[0;34m' # Blue
Purple='\033[0;35m' # Purple
(?i)((access_key|access_token|admin_pass|admin_user|algolia_admin_key|algolia_api_key|alias_pass|alicloud_access_key|amazon_secret_access_key|amazonaws|ansible_vault_password|aos_key|api_key|api_key_secret|api_key_sid|api_secret|api.googlemaps AIza|apidocs|apikey|apiSecret|app_debug|app_id|app_key|app_log_level|app_secret|appkey|appkeysecret|application_key|appsecret|appspot|auth_token|authorizationToken|authsecret|aws_access|aws_access_key_id|aws_bucket|aws_key|aws_secret|aws_secret_key|aws_token|AWSSecretKey|b2_app_key|bashrc password|bintray_apikey|bintray_gpg_password|bintray_key|bintraykey|bluemix_api_key|bluemix_pass|browserstack_access_key|bucket_password|bucketeer_aws_access_key_id|bucketeer_aws_secret_access_key|built_branch_deploy_key|bx_password|cache_driver|cache_s3_secret_key|cattle_access_key|cattle_secret_key|certificate_password|ci_deploy_password|client_secret|client_zpk_secret_key|clojars_password|cloud_api_key|cloud_watch_aws_access_key|cloudant_password|cloudflare_api_key|cloudflare_auth_k

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@dornfeder
dornfeder / Readme.md
Last active September 9, 2026 20:50
Git Branching Diagram Template

Git Branching Diagram Template for diagrams.net

This is my own variant of a git branching diagram template based on Bryan Braun's great template.

You can use this diagram as a template to create your own git branching diagrams. Here's how:

  1. Create a new diagram with diagrams.net (formerly draw.io)
  2. Go to File > Open From > URL
  3. Insert this url (it points to the xml data below): https://gist.githubusercontent.com/dornfeder/13abff279de357f048e474d4ed6c692d/raw/f5efc838bd34429e59e38063bd348b7a86457d18/git-diagram-template.xml
  4. Customize as needed for your team.
Privacy Policy for [Bot Name]
This Privacy Policy governs the collection, use, and sharing of personal information by [Bot Name], a Discord bot developed by [Developer Name]. By using [Bot Name], you agree to the terms of this Privacy Policy.
Information We Collect
We collect information that you provide to us through your use of the bot, such as your Discord user ID and username, server and channel information, and message content. We may also collect usage data, such as the frequency and duration of your use of the bot.
How We Use Your Information
TERMS OF SERVICE AGREEMENT
This Terms of Service Agreement (the "Agreement") is entered into between [Anshul Chauhan] ("Bot Owner") and the user ("User") of the [Bot Name] Discord bot (the "Bot").
By using the Bot, the User agrees to be bound by the terms of this Agreement. If the User does not agree to the terms of this Agreement, they should immediately discontinue use of the Bot.
1. Use of the Bot: The Bot Owner grants the User a non-exclusive, non-transferable, limited license to use the Bot for personal or non-commercial purposes.
2. Prohibited Use: The User may not use the Bot in any way that violates applicable laws, rules, or regulations or infringes upon the rights of any third party. The User may not use the Bot for any commercial purposes without the express written consent of the Bot Owner.
3. Limitation of Liability: The Bot Owner shall not be liable for any damages arising out of the use or inability to use the Bot, including but not limited to, damages for loss of profits, loss of data, or o
@GoncharovNN
GoncharovNN / СоздаемРеквизитыИЭлементыФормы
Created August 14, 2023 02:35
Пошаговое создание элементов формы
// Пример ситуации с алгоритмом в форме на сервере с контекстом формы
// "Программная модификация формы"
// Шаг 1. Добавляем реквизиты формы
МассивТипов = Новый Массив;
МассивТипов.Добавить(ТипЗнч(Параметры.ДанныеДляВывода));
ТипДанных = Новый ОписаниеТипов(МассивТипов);
НовыйРеквизит = Новый РеквизитФормы("Значение",ТипДанных);
@GoncharovNN
GoncharovNN / КомпоновкаДанныхСервер.bsl
Created July 16, 2024 05:33 — forked from andrei-karpov/КомпоновкаДанныхСервер.bsl
Программное использование компоновщика настроек компоновки данных, СКД, отчеты
#Область ПрограммныйИнтерфейс
// Процедура формирует отчет-расшифровку, по описанию, подготовленному соответствующей функцией клиентского модуля.
//
// Параметры:
// Форма - Форма - форма, в которой расположен отчет
// ИмяРеквизитаФормы - Строка - имя реквизита формы типа ОтчетОбъект
// ОписаниеОбработкиРасшифровки - ОписаниеОбработкиРасшифровкиКомпоновкиДанных - значение, сформированное соответствующей клиентской функцией.
//