This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEGIN; | |
CREATE TABLE `sistema_categoriatipovino` ( | |
`id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY, | |
`nombre` varchar(64) NOT NULL | |
) | |
; | |
CREATE TABLE `sistema_tipovino` ( | |
`id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY, | |
`categoria_id` integer, | |
`anada` integer UNSIGNED NOT NULL, |
Antes de instalar GNU Health y sus dependencias se debe tener en cuenta los requisitos de software para el sistema, que son los siguientes:
- Sistema Operativo: GNU Health es independiente del S.O., sin embargo es muy recomendado el uso de un S.O. Libre (como GNU/Linux or FreeBSD)
- Motor de Base de datos: PostgreSQL
- Python: >= 2.7 < 3.0
- Tryton: = 3.4
- BASH Shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name ~^(?!www\.)(?<domain>.+)$; | |
return 301 $scheme://$domain$request_uri; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Entradas para A | |
int iA0 = 13; | |
int iA1 = 12; | |
int iA2 = 11; | |
int iA3 = 10; | |
//Entradas para B | |
int iB0 = 9; | |
int iB1 = 8; | |
int iB2 = 7; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import numdisplay | |
from datetime import datetime | |
from flask import Flask | |
app = Flask(__name__) | |
@app.route("/num/<int:number>") | |
def num(number=None): | |
if number == None: |
#Linux FAQs