- http://ponyfoo.com/
- http://www.2ality.com/ (acá aprendí ECMAScript 6)
- http://addyosmani.com/blog
- http://rmurphey.com/
- https://alexsexton.com/
- http://carlosazaustre.es/blog/
- http://christianheilmann.com/
- http://dailyjs.com/ (este junta articulos muy buenos de otros blogs, muy bueno para conocer más blogs de a poco)
- http://davidwalsh.name/
- http://ariya.ofilabs.com/
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
def factorial(num): | |
return (1 if num == 0 else num * factorial(num - 1)) |
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
public class Mamifero { | |
private int patas; | |
private String nombre; | |
public void imprimirPatas() { | |
System.out.println(nombre + ” tiene ” + patas + ” patas\n”); | |
} | |
public Mamifero(String nombre, int patas) { | |
this.nombre = nombre; |
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 menu = document.getElementsByClassName("your-elements"); | |
for(var i = 0; i < menu.length; i++){ | |
if(menu[i].getAttribute("href") == window.location.pathname){ | |
menu[i].id = "devf-selected-menu" | |
} | |
} |
- The Hitchhiker's Guide to the Galaxy (2005), dir. Garth Jennings
- End of Watch (2012), dir. David Ayer
- October Sky (1999), dir. Joe Johnston
- The Runaways (2010), dir. Floria Sigismondi
- Apt Pupil (1998), dir. Bryan Singer
- Girl with a Pearl Earring (2003), dir. Peter Webber
- Pierrot le Fou (1965), dir. Jean-Luc Godard
- Brokeback Mountain (2005), dir. Ang Lee
- Badlands (1973), dir. Terrence Malick
- Into the Wild (2007), dir. Sean Penn
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
server { | |
listen 80; | |
server_name subdomain1.domain.com; | |
location / { | |
proxy_pass http://localhost:{YOUR_PORT}; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection 'upgrade'; |
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
from datetime import date | |
year = int(input("Anio de nacimiento: ")) | |
month = int(input("Mes de nacimiento: ")) | |
day = int(input("Dia de nacimiento: ")) | |
def born(year, month, day): | |
today = date.today() | |
return today.year - year - ((today.month, today.day) < (month, day)) |
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
from __future__ import print_function, division | |
import sys | |
def contfrac_to_frac(seq): | |
''' Convert the simple continued fraction in `seq` | |
into a fraction, num / den | |
''' | |
num, den = 1, 0 | |
for u in reversed(seq): | |
num, den = den + num*u, num |
OlderNewer