Skip to content

Instantly share code, notes, and snippets.

View peterretief's full-sized avatar

Peter Retief peterretief

View GitHub Profile
#!/usr/bin/python
#might need re at some point
#import re
#sql
#SELECT * FROM ipdata where ipaddress1="192.168.0.137"
#SELECT ipaddress1, sum(upload), sum(download) FROM ipdata group by ipaddress1
#SELECT ipaddress2, sum(upload), sum(download) FROM ipdata group by ipaddress2
@peterretief
peterretief / 0_reuse_code.js
Last active August 29, 2015 14:21
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

Keybase proof

I hereby claim:

  • I am peterretief on github.
  • I am peterretief (https://keybase.io/peterretief) on keybase.
  • I have a public key whose fingerprint is 062E 0A89 257A 7823 3F08 B277 ED0C 61F1 3119 28F2

To claim this, I am signing this object: