Skip to content

Instantly share code, notes, and snippets.

View katio's full-sized avatar

Johann Echavarria katio

  • Medellín, Colombia
View GitHub Profile
@katio
katio / dado.html
Last active September 24, 2021 02:56
Totalidad de código de hilo de Twitter #ProgramaciónDesdeCero https://twitter.com/abrupto/status/1411413368091643905
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>
lanzador de dado
</title>
<link rel="icon" type="image/png" href="https://i.imgur.com/dNkJmNs.png">
</head>
@katio
katio / dado.html
Created July 3, 2021 07:44
Código de video número 28 de la serie Programación desde cero. Condicionales en JavaScript: if...else: https://www.youtube.com/watch?v=txFTstj87pE&list=PLZCwI0BeUWWK9xfJY9bO36_DG4QtXJX0o&index=28 https://twitter.com/abrupto
<!DOCTYPE html>
<html>
<head></head>
<body>
<style>
body {
color: green;
font-family: arial;
@katio
katio / dado.html
Created July 3, 2021 07:28
Código de video número 26 de la serie Programación desde cero. JavaScript: eventos y cómo programar un clic: https://www.youtube.com/watch?v=_i4fUcYaYM0&list=PLZCwI0BeUWWK9xfJY9bO36_DG4QtXJX0o&index=26 https://twitter.com/abrupto
<!DOCTYPE html>
<html>
<head></head>
<body>
<style>
body {
color: green;
font-family: arial;
}
#dado {
@katio
katio / dado.html
Last active July 3, 2021 07:20
Código de video número 25 de la serie Programación desde cero. Separación de intereses en funciones de JavaScript: https://www.youtube.com/watch?v=-IHr6_q2DEs&list=PLZCwI0BeUWWK9xfJY9bO36_DG4QtXJX0o&index=25 https://twitter.com/abrupto
<!DOCTYPE html>
<html>
<head></head>
<body>
<style>
body {
color: green;
font-family: arial;
}
#dado {
@katio
katio / dado.html
Last active July 3, 2021 07:22
Código de video número 23 de la serie Programación desde cero. JavaScript: Camel case y ubicación de etiqueta script: https://www.youtube.com/watch?v=V55HUglWr5k&list=PLZCwI0BeUWWK9xfJY9bO36_DG4QtXJX0o&index=23 https://twitter.com/abrupto
<!DOCTYPE html>
<html>
<head></head>
<body>
<style>
body {
color: green;
font-family: arial;
}
#dado {
@katio
katio / dado.html
Last active July 3, 2021 07:23
Código de video número 17 de la serie Programación desde cero. CSS: estilos de fondo, mouse y herramientas de desarrollo: https://www.youtube.com/watch?v=yFlSyWihha4&list=PLZCwI0BeUWWK9xfJY9bO36_DG4QtXJX0o&index=17 https://twitter.com/abrupto
<!DOCTYPE html>
<html>
<head></head>
<body>
<style>
body {
color: green;
font-family: arial;
}
#dado {
@katio
katio / dado.html
Last active July 3, 2021 07:25
Código de video número 13 de la serie Programación desde cero. CSS: reglas, selectores y declaraciones: https://www.youtube.com/watch?v=ORR8-rwXsnE&list=PLZCwI0BeUWWK9xfJY9bO36_DG4QtXJX0o&index=14 https://twitter.com/abrupto
<!DOCTYPE html>
<html>
<head></head>
<body>
<style>
body {
color: green;
}
</style>
<h1>Dado</h1>
@katio
katio / dado.html
Last active July 3, 2021 07:24
Código de video número 11 de la serie Programación desde cero. Haciendo una aplicación desde cero: HTML: https://www.youtube.com/watch?v=FQd0SZoSkso&list=PLZCwI0BeUWWK9xfJY9bO36_DG4QtXJX0o&index=11 https://twitter.com/abrupto
<!DOCTYPE html>
<html>
<head></head>
<body>
<h1>Dado</h1>
<img src="https://i.imgur.com/AYxOJot.png" alt="Trébol de 4 hojas">
<button id="boton">Lanzar dado</button>
<div id="dado"></div>
</body>
</html>
@katio
katio / Preferences.sublime-settings.json
Created December 26, 2015 06:52
Simple Sublime Text preferences JSON
{
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"font_face": "",
"font_size": 14,
"tab_size": 2,
"translate_tabs_to_spaces": true,
"trim_automatic_white_space": true,
"trim_trailing_white_space_on_save": true,
"save_on_focus_lost": true
}
@katio
katio / HTMLMail.ssjs
Last active October 31, 2015 08:26
Class to generate HTML e-mail messages from IBM Domino XPages SSJS by Mark Leusink (Twitter @markleusink). This is a small modification to solve a problem when you use the mime header "To" and the length in characters of a recipient is greater than or equal to 79, as can be the case in a long canonical name. This is solved here using the item "S…
/*
* Took from:
* http://openntf.org/XSnippets.nsf/snippet.xsp?id=create-html-mails-in-ssjs-using-mime
*
* Class to generate HTML e-mail messages from SSJS
*
* Author: Mark Leusink (m.leusink@gmail.com)
*
* Version: 2012-11-20
*