Skip to content

Instantly share code, notes, and snippets.

Avatar

Lucas lucasp90

  • Buenos Aires, Argentina
View GitHub Profile
View count_subdomains.py
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",
@lucasp90
lucasp90 / jenkins-https.conf
Last active Aug 29, 2018
docker-compose based jekins using nginx
View jenkins-https.conf
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;
View unittest_doctests_template.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Unittest with DocTests."""
import doctest
import unittest
@lucasp90
lucasp90 / pycon-1.md
Last active Aug 29, 2018
PyConAr 2017
View pycon-1.md

PyConAr 2017 - Día 1

El fin está cerca

Hernan Lozano Cima - @hernantz

Material adicional

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).

@lucasp90
lucasp90 / 7540rw-20172c-clase2.ipynb
Created Aug 19, 2017
[Alan] 7540rw clase 2 - 18.08.2017
View 7540rw-20172c-clase2.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lucasp90
lucasp90 / selenium.md
Last active Jul 7, 2017
Notes about selenium webdriver
View selenium.md

Intro to Web Automation using Selenium Webdriver

Black-box Automated Testing

  • Tests software from the user's perspective
  • Makes regression easy
  • Should represent exactly a specific business requirement
  • Tests a lot of production code with fewer lines of testing code

Automation types

View netconfar-17.md

NETConfAR2017

Going Pixel Perfect with Xamarin and MVVMCross

Nicolas Milcoff (@nmilcoff) - DGenix

Slides

Problemas en desarrollo mobile actual

@lucasp90
lucasp90 / meetup-go.md
Created Jun 5, 2017
Meetup #6 GolangAR
View meetup-go.md

Meetup Go

  • golangar.com.ar
  • golangweekly

Code that grows with grace: Chat a la chatroulette en Go

  • Francesc Campoy (Google SF)
    • JustForFunc (Youtube)
    • gcppodcast.com