Skip to content

Instantly share code, notes, and snippets.

Working remotely

Will Willems NickolasBoyer

Working remotely
Block or report user

Report or block NickolasBoyer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ikatson /
Last active Jun 23, 2016
uwsgi websocket gevent
user_id = get_user_id_from_environ(environ)
ready = gevent.event.Event()
dead = gevent.event.Event()
def ws_socket_waiter():
while not dead.is_set():
NickolasBoyer /
Last active Feb 18, 2017
Simple Python 3.5.2 Marktplaats scraping example with Beautiful Soup 4
import requests
import urllib.parse
import numpy as np
import matplotlib.pyplot as plt
from bs4 import BeautifulSoup
def crawlmp( base_url, parameters, add_to_url = '' ):
""" Parameters dictionairy can contain:
You can’t perform that action at this time.