I hereby claim:
- I am aeppert on github.
- I am aeppert (https://keybase.io/aeppert) on keybase.
- I have a public key whose fingerprint is 7D23 1BB4 89F1 19A6 59CB 6706 A16D BEB5 10E3 D194
To claim this, I am signing this object:
| #!/usr/bin/python | |
| import ssl | |
| import socket | |
| def get_outbound_ip(): | |
| ret = None | |
| s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
| s.connect(("gmail.com", 80)) |
| event protocol_confirmation (c: connection, atype: Analyzer::Tag, aid: count) | |
| { | |
| if ( atype == Analyzer::ANALYZER_SMTP ) | |
| { | |
| local both_file = generate_extraction_filename(Conn::extraction_prefix, c, "both.dat"); | |
| local both_f = open(both_file); | |
| set_contents_file(c$id, CONTENTS_BOTH, both_f); | |
| } | |
| } |
| #!/usr/bin/python | |
| import sys | |
| from optparse import OptionParser | |
| import ConfigParser | |
| from influxdb import InfluxDBClient | |
| G_VALID_STATUS = ['start', 'stop'] | |
| #!/usr/bin/python | |
| import argparse | |
| from influxdb import InfluxDBClient | |
| import math | |
| import datetime | |
| import time | |
| USER = 'root' |
I hereby claim:
To claim this, I am signing this object:
| export { | |
| type timeSpan: record { | |
| hours: int; | |
| minutes: int; | |
| seconds: int; | |
| }; | |
| } | |
| function calc_elapsed_time(t1: time, t2: time) : timeSpan | |
| { |
| from functools import partial | |
| class test: | |
| def __init__(self): | |
| pass | |
| @staticmethod | |
| def stop_service(name): | |
| print 'stopping service - %s' % (name) | |
| @staticmethod | |
| def start_service(name): |
This is a short article on how we integrate stash and slack in openmind
First of all i assume you have:
| let fizzbuzz i = match ((i mod 3), (i mod 5)) with | |
| | (0,0) -> "fizzbuzz" | |
| | (_,0) -> "buzz" | |
| | (0,_) -> "fizz" | |
| | (_,_) -> string_of_int i ;; | |
| let do_fizzbuzz n = for i = 1 to n do | |
| Printf.printf "%s\n" (fizzbuzz i) | |
| done ;; |
| TLSDATE_CONFIG=" \ | |
| \thost 127.0.0.1\n\ | |
| \tport 8443\n \ | |
| \tproxy none" | |
| sed -i -n "/source/{p;:a;N;/end/!ba;s/.*\n/${TLSDATE_CONFIG}\n/};p" /etc/tlsdate/tlsdated.conf |