MP4 to.GIF Conveerter (Python Script)

GITHUB CODE:https://github.com/darnokkeson/mp4-to-gif MP4 to GIF Converter A lightweight, zero-dependency Python script that converts video segments into high-quality, optimized GIFs using FFmpeg’s industry-standard two-pass palette generation. Supports precise in/out cuts, custom FPS, and smart scaling. Features Prerequisites Installation Usage Note: end_time is an absolute timestamp, not a duration.Formula: end_time = start_time + desired_duration Command-Line Arguments Argument

Local LLM Setup with Docker Containers

This guide describes my setup for running a local LLM using Docker containers. The model and the frontend UI run in separate containers, connected via a Docker network. Stack Overview: Final Architecture (Docker Version) Install Docker Run Docker without sudo:https://devopslog.pl/2026/05/06/using-docker-without-sudo/(A reboot is required after configuration.) Model Storag & Recommended Engine Best place for the latest

Set the Maximum Battery Charging Threshold on Ubuntu 26.04

Creating a custom service in systemd starts with defining a .service file. This file specifies how the service should operate, including the command to execute, restart behavior, and startup conditions. ISSUE:If we change the value of the maximum battery charge threshold, it only persists until the next reboot. After that, the value resets to the

Local AI like ChatGPT via Docker Model Runner

The most powerful and convenient way to deploy AI with Docker is Docker Model Runner (DMR). High-level architecture and major components. Docker Model Runner – is a runtime process working outside the containers that provides models direct access to host hardware. OpenAI-compatible endpoints – the same API endpoints as the official OpenAI API uses. Provides

Docker Model Runner: context size

To change the default context size of a model, which is typically 4096 tokens, use the following command: Example usage: NOTE! If you run a model after increasing the context size, RAM usage can immediately spike to the maximum amount reserved for that context size, even if the conversation only contains a small number of

using Docker without sudo

Have you seen this error: Run Docker commands without sudo 1. Add the docker group if it doesn’t already exist 2. Add the connected user $USER to the docker group Optionally change the username to match your preferred user. IMPORTANT: Log out and log back in so that your group membership is re-evaluated. 3. Restart

Docker and AI in Containers using Ollama

Real Use Case Using Docker as an environment and Ollama as a containerized application with a specific model, e.g. Phi-3. What is Ollama A tool that lets you run LLMs locally. It is often based on the llama.cpp engine.It handles: It runs as a server on port 11434. Ollama inside Docker Docker creates a container