- Git >> basado en el libro Progit v2
- Bash >> basado en la pagina The Bash Academy
- vim >> basado en el libro practical vim
- Docker >> basado en la documentación oficial, Using Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Principiantes | |
*Ubuntu: Unity | |
*OpenSuse: KDE | |
*ElementaryOS: Phanteon | |
*LinuxMint: Mate | |
*Fedora: gnome | |
*Manjaro: basado en Arch Linux - Xfce | |
#Ligera |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function porTres(numero) { | |
return numero * 3; | |
} | |
console.log(porTres(10)); //30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let porTres = function(numero) { | |
return numero * 3; | |
} | |
const multiplicaTres = porTres; | |
console.log(multiplicaTres(10)); //30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Boton dentro de HTML | |
<button id=”button”>Touch me!</button> | |
*/ | |
const button = document.getElementById(‘button’); | |
button.addEventListener(‘click’, function() { | |
alert(‘me tocaste!’); | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
button.addEventListener(‘click’, clickAlert) | |
function clickAlert() { | |
alert(‘me tocaste!’); | |
} |
OlderNewer