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 Base64 on Windows, Linux, and Mac.
This cheatsheet shows how to encode and decode Base64 on Windows, Linux, and macOS with certutil, PowerShell, and base64, including the flags that differ by system.
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.
Example of implementation
Here I list steps needed to implement pair of lambda functions in AWS SAM:
A bit of code reusability never hurts
These are the step-by-step instructions on how to add layers to AWS Lambdas - in Python. Will be using base code generated by standard HelloWorld template example.
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:
AWS Amplify with flutter support
A quickstart - how to Create Flutter fullstack project on AWS Amplify platform.
Which language to use for AWS lambda?
We can write lambda function for deployment to AWS in several languages. Let’s compare the performance of (almost empty) functions written in JavaScript, Python and Golang…
Very frequent error message...
After clonning the git repository, do the local repository configuration, particularly set user name and email address.
Backup and restore Gitea, the right way
Gitea backups touch three moving parts - db, git repos, and app files - and since 2024 the built-in gitea dump command handles all of them in one go.
Some tools command line params
Not a very comprehensive list, just some useful to me ones