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.
Based on VS Code extentions install count
I aggregated some VS Code extentions installation statistics by different programming languages. And the most popular is Python. Then C++.
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.
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.
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 docker commands parameters
Here is a Docker cheat sheet covering the most important commands and concepts from installing to running containers and cleaning up:
Very frequent error message...
After clonning the git repository, do the local repository configuration, particularly set user name and email address.
Anything can happen in these difficult times
Need to backup the 1) db, 2) filestorage, 3) some other gitea files. Here we go.
Some tools command line params
Not a very comprehensive list, just some useful to me ones
To use container registry in k8s we need it over ssl
We want to host a nice and secure container registry - to push docker images there and our kubernetes cluster would pull them from this registry. So came the idea to use the gitea over ssl.
Trying to choose good opensource git server
Wanting to move your projects away from open cloud git providers and thinking of self-hosting internal git server locally?
Regularly happens
Need to have some standard post-install task sequence for the reference, so recording it here.
Essential SQL commands and operations
Here’s a concise SQL cheatsheet covering the most essential commands and operations: