This is a recipe for connecting to the CMS DiracX test deployment at:
https://cms-diracx-test18.cern.ch/
and using the DiracX CLI to authenticate and submit a simple job.
| from config import get_parameter | |
| from helper import parse_chat_transcript, response | |
| import json | |
| import re | |
| from zendesk import Zendesk | |
| ZENDESK_CREDENTIALS = json.loads(get_parameter("zendesk-credentials", True)) | |
| ZENDESK_SUBDOMAIN = ZENDESK_CREDENTIALS["subdomain"] | |
| ZENDESK_USERNAME = ZENDESK_CREDENTIALS["username"] | |
| ZENDESK_API_TOKEN = ZENDESK_CREDENTIALS["api-token"] |
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.
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.
Подробная дорожная карта для изучения основ Python
| // ==UserScript== | |
| // @name Vectorizer.AI Downloader | |
| // @version 0.1.0 | |
| // @description Intercepts the canvas drawing process on vectorizer.ai to reconstruct and download the full SVG result for free. | |
| // @author mateoltd | |
| // @namespace http://tampermonkey.net/ | |
| // @license MIT |
Note: This is an updated installation method for Google Chrome, as the previous
apt-getapproach has been deprecated. Note: sh file is attached.
Add Google’s public signing key and set up the APT repository for Google Chrome:
curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor -o /usr/share/keyrings/google-chrome.gpg| """ | |
| Floating Lyric Windows Animation (Permanent Stack Version) | |
| ------------------------------------------------------------ | |
| Every lyric line appears in its own popup window — all windows are | |
| exactly the same fixed size and font as the "Start" button window. | |
| Boxes never disappear or fade. Each new box spawns at a random safe | |
| X position near the bottom of the screen; as new boxes appear below, | |
| every existing box shifts upward smoothly, creating a continuous | |
| rising stack of lyric windows, synced to a song. |