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
""" | |
SQL client to create or consuting a DB. | |
Dev: Franco Gil. | |
""" | |
import os | |
import json | |
from time import gmtime, strftime |
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
""" | |
Dev: Franco Gil. | |
DynamoDB Documentation: | |
boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb | |
docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB.html | |
** The Front End are check the Optional & Non - Optional data requeriments. ** | |
""" |
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
/* | |
Code Name: dual_pivot.c | |
Developer: franco Gil | |
Date: 18*2*17 | |
Edited: 1*12*18 | |
Concept: Dual pivot Quicksort. (Yarovlavskiy) | |
--------------------------------------------------------------------- | |
Compilation way # 1: |
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
/* | |
* insercion.l.c | |
* franco Gil | |
* date: 23*3*17 | |
* Insertion sort algorithm, using dynamic memory, and | |
* self NODES for construct a simple linked LIST. | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> |
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: May 12, 2020 | |
-- | |
-- RDBMS: Postgres. | |
-- Procedural Language: PL / pgSQL. | |
-- Given two params. create a slug (url identification) as new attr. for a row. | |
-- | |
-- Input: (a, a) | |
-- Output: 'a-a', if the tuple (a, a) do not exist. | |
-- | |
-- if the tuple exist (a, a), then |
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
/** | |
* Date: June 16th, 2020 | |
* Dev: [email protected] | |
* | |
* > 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 |
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
{ | |
"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" } |
OlderNewer