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
" .ideavimrc is a configuration file for IdeaVim plugin. It uses | |
" the same commands as the original .vimrc configuration. | |
" You can find a list of commands here: https://jb.gg/h38q75 | |
" Find more examples here: https://jb.gg/share-ideavimrc | |
" This config was made using https://www.cyberwizard.io/posts/the-ultimate-ideavim-setup/ as a base | |
" Not everything in the article works with latest versions of intellij idea IDEs but it's still really usefull | |
" Show a few lines of context around the cursor. Note that this makes the | |
" text scroll if you mouse-click near the start or end of the window. | |
set scrolloff=5 |
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
import React from "react"; | |
import { Button, View, Text } from "react-native"; | |
import { Picker } from "react-native"; // *! Deprecated | |
import axios from "axios"; | |
import CalendarPicker from "react-native-calendar-picker"; | |
import { useSelector, useDispatch } from "react-redux"; |
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
<?php | |
// datos del servidor | |
$server = "localhost";; | |
$user = ""; | |
$dbName = ""; | |
$pass = ""; | |
// datos a insertar | |
$diaSemana = $_GET["diasemana"]; | |
$mes = $_GET["mes"]; | |
$dia = $_GET["dia"]; |
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
import React, { useEffect } from "react"; | |
import { View, Button, Text, StyleSheet, ScrollView } from "react-native"; | |
import { useSelector, useDispatch } from "react-redux"; | |
import axios from "axios"; | |
// * User Reducer | |
import { selectCodigo, selectUser } from "../Reducers/userReducer"; | |
// * Request reducer | |
import { | |
selectAllCitas, | |
selectResponse, |
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
case '7': | |
system("cls||clear"); | |
for (contador=0; contador<ca; contador++) | |
for (contador_=0; contador_<ca; contador_++) | |
{ | |
if ((strcmp(mascotas[contador_+1].nombre, mascotas[contador_+2].nombre) > 0) && (ca>contador_+1)) | |
{ | |
// Nombre | |
strcpy(cambio, mascotas[contador_+1].nombre); |
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
#include <stdio.h> | |
#include <stdlib.h> | |
int tablero [8][8]; | |
int n_reinas = 0; | |
void nuevo_tablero() | |
{ | |
n_reinas = 0; | |
int fila, columna; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
// como la vamos a utilizar en la funcion la vas a u | |
int opcion; | |
// hacemos la funcion | |
void menu_programa() | |
{ |
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
// Práctica 28: Arreglos Bidimensionales | |
// Autor: Edgar Isai Salgado Cortez | |
// Fecha: 9/Abril/2019 | |
// Descrpcion: | |
// Te pregunta por el tamaño de la matriz, luego la crea y te muestra la suma de sus filas, columnas, diagonal y diagonal invertida | |
// Formula: sumas | |
// Datos de entrada y Salida: De entrada es el tamaño de la matriz y de salida la matriz y sus sumas. | |
// Conclusion: Nos deja trabajar con las matrices y muestra sus sunas, un buen ejercicio para practicar los for loops */ | |
#include <stdio.h> |
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
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
int numero, posible_divisor=1; | |
printf("Escribe un numero y te pondre sus divisores: \n"); | |
scanf("%i", &numero); | |
while(posible_divisor<=numero) | |
{ |
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
#include <stdio.h> | |
int main() | |
{ | |
int edad; | |
printf("Dime cual es tu edad: "); | |
scanf("%i", &edad); | |
if(edad >= 0 && edad <= 5) | |
{ |
NewerOlder