I hereby claim:
- I am cedricbonhomme on github.
- I am cedricbonhomme (https://keybase.io/cedricbonhomme) on keybase.
- I have a public key whose fingerprint is 55F5 D60E EFCA 3591 0089 18E7 A1CB 94DE 57B7 A70D
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import pylab | |
| import glob | |
| from collections import Counter | |
| from PIL import Image |
| #! /usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import json | |
| import requests | |
| # https://github.com/CIRCL/bgpranking-redis-api/tree/master/example/api_web/client | |
| from bgpranking_web import api | |
| with open("/var/log/fail2ban.log", "r") as f: |
| #! /bin/sh | |
| servername="Server" | |
| for ip in echo `grep -i unban /var/log/fail2ban.log | awk '{print $NF}' | tail -n 10` | |
| do | |
| for email in `whois $ip | perl -wne'while(/[\w\.\-]+@[\w\.\-]+\w+/g){print "$&\n"}' | sort | uniq` | |
| do | |
| echo "Sending email to $email..." | |
| echo "Hi, |
| #! /usr/bin/env python | |
| #-*- coding: utf-8 -*- | |
| import sys | |
| import csv | |
| import urllib2 | |
| from contextlib import contextmanager | |
| POSTAL_CODES = "https://www.data.gouv.fr/s/resources/base-officielle-des-codes-postaux/20141106-120608/code_postaux_v201410.csv" |
| #! /usr/bin/env python | |
| #-*- coding: utf-8 -*- | |
| import json | |
| import httplib2 | |
| from datetime import datetime | |
| from apiclient.discovery import build | |
| from oauth2client.client import OAuth2WebServerFlow |
| #! /usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Avoids obstacles with the infrared sensor. | |
| # | |
| import time | |
| from ev3.lego import LargeMotor |
| # | |
| # 1. Download CSV points cloud data of Thom Yorke here: | |
| # https://code.google.com/p/radiohead/downloads/list | |
| # (original implementation) | |
| # 2. Add Python mode to Processing | |
| # 3. Load this file (or paste the contents of this file | |
| # into Processing and save to a name and location of your choosing) | |
| # 4. If it doesnt exist, create a folder called "data" | |
| # inside the sketch folder. |
| user_pref("browser.urlbar.trimURLs", false); | |
| user_pref("browser.urlbar.formatting.enabled", false); | |
| user_pref("browser.search.suggest.enabled", false); | |
| user_pref("browser.search.showOneOffButtons", false); | |
| user_pref("geo.enabled", false); | |
| user_pref("javascript.enabled", false); | |
| user_pref("loop.throttled", false); | |
| user_pref("network.http.sendRefererHeader", 0); |
I hereby claim:
To claim this, I am signing this object:
| user_pref("beacon.enabled", false); | |
| user_pref("browser.bookmarks.showRecentlyBookmarked", false); | |
| user_pref("browser.ctrlTab.previews", true); | |
| user_pref("browser.pocket.enabled", false); | |
| user_pref("browser.search.geoip.url", ""); | |
| user_pref("browser.search.showOneOffButtons", false); | |
| user_pref("browser.search.suggest.enabled", false); | |
| user_pref("browser.urlbar.trimURLs", false); | |
| user_pref("browser.urlbar.formatting.enabled", false); | |
| user_pref("datareporting.healthreport.service.enabled", false); |