###1. Compile to .pyo
To compile python code it is necessary to rung the following command over the python script:
python -OO -m py_compile script.py
Proper configuration and management of environments are essential for successful development and deployment processes. By establishing distinct environments for development and deployment, organizations can ensure smooth transitions and minimize potential issues. In the development environment, developers can work on coding, testing, and refining their applications without affecting the live deployment. This allows for experimentation and iteration while maintaining stability in the production environment. When it comes to deployment, a well-managed environment guarantees that the application runs efficiently and reliably for end-users. By carefully configuring and managing these environments, organizations can optimize their development workflow, enhance collaboration, and deliver high-quality software to their users.
ref_1: https://www.redswitches.com/blog/install-docker-on-debian/
sudo apt update
sudo apt upgrade
sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release
This is a hands-on guide for Continuous Integration of Flask Apps and Dockerized Flask Apps.
This is a summary of the process I lived in order to enable my system with CUDA9.2, cuDNN7.2.1, Tensorflow1.8 and NVIDIA GEFORCE GTX860M GPU. You can just skip the steps marked with FAILED
. I decided to keep them there in order to be useful for others who tried those paths too.
FAILED
(Next section is successfull) Install NVIDIA driver (FAILED, THIS WILL INSTALL DRIVER 390 which is not compatible with CUDA9.2):ubuntu-drivers devices
In Python, object
is the base class from which all classes inherit.
The type
function in Python returns the type of the object passed as argument. Actually, type
function is a sintactic sugar for checking the attribute __class__
of an object.
title: Git Quick Start Guide
date: 2017-01-30
by: ljaraque@yahoo.com
Check current status of git repo: git status
Create new branch: git checkout -b branch_name