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 python3 | |
| """ | |
| Generador de contrase帽as Python. | |
| Este script genera una contrase帽a aleatoria basada en los siguientes criterios: | |
| - Longitud de la contrase帽a. | |
| - Incluir letras may煤sculas. | |
| - Incluir letras min煤sculas. |
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 | |
| checkOs() { | |
| if [ "$(uname)" == "Darwin" ]; then | |
| echo "macOS" | |
| elif [ "$(uname -s)" == "Linux" ]; then | |
| if grep -qi microsoft /proc/version; then | |
| echo "WSL" | |
| else | |
| echo "Linux" |
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
| """ | |
| numero_a_letras_decimal.py | |
| Convierte un n煤mero decimal a letras en el sistema monetario mexicano. | |
| Ejemplo: | |
| $ python numero_a_letras_decimal.py 1234.56 | |
| Salida: |
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
| @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 |
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
| SMTP_SERVER= | |
| SMTP_PORT= | |
| SENDER_EMAIL= | |
| SENDER_PASSWORD= | |
| SENDER_NAME= |
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
| python-dotenv==1.0.0 |
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 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 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
| - [ ] Tarea 1 | |
| - [x] Tarea 2 | |
| - [ ] Tarea 3 |
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
| # BASH | |
| #### Contenido | |
| 1. [Variables](#variables) | |
| 2. [Condicionales](#condicionales) | |
| 3. [Ciclos](#ciclos) | |
| --- |
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 python3 | |
| from pydrive2.auth import GoogleAuth | |
| from pydrive2.drive import GoogleDrive | |
| directorio_credenciales = 'credentials_module.json' | |
| # Iniciar Sesi贸n | |
| def login(): | |
| gauth = GoogleAuth() |
NewerOlder