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
#!/usr/bin/env python3 | |
import sys | |
from pydrive2.auth import GoogleAuth | |
import gdrive as gd | |
from dotenv import load_dotenv | |
import os | |
# Carga las variables de entorno desde el archivo .env | |
load_dotenv() |
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
client_config_backend: settings | |
client_config: | |
client_id: {{ CLIENT_ID }} | |
client_secret: {{ CLIENT_SECRET }} | |
save_credentials: True | |
save_credentials_backend: file | |
save_credentials_file: credentials_module.json |
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
#!/usr/bin/env python3 | |
from pydrive2.auth import GoogleAuth | |
from pydrive2.drive import GoogleDrive | |
directorio_credenciales = 'credentials_module.json' | |
# Iniciar Sesión | |
def login(): | |
gauth = GoogleAuth() |
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
# BASH | |
#### Contenido | |
1. [Variables](#variables) | |
2. [Condicionales](#condicionales) | |
3. [Ciclos](#ciclos) | |
--- |
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
- [ ] Tarea 1 | |
- [x] Tarea 2 | |
- [ ] Tarea 3 |
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
#!/usr/bin/env python3 | |
""" | |
Este script envía correos electrónicos con adjuntos a través de SMTP. | |
Dependencias: Ranger, Neovim y Dotenv | |
El script carga la configuración desde un archivo .env | |
y permite al usuario especificar el destinatario, el asunto y el | |
cuerpo del correo. |
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
python-dotenv==1.0.0 |
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
SMTP_SERVER= | |
SMTP_PORT= | |
SENDER_EMAIL= | |
SENDER_PASSWORD= | |
SENDER_NAME= |
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
@echo off | |
:: EL script de python espera "-m <matricula" | |
set arg1=%1 | |
set arg2=%2 | |
set arg3=%3 | |
:: Define la ruta del script de AgoraCLI | |
set agoracli_path=%USERPROFILE%\.config\AgoraCLI\agoracli.py |