Python venv Cheatsheet
some useful venv commands
Venv is a virtual environment management commandline tool. A much more simple one, comparing to Anaconda. Here are some useful venv commands.
some useful venv commands
Venv is a virtual environment management commandline tool. A much more simple one, comparing to Anaconda. Here are some useful venv commands.
When you need to pull out image from a PDF file
Sometimes there is a real need to save images from a PDF without screenshotting or rendering the PDF on 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:
Encode and decode files to Base64 on Windows, Linux, and Mac.
This cheatsheet shows how to encode and decode files and strings to Base64 from the command line on Windows, Linux, and macOS — no extra tools required.
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 suited 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.
Updated Ollama command list - ls, ps, run, serve, etc
This Ollama CLI cheatsheet focuses on the commands you use every day (ollama ls, ollama serve, ollama run, ollama ps, model management, and common workflows), with examples you can copy/paste.
Forgotten the conda command parameters?
Here’s a Conda Cheatsheet I’ve compiled some time ago… This Conda Cheatsheet is covering the most essential commands and tips for managing environments, packages, and channels I’ve found useful.
Some frequent k8s commands with params
Here is my k8s cheat sheet covering kubenetes most important commands and concepts from installing to running containers and cleaning up:
Some frequent docker commands parameters
Here is a Docker cheat sheet covering the most important commands and concepts from installing to running containers and cleaning up:
Frequenly needed bits of python code
Sometimes need this but can’t find rightaway. So keeping them all here.
Some tools command line params
Not a very comprehensive list, just some useful to me ones