
Check linux ubuntu version
quick ubuntu and mint version check
To determine the Ubuntu version that your Linux Mint installation is based on, you can use several methods involving command-line tools and system files.
quick ubuntu and mint version check
To determine the Ubuntu version that your Linux Mint installation is based on, you can use several methods involving command-line tools and system files.
Ollama on Intel CPU Efficient vs Performance cores
I’ve got a theory to test - if utilising ALL cores on Intel CPU would raise the speed of LLMs? This is bugging me that new gemma3 27 bit model (gemma3:27b, 17GB on ollama) is not fitting into 16GB VRAM of my GPU, and partially running on CPU.
Useful MinIO Commands
MinIO provides two standard UIs: (1) MinIO Console - That’s a web UI, and
(2) MinIO Command - this is a commandline util mc
.
Rearrange terminal windows right from the start
There are several ways to start a group of terminal tools in Linux Mint and have the terminal windows tiled, depending on your workflow and the level of automation you want.
A bit of system administration
Probably shoud call this platform engineering now. Here are some notes on how to install connect and remove the Portainer - docker images and containers manager UI.
some usefull venv commands
Venv is a virtual environment management commandline tool. A much more simple one, comparing to Anaconda. Here are some usefull venv commands.
When you need to pull out image from a PDF file
Sometimes there is a real need to save image from pdf without screenshoting or rendering the pdf on the screen.
pdfimages
helps with that.
Visual Studio Code Cheatsheet is here
Quickly have a look inside jwt token
Here are some effective methods for decoding and printing JWT tokens directly from the command line:
When you urgently need to encode file to base64
Here are examples how to Encode and Decode file to Base64 on Windows, Linux and Mac.
Sometomes you need to add a page to pdf...
Or another day you want to extract image and text from the pdf…
Running any executable as a linux service
Here’s a set of instructions on How to Configure to Run any Executable as a Service in Linux with Systemd.
Combining python program into single file
Use PyInstaller to package Python programs as standalone executables. It works on Linux, Windows, and Mac.
Not the most efficient way, but usable.
Difference between various document classes
LaTeX is a typesetting system - suits well for preparing nice-looking complex documents. LaTeX offers several document classes that determine the overall structure and formatting of a document.
Basic LaTeX reference
LaTeX is a powerful typesetting system widely used for creating professional documents with complex formatting, like math formulae, especially in academic domains. Here’s a cheat sheet for LaTeX typesetting.