Encoding - decoding Base64 on Windows, Linux and Mac
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.
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 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
Essential SQL commands and operations
Here’s a concise SQL cheatsheet covering the most essential commands and operations:
Quick reference for Markdown: headings, lists, code, tables & more.
Markdown language is used in wikipedia and Hugo. It has support for headers, lists, font style modifications, images, codequotes and tables. Here I keep a short summary of markdown formatting.
Useful golang commands and constructs
Here’s basic Go program structure, error handling patterns and channels vs goroutines comparison.
Useful Hugo commands params
Hugo is a static website generator. It helps produce html from markup, theme and keep website organised. Like this tech blog. Here’s a list of the most useful Hugo commands with their parameters: