Phil Walder
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 get_subdomains(domain): | |
tokens = domain.split('.') | |
subdomains = [] | |
for i in range(len(tokens)): | |
subdomains.append(".".join(tokens[i:])) | |
return subdomains | |
def main(): | |
results = {} | |
visits_data = [ "900,google.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
server { | |
listen 443 default ssl; | |
ssl_certificate /etc/ssl/your-certificate-crt.pem; | |
ssl_certificate_key /etc/ssl/your-certificate-key.pem; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header X-Forwarded-Proto $scheme; |
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
maradona |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""Unittest with DocTests.""" | |
import doctest | |
import unittest |
Hernan Lozano Cima - @hernantz
Uno de los mayores problemas que se suele tener con cualquier lenguaje de programación es manejar fechas. Esto no necesariamente es un problema del lenguaje (aunque a veces sí, como en JS hasta que salió moment).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Nicolas Milcoff (@nmilcoff) - DGenix
Problemas en desarrollo mobile actual
NewerOlder