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
| var cadenaExistente = [ | |
| { // dar objetos | |
| hashBloqueAnterior: '', | |
| da: 'nadie', // por ser el primer bloque | |
| recibe: 'Ale', | |
| cuanto: 30, | |
| clave: '40', // no se va a pedir por ser el primer bloque | |
| } | |
| ] |
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
| require 'prime' | |
| def prompt_number(*args) | |
| print(*args) | |
| result = gets.strip | |
| result.to_i | |
| end | |
| def generateModuloAndPublicExponent(prime_a, prime_b ) | |
| # el móduo es: |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| </head> | |
| <body> | |
| <script> | |
| var nombre = prompt('cual es tu 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
| require 'mock_redis' | |
| require 'spec_helper' | |
| describe ApplicationController do | |
| it "should return 200 as status" do | |
| reponse = get "status" | |
| response.status.should eq 200 | |
| end |