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
#Ejercicio1 | |
preguntas = ["Como te llamas?","De donde eres?","Te gusta Ruby","Vives en Colima?","Que dia es hoy?","Tienes cuenta en GitHub?","Tienes mascota?","Te gusta programar?","Cuanto es 3 + 5?","Sabes Programar?"] | |
puts preguntas.sample | |
puts preguntas.sample until gets.chomp.eql? "bye" | |
#Ejercicio 2 | |
def factorial (n = 1) | |
return n unless n!=1 |
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
<html> | |
<head> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"> | |
<title>High Chart</title> | |
</head> | |
<body> | |
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
/* | |
***************************************************************************************** | |
* Source File | |
* Copyright (C) 2019 IvanSnek | |
* | |
* [CHANGE HISTORY] | |
* 1. 2019-Aug-13 (ivansnek) File created | |
* | |
***************************************************************************************** | |
*/ |
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, { useState, useEffect } from 'react' | |
import { useInterval } from './useInterval'; | |
import { injectRecaptchaScript, isReCaptchaReady } from './g-recaptcha'; | |
import './styles.css'; | |
/** | |
* Simple auto-loadable Google ReCaptcha component | |
* | |
* @param {object} component properties |