This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!WA:2!TF12YTTXzytX4Mey7uhvhLuh36nm2YsomY6eLKtIThcksB2qjYcsjfRMPKlawsSrGailwkj6o(gnEsDNPNS65PhsgErVkxXl6dGFc(h9i43G6NG(VauYokrPPE6f9IQlwIDXUl(p8999)ReRoCOzMjMAHjMA42dBpS99p)EMuRnSf(b58D9f)GKjtwj5KtKjyylFpPW31LzNZH7AlyExo405COssBQLWpKizBlF8tVGjv8itFHntOp4odoTUl)o3HkSj189DL8G9ODKo(IYbsUVxOwpPV1Mmrio5fs)pnJpTJOB5MndzYt(g9PEw42R4Z9KM5YVCT8g9I3uv(DyhVFtbTnRQuqL0K9JFrSFKirIKgHwuxwYbhiVDlwWlx9J7qfmsHoUUK1C4sMGAfzkZzekPcPMztUhp0rth)rQTJuWB1cnWZoQyWJFspBMzNMnR1nGjUv(svkSsjDjoXG2rqNENWaMRBr7qThf2XKTjZtwf3nF7(1ZLTAT6vRL1O2bVQIGHVYOAL8Lkz4H(sOMr0lmVfJ6kD07GwHzGlTltSBhVbMGwpbRfA0ktWOLWVtWJX4dt4rDxnoy(PITJdHx4C7s94TPkFCo4vk8qgnufWyETKoppCoDpFp2E2OLR2rDLFiczyU3oCh1wvFc4k6TPCVcWe4bGRatctbtJ)oYHxjf3oy4NgreGXApPURp1UGPetgEYrmA3bbcA6yCYAeyEndlxAyO6j9qmNgTe1nWHM8XXj)cQCSYomRMZiF(LFyC(m2)EXP7WT7h((bLVv(X)GfCn3nK52mcVaNQhgMnIIuHAMOp1K3sRNY34XOV(CVM(I4GJ2a4trp8wtoS163FmmWkD5E4NALALkUCEZy3bMn4TS5HQKsnKcup(kQhuxYBZQB3ftJCR6shbl0X31U7EHouB)TUDSbFUJbNeova5OVH4zjcoTvNqPFB1owjWMkzWfEeYE8v2R1ACBeDKfNcNbZRAWiAWRQbV2lnk8D)e4SWRJ5LVh891GZde4n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
import json | |
import os | |
import sys | |
import requests | |
apiKey = "" | |
stationID = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct | |
def gif(): | |
data = [0x47, 0x49, 0x46, 0x38, 0x39, 0x61, 0x01, 0x00, 0x01, 0x00, | |
0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x21, | |
0xf9, 0x04, 0x01, 0x00, 0x00, 0x00, 0x00, 0x2c, 0x00, 0x00, | |
0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x02, 0x01, 0x44, | |
0x00, 0x3b] | |
return struct.pack('42B', *data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ruN nginx-1.11.2/debian/rules nginx-1.11.2.patched/debian/rules | |
--- nginx-1.11.2/debian/rules 2016-07-05 16:29:08.000000000 +0000 | |
+++ nginx-1.11.2.patched/debian/rules 2016-07-15 16:46:05.690243981 +0000 | |
@@ -27,18 +27,8 @@ | |
--user=nginx \ | |
--group=nginx \ | |
--with-http_ssl_module \ | |
- --with-http_realip_module \ | |
- --with-http_addition_module \ | |
- --with-http_sub_module \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
import pylab | |
# color palette | |
from matplotlib import cm | |
from logsparser.lognormalizer import LogNormalizer as LN | |
import GeoIP | |
normalizer = LN('/usr/share/normalizers') | |
auth_logs = open('/var/log/auth.log', 'r') |