Skip to content

Instantly share code, notes, and snippets.

View ivandevp's full-sized avatar
馃捇
<Editor onWriteCode={doMagic} />

Ivan Medina ivandevp

馃捇
<Editor onWriteCode={doMagic} />
View GitHub Profile
@ivandevp
ivandevp / ivandevp-computer-profile.md
Last active September 24, 2020 00:16
Profile description for Computer Society folks

Ivan Medina

Software Engineer @ Yalo

Comenz贸 trabajando como .NET developer y luego se enfoc贸 en desarrollo web con tecnolog铆as Open Source. Actualmente interesado en lenguajes de programaci贸n como JavaScript, Golang y Rust enfocado al desarrollo de tools que agilicen el proceso de desarrollo de software as铆 como temas relacionados con arquitectura de

@ivandevp
ivandevp / lms-git-conventions-setup.md
Last active September 21, 2018 19:07
How to setup around our git conventions in the LMS Dev Team :thinking_face:
@ivandevp
ivandevp / lms-git-conventions.md
Last active December 22, 2024 14:58
Git conventions followed by LMS dev team.
@ivandevp
ivandevp / fork-process.md
Last active November 30, 2024 03:20
Explicaci贸n del proceso para resoluci贸n de ejercicios con boilerplate - Bootcamp @ Laboratoria.

Fork

Fork Workflow

驴Qu茅 es un fork?

Un fork es una copia de un repositorio existente.

驴Para qu茅 realizar un fork?

@ivandevp
ivandevp / this-vs-target.html
Created May 31, 2017 14:40
this vs. e.target
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>This vs. Target</title>
</head>
<body>
<div id="elemento">
<button type="button">Click me!</button>
<p>Hola!</p>
@ivandevp
ivandevp / vi-exit-commands.sh
Created May 30, 2017 19:52
Vi/Vim exit commands
# Salir
:q
# Salir sin guardar cambios
:q!
# Guardar cambios
:w
# Guardar cambios y salir
@ivandevp
ivandevp / project-structure.sh
Created May 30, 2017 17:50
Project Structure - Creation Workflow
# Ingresar a carpeta de proyectos
cd ~/ruta/a/carpeta/de/proyectos
# Crear carpeta de proyecto
mkdir proyecto
cd proyecto
# Creaci贸n de archivos
mkdir css
mkdir js
@ivandevp
ivandevp / gh-pages.sh
Created May 30, 2017 17:18
GH Pages workflow
# Creaci贸n del repositorio
git init
git add -A
git commit -m "Primer commit"
git remote add origin https://github.com/<username>/<nombre-repositorio>.git
git push origin master
# Creaci贸n de rama gh-pages
git checkout -b gh-pages
@ivandevp
ivandevp / reverse-string-to-fix.js
Created March 14, 2017 16:29
Funci贸n revertirTexto con errores l贸gicos
/*
* Corrige el siguiente c贸digo de tal forma que obtengas el resultado esperado,
* usa las t茅cnicas de depuraci贸n que conoces para encontrar y solucionar el error.
*/
var revertirTexto = function (texto) {
var textoInvertido = "";
var longitud = texto.length;
for (var i = longitud; i > 0; i--) {
textoInvertido += texto.charAt(i);
@ivandevp
ivandevp / guess-number.js
Created March 14, 2017 15:39
Adivina el n煤mero en JS
var numero = parseInt(prompt("Ingresa un n煤mero (del 1 al 10):"));
var numeroAleatorio = Math.floor(Math.random() * 10);
debugger;
if (numeroAleatorio === numero) {
console.log("Adivinaste!");
} else {
console.log("Perdiste! El n煤mero es " + numeroAleatorio);
}