- el sistema debe contar con una funcionalidad que permita recopilar información para determinar como un usuario pudo contraer el covid
- el sistema debe contar con una funcionalidad que permita recopilar información para determinar los hábitos de comportamiento del hogar del usuario
- el sistema debe contar con una funcionalidad que permita recopilar información de la población a través de pruebas de diagnóstico sencillas
- la funcionalidad de pruebas de diagnostico sencillas debe preguntar por multiple sintomatología
- la funcionalidad de pruebas de diagnostico sencillas debe comunicar al usuario si debe consultar al médico o no basandose en sus sintomas
- el sistema debe permitir presentar los formularios a las personas dependiendo de su caracterización demografica
- el sistema debe contar con una funcionalidad que permita adquirir información relacionada a la evolución de contagio de covid-19 en tiempo real de fuentes autorizadas por el ministerio de proteccion social
- el sistema deb
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
import socket | |
import tornado.gen | |
import tornado.ioloop | |
import tornado.iostream | |
import tornado.tcpserver | |
import tornado.websocket | |
class TcpServer(tornado.tcpserver.TCPServer): |
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
from concurrent.futures import ThreadPoolExecutor | |
from time import sleep, time | |
def runner(state, working, wait_to_start): | |
print(f'start {state}') | |
sleep(wait_to_start * 60) | |
stop_time = time() + (working * 60) | |
while stop_time >= time(): | |
print(state) |
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
\chapter{Definición Y Especificación De Requisitos} | |
\label{Definición Y Especificación De Requisitos} | |
\section{Definición de Requisitos} | |
\subsection {Definición de requisitos funcionales} | |
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
<!DOCTYPE html> | |
<html lang="es" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>mi pagina</title> | |
</head> | |
<body> | |
<h1>hola amigos</h1> | |
<h2 id="mostrarfecha"></h2> | |
</body> |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Módulos | |
import pygame | |
import scene | |
import pygame | |
import sys |
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
""" | |
slack bot with steroids | |
get tokens here: https://slack.dev/python-slackclient/auth.html | |
slack dev kit: https://slack.dev/python-slackclient/index.html | |
requirements: | |
pip install slackclient | |
""" |
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
<button type="button" name="button" class="ajax-modal" data-url="{% url 'user_management:create_new_vendor' %}">nuevo</button> | |
########################################## | |
vista de create_new_vendor | |
======================================= | |
class vendorNewCreateView(CreateView): | |
model = UserProfile | |
form_class = naturalSalesmanForm |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>hi there</title> | |
</head> | |
<body> | |
<script src="https://unpkg.com/vue"></script> |
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
def validate_reservation_booking(initial_day, final_day, ship_object): | |
"""does reservation avoiding overbooking""" | |
response = False | |
message = [] | |
now_time = date.today() | |
# initial is less than final | |
if final_day < initial_day: | |
message.append('La fecha final no puede ser menor a la fecha inicial, por favor modifica las fechas de tu reserva.') | |
return response, ','.join(message) | |
# initial and final are in the future |
NewerOlder