Skip to content

Instantly share code, notes, and snippets.

View ljaraque's full-sized avatar

Luis Jaraquemada ljaraque

View GitHub Profile

Environments in Django

[email protected]

1. Overview

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.

2. Setup

@ljaraque
ljaraque / docker_install_indebian.md
Last active June 26, 2023 15:00
Docker installation in Debian11
@ljaraque
ljaraque / flask_tips.md
Last active May 5, 2021 03:09
Flask Tips

Flask Tips

1. List of App's URLs

from app import app
app.url_map
@ljaraque
ljaraque / clases_e_instanciacion_python3.md
Last active January 17, 2021 05:12
Clases e Instanciación en Python3

Classes and Instantiation Process in Python

[email protected]


1. What is object in Python?

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.

@ljaraque
ljaraque / git_quick_guide.md
Last active November 2, 2020 00:45
Git Quick Guide

**Git Quick Start Guide **

title: Git Quick Start Guide
date: 2017-01-30
by: [email protected]

  1. Check current status of git repo: git status

  2. Create new branch: git checkout -b branch_name

Introducción a Postgres

1. Instalación Postgres

Debemos crear el script install_postgres_12.sh con el siguiente contenido:

# Ref: https://www.postgresql.org/download/linux/ubuntu/
# Create the file repository configuration:
@ljaraque
ljaraque / jenkins_cheatsheet.md
Last active October 10, 2018 22:01
Jenkins Cheatsheet

Jenkins Cheatsheet

[email protected]

1. Installing Jenkins

first install java:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
@ljaraque
ljaraque / tensorflow-gpu-ubuntu.md
Last active March 12, 2022 10:32
Install tensorflow-gpu in ubuntu

Install tensorflow-gpu1.8 in ubuntu18.04 with CUDA9.2, cuDNN7.2.1 and NVIDIA Driver 396

[email protected]

Overview

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
@ljaraque
ljaraque / jenkins-docker-flask.md
Created August 9, 2018 04:21
Jenkins-Docker-Flask