start new:
tmux
start new with session name:
tmux new -s myname
| # | |
| # LLMs.txt Documentation Scraper for RAG | |
| # | |
| # Author: David Abutbul | |
| # GitHub: https://github.com/abutbul | |
| # Date: June 30, 2025 | |
| # | |
| # Description: | |
| # This script is a utility designed to streamline the data ingestion phase of | |
| # Retrieval-Augmented Generation (RAG) development. It helps users who need |
| import traceback | |
| import logging | |
| import sys | |
| import os | |
| from langchain_mcp_adapters.client import MultiServerMCPClient | |
| from langgraph.prebuilt import create_react_agent | |
| from langchain_ollama.chat_models import ChatOllama | |
| from langchain_deepseek import ChatDeepSeek | |
| from fastapi import FastAPI, HTTPException, Request | |
| from fastapi.responses import JSONResponse |
| # Clone the repository | |
| git clone https://github.com/base44dev/i-gaming-insight-f6c3b3fd.git | |
| # Navigate into the project directory | |
| cd i-gaming-insight-f6c3b3fd | |
| # Remove the existing origin | |
| git remote remove origin | |
| # Add the new origin URL |
| /sbbs/exec/ircd.js compiled in 0.00 seconds | |
| SynchronetIRCd-1.9 started. | |
| Trying to read configuration from: /sbbs/ctrl/ircd.conf | |
| !IRCd ERROR -9 calling getaddrinfo() on :: | |
| !Error Error: Unable to add host to socket set creating listening socket on port 6667 | |
| /sbbs/exec/ircd.js executed in 0.10 seconds | |
| !Module (ircd) set exit_code: 1 |
| 1. Create a backup of nx PAM configuration (sudo cp -a /etc/pam.d/nx /etc/pam.d/nx.original). Then change /etc/pam.d/nx in this way: | |
| auth include system-login | |
| account include system-login | |
| password include system-login | |
| session include system-login | |
| 2. Change DefaultDesktopCommand in /usr/NX/etc/node.cfg in order to remove dbus-launch –exit-with-session: | |
| DefaultDesktopCommand "startkde" |
| #!/bin/bash | |
| sudo mount -o remount,size=10G,noatime /tmp | |
| echo "Done. Please use 'df -h' to make sure folder size is increased." |
| #!/usr/bin/bash | |
| # About: | |
| # I use this script to eliminate the long line of chained fidopoll commands in my Poll event | |
| # But with minimal adaptations this could be what ever you want it to be. | |
| # Instructions: | |
| # Place this script in your mystic folder and change your fido polling event to call ./pollfido.sh instead of ./fidopoll 1:1/1 | |
| # Please notice that you will still want to chain in ./mutil mailin after this script is done via the evnets editor | |
| # since I am not calling it with-in this script. (you could easily add it after 'done' if you wish to call it from this script) |