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
INPUT_DATA_BACK = [ | |
{ | |
"weekDayName": 3, | |
"scheduleBlocks": [ | |
{ | |
"startWorkingTime": 480, | |
"endWorkingTime": 720, | |
"tag": null, | |
"description": null | |
}, |
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
""" | |
Description: Compose a CSV object. | |
Example execution: | |
python3 python_pipeline.py > output.csv | |
""" | |
import csv | |
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
{ | |
"fonasa": [ | |
{ | |
"group": "29", | |
"items": [ | |
{ | |
"subgroup": "2904", | |
"description": "POR ESPECIALISTA EN ONCOLOGIA Y HEMATOONCOLOGOS.", | |
"items": [ | |
{ |
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
{ | |
"fonasa": [ | |
{ | |
"group": "01", | |
"items": [ | |
{ | |
"subgroup": "0101", | |
"description": "ATENCION ABIERTA", | |
"items": [ | |
{ |
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
-- Trying a fibonacci on pl/pgsql | |
create or replace function fibonacci( step integer ) | |
returns integer as | |
$$ | |
begin | |
-- raise info 'step %', step; | |
if step = 0 then | |
return 0; | |
else |
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
{ | |
"medical_agreement" : { | |
"client" : "ECR Salud", | |
"care_provider" : [ | |
"ECR Salud", | |
"Inmunomedica", | |
"Centro Médico de Quilicura", | |
"UCM", | |
"Medismart", | |
"Teledoc", |
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
{ | |
"service_type" : [ | |
{ "code" : "0108000", "description" : "Teleconsulta"}, | |
{ "code" : "0101c01", "description" : "Visita Médica Presencial" }, | |
{ "code" : "0101c02", "description" : "Atención Presencial" }, | |
{ "code" : "0307c01", "description" : "Toma de Muestra Lab" }, | |
{ "code" : "0108c01", "description" : "Atención de Teleconsulta" }, | |
{ "code" : "0307c02", "description" : "Toma de Muestra PCR" }, | |
{ "code" : "2601000", "description" : "Procedemiento de Enfermería" }, | |
{ "code" : "2601c01", "description" : "Vacunación" } |
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
# References | |
# https://majornetwork.net/2020/10/webhook-listener-with-fastapi/ | |
# https://majornetwork.net/2020/11/systemd-setup-for-fastapi-webhook-listener/ | |
git clone https://gitlab.com/realFranco/some-rest-service.git | |
cd into_the_folder | |
nano .env | |
sudo apt-get install python3-venv | |
python3 -m venv env | |
source env/bin/activate |
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
/** | |
* Date: June 16th, 2020 | |
* Dev: franco@systemagency.com | |
* | |
* > Code triggered by the lambda function to continue with SES Stats. | |
* > Including the original email headers on delivery notifications. | |
* | |
* Code taken from: | |
* > https://aws.amazon.com/premiumsupport/knowledge-center/lambda-sns-ses-dynamodb/ | |
* |
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
# Steps to install the react Project | |
# Requirements: | |
# - ubuntu 18.04 ( I do not test it on 20.04 ). | |
# - git | |
# - Nginx | |
# - Node | |
# - pm2 | |
# - Certbot |