Skip to content

Instantly share code, notes, and snippets.

View lucasp90's full-sized avatar

Lucas lucasp90

  • Buenos Aires, Argentina
View GitHub Profile
@lucasp90
lucasp90 / count_subdomains.py
Created September 9, 2018 14:33
Coding challenges
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 August 29, 2018 19:14
docker-compose based jekins using nginx
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;
maradona
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Unittest with DocTests."""
import doctest
import unittest
@lucasp90
lucasp90 / pycon-1.md
Last active August 29, 2018 17:24
PyConAr 2017

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 August 19, 2017 01:10
[Alan] 7540rw clase 2 - 18.08.2017
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 July 7, 2017 01:30
Notes about selenium webdriver

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

@lucasp90
lucasp90 / netconfar-17.md
Created July 2, 2017 05:17
NET Conf AR 2017

NETConfAR2017

Going Pixel Perfect with Xamarin and MVVMCross

Nicolas Milcoff (@nmilcoff) - DGenix

Slides

Problemas en desarrollo mobile actual

@lucasp90
lucasp90 / meetup-go.md
Created June 5, 2017 04:34
Meetup #6 GolangAR

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