Skip to content

Instantly share code, notes, and snippets.

inso Insoleet

Block or report user

Report or block Insoleet

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
Insoleet /
Last active Dec 21, 2017
Module Yolland Bresson
import asyncio
import re
import aiohttp
import datetime
cookiess = {
"PHPSESSID": "27c4edb27fd34256ddabcf0c429ca540",
"lunetics_locale": "fr"
Insoleet /
Created Dec 10, 2015
Simulate some bad network connection
real_addr = socket.getaddrinfo
socket.getaddrinfo = lambda a,b,c,d,e,f: exec('raise socket.gaierror("[Errno -2] Nom ou service inconnu")') \
if random.choice([True, False]) else real_addr(a,b,c,d,e,f)
You can’t perform that action at this time.