To see messages from other users and the system as well as performing various log operations from a regular user add it to the group:
sudo usermod -aG systemd-journal $USER| { | |
| "mcpServers": { | |
| "knowledgebase_db": { | |
| "type": "stdio", | |
| "command": "uv", | |
| "args": [ | |
| "run", | |
| "python", | |
| "./.cursor/postgres.py", | |
| "--db", |
| import functools | |
| import inspect | |
| from typing import Callable, Literal, Optional | |
| from langchain_core.tools import BaseTool, StructuredTool | |
| from langchain_core.tools.base import ArgsSchema | |
| def class_bound_tool( | |
| *args, |
| import sys | |
| from typing import List, Optional, Tuple | |
| import faiss | |
| import numpy as np | |
| import torch | |
| from transformers import ( | |
| AutoModelForCausalLM, | |
| AutoTokenizer, | |
| DPRContextEncoder, |
| #!/usr/bin/env bash | |
| # Copyright (C) 2025 Serghei Iakovlev <gnu@serghei.pl> | |
| # | |
| # This file is free software; you can redistribute it and/or | |
| # modify it under the terms of the GNU General Public License | |
| # as published by the Free Software Foundation; either version 3 | |
| # of the License, or (at your option) any later version. | |
| # | |
| # This file is distributed in the hope that it will be useful, |
| cmake_minimum_required(VERSION 3.5) | |
| project(extname | |
| VERSION 1.0.0 | |
| LANGUAGES C) | |
| message(STATUS "Begin cmaking of PHP extension ...") | |
| if (NOT CMAKE_BUILD_TYPE) | |
| set(CMAKE_BUILD_TYPE Debug CACHE STRING |