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
| #Operadores en python | |
| #1. Aperadores Aritméticos | |
| suma = 5 + 5 | |
| resta = 10 - 6 | |
| multiplicacion = 5 * 5 | |
| división = 10 / 2 | |
| modulo = 10 % 6 | |
| exponente = 10 ** 2 |
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
| #tipos de datos en python | |
| #1. tipo de dato numérico (int) | |
| edad = 23 | |
| promedio = 19 | |
| numero = -50 | |
| #2. tipo de dato decimal (float) | |
| peso = 75.50 | |
| estatura = 170.30 |
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
| #--------------------------------- | |
| #Diego Lipa | |
| nota1 = 5 | |
| nota2 = 15 | |
| nota3 = 20 | |
| promedio = (nota1+nota2+nota3)/3 | |
| print(promedio) | |
| if(promedio >= 17): | |
| print("Exelente") | |
| elif(promedio >= 14): |
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
| public function authWithProvider(Request $request) | |
| { | |
| $provider = $request->input('provider'); | |
| $token = $request->input('access_token'); | |
| $jResponse = []; | |
| // Validar que se haya proporcionado un token | |
| if (empty($token)) { | |
| return $this->errorResponse('No se proporcionó un token de acceso', 400); |
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
| filterForm!: FormGroup; | |
| ngOnInit(): void { | |
| this.buildForm(); | |
| } | |
| private buildForm(): void { | |
| this.filterForm = this.formBuilder.group({ |
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
| CREATE TABLE ESTADO_CIVIL( | |
| id_estado_civil NUMBER(38), | |
| nombre varchar2(20), | |
| estado NUMBER(1), | |
| sigla VARCHAR2(5), | |
| CONSTRAINT pk_estado_civil | |
| PRIMARY KEY (id_estado_civil) | |
| ); | |
| CREATE TABLE TIPO_DOCUMENTO( |
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
| <template> | |
| <Head title="Llaves"/> | |
| <AppLayout :breadcrumbs="breadcrumbs" > | |
| <h1>Llaves</h1> | |
| </AppLayout> | |
| </template> | |
| <script setup lang="ts"> | |
| import AppLayout from '@/layouts/AppLayout.vue'; | |
| import { Head } from '@inertiajs/vue3'; |
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
| Tailwind Components | |
| Colección comunitaria de más de 800 componentes y plantillas de UI de Tailwind CSS. | |
| Tailblocks | |
| Ofrece más de 60 bloques de diseño minimalistas como testimonios, equipos, pasos, estadísticas, precios, héroes, encabezados, galerías, pies de página, características y comercio electrónico. | |
| Meraki UI | |
| Colección creciente de más de 50 componentes de Tailwind CSS que ofrecen soporte para idiomas de derecha a izquierda (RTL). | |
| Tailwind Toolbox |
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
| --======================================================================================================== | |
| --Comandos para crear usuarios | |
| --======================================================================================================== | |
| -- Crear un nuevo usuario | |
| CREATE USER 'lipa'@'localhost' IDENTIFIED BY 'lipa2025'; | |
| -- Crear usuario que pueda conectarse desde cualquier host | |
| CREATE USER 'lipa'@'%' IDENTIFIED BY 'lipa2025'; |