git checkout -- .
git checkout -b <name-branch> <commit-sha>
var source = Rx.Observable.range(1, 5); | |
source.subscribe(next => { | |
console.log('next value', next) | |
}, error => { | |
console.log('err', err); | |
}, () => console.log('completed')) |
""" | |
Django settings for exampleapp project. | |
Generated by 'django-admin startproject' using Django 1.9.8. | |
For more information on this file, see | |
https://docs.djangoproject.com/en/1.9/topics/settings/ | |
For the full list of settings and their values, see | |
https://docs.djangoproject.com/en/1.9/ref/settings/ |
/* | |
INSPIRED BY JOHN GREEN'S BOOK PAPER TOWNS | |
DEMO: http://codepen.io/GGarciaSeco/pen/mAWAyk | |
*/ | |
String.prototype.capitalize = function(){ | |
return Math.round(Math.random()) === 1 ? this.charAt(0).toUpperCase() + this.slice(1) + " ": this; | |
} |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
<h1>hola</h1> | |
<ul> | |
<li>Hola</li> | |
<li>Adios</li> | |
</ul> |