Skip to content

Instantly share code, notes, and snippets.

@agustinpfs
agustinpfs / gist:2ffc1eedff56dd586bb5
Created March 2, 2016 09:03 — forked from liamcurry/gist:2597326
Vanilla JS vs jQuery

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@agustinpfs
agustinpfs / README-Template.md
Created September 12, 2018 23:36 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@agustinpfs
agustinpfs / README.md
Created March 4, 2020 09:35 — forked from hofmannsven/README.md
Git Cheatsheet
@agustinpfs
agustinpfs / index.html
Last active May 13, 2020 13:15
hola mundo con html, css y javascript. Contenido
<!-- NOTA: esto es un comentario y no afectan al funcionamiento de la página -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hola Mundo</title> <!-- título de la página -->
</head>
<body>
<main>
@agustinpfs
agustinpfs / index.html
Last active May 13, 2020 19:27
add styles
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body {
background: url("https://blog.selfbank.es/wp-content/uploads/2018/07/iStock-889946406-720x320.jpg") no-repeat center center fixed;
background-size: cover;
@agustinpfs
agustinpfs / index.html
Created May 13, 2020 19:32
Final code Hola Mundo!
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body {
background: url("https://blog.selfbank.es/wp-content/uploads/2018/07/iStock-889946406-720x320.jpg") no-repeat center fixed;
@agustinpfs
agustinpfs / style.css
Last active May 19, 2020 19:30
Background image css
<style>
body {
background: url("") no-repeat center center fixed;
background-size: cover;
}
</style>
@agustinpfs
agustinpfs / style.css
Created May 19, 2020 19:50
Background image coverd 100% css
<style>
body {
background: url("https://blog.selfbank.es/wp-content/uploads/2018/07/iStock-889946406-720x320.jpg") no-repeat center fixed;
background-size: cover;
}
main {
width: max-content;
margin-left: auto;
margin-right: auto;
text-align: center;
<script>
function cambiaColor(color) {
if (color == 'rojo') {
document.getElementById("titulo").style.color = "red"
}else {
document.getElementById("titulo").style.color = "yellow"
}
}
</script>
git tag -am "annotation goes here" tagname_goes_here # cut a tag
git tag -d tagname_goes_here # burn it
git tag -am "annotation goes here" tagname_goes_here # cut another tag
git push --tags # push tags to remote
git push origin :refs/tags/tagname_goes_here # delete tag from remote