Skip to content

Instantly share code, notes, and snippets.

View yeion7's full-sized avatar
🍉

Yeison Daza yeion7

🍉
View GitHub Profile
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
#Principiantes
*Ubuntu: Unity
*OpenSuse: KDE
*ElementaryOS: Phanteon
*LinuxMint: Mate
*Fedora: gnome
*Manjaro: basado en Arch Linux - Xfce
#Ligera
@yeion7
yeion7 / CanalYouTube.md
Last active March 19, 2016 13:29
Esta es el roadmap que seguirá el canal en 2016

git

fundamentos

obteniendo un repositorio

  • git init
  • git clone [url]

Guardar cambios en el repositorio

fetch('http://www.etnassoft.com/api/v1/get/?id=589', {mode: 'no-cors'})
.then(
function(response) {
if (response.status !== 200) {
console.log('Looks like there was a problem. Status Code: ' +
response.status);
return;
}
// Examine the text in the response
var biblioteca = function(){
var biblioteca;
var obtener = fetchJsonp('http://openlibra.com/api/v1/get/?criteria=most_voted&num_items=10')
.then(function(response) {
return response.json()
}).then(function(json) {
biblioteca = json;
}).catch(function(ex) {
console.log('parsing failed', ex)
});
@yeion7
yeion7 / funcion.js
Last active February 24, 2016 13:55
function porTres(numero) {
return numero * 3;
}
console.log(porTres(10)); //30
let porTres = function(numero) {
return numero * 3;
}
const multiplicaTres = porTres;
console.log(multiplicaTres(10)); //30
/*
Boton dentro de HTML
<button id=”button”>Touch me!</button>
*/
const button = document.getElementById(‘button’);
button.addEventListener(‘click’, function() {
alert(‘me tocaste!’);
})
button.addEventListener(‘click’, clickAlert)
function clickAlert() {
alert(‘me tocaste!’);
}