Skip to content

Instantly share code, notes, and snippets.

View ljaraque's full-sized avatar

Luis Jaraquemada ljaraque

View GitHub Profile

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 / 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: ljaraque@yahoo.com

  1. Check current status of git repo: git status

  2. Create new branch: git checkout -b branch_name

@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

ljaraque@yahoo.com


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 / 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 / docker_install_indebian.md
Last active June 26, 2023 15:00
Docker installation in Debian11

Environments in Django

ljaraque@yahoo.com

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