#Linux FAQs
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # This file echoes a bunch of color codes to the | |
| # terminal to demonstrate what's available. Each | |
| # line is the color code of one foreground color, | |
| # out of 17 (default + 16 escapes), followed by a | |
| # test use of that color on all nine background | |
| # colors (default + 8 escapes). | |
| # |
This file contains hidden or 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: |
This file contains hidden or 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 hidden or 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; | |
| } |
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