Skip to content

Instantly share code, notes, and snippets.

@HugoAlvidrez
HugoAlvidrez / .rspec
Last active January 8, 2026 22:23
Reto prueba de API EasyBroker: Obtiene todas las propiedades, imprime sus títulos e incluye pruebas unitarias mediante RSpec
--require spec_helper
@HugoAlvidrez
HugoAlvidrez / chatbot.js
Created January 8, 2026 20:54
Proyecto chatbot en Javascript
class Chatbot {
constructor() {
this.rules = {
hola: () => "Hola, pideme lo que quieras :D",
adios: () => "Bye bye, espero hablemos de nuevo pronto <3",
ayuda: () =>
"Puedo responder a saludos, despedidas y mostrar ayuda básica"
};
}