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
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
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 / polyfill.js
Last active November 4, 2021 15:02
Collection of JavaScript polyfills of MDN (Mozilla Developer Network) https://developer.mozilla.org. Polyfill definition in MDN (https://developer.mozilla.org/en-US/docs/Web/Guide/Terminology) "A polyfill is a piece of code that implements a common API that isn't natively supported by a browser". This file can be used in XPages SSJS (Server Side…
"use strict";
/*Start of developer.mozilla.org Polyfill*/
/*WARNING FOR SERVER SIDE JAVASCRIPT IN XPAGES: http://xomino.com/2014/03/02/prototypal-inheritance-of-ssjs-across-the-whole-server-in-xpages/ http://stackoverflow.com/questions/26695434/how-to-clean-ssjs-in-domino-server-after-someone-used-javascript-*/
/*
* Polyfill:
Array.isArray
Array.prototype.indexOf
Array.prototype.lastIndexOf
Array.prototype.forEach
Array.prototype.some