Skip to content

Instantly share code, notes, and snippets.

View gtmtech's full-sized avatar

Geoff Meakin gtmtech

View GitHub Profile
### Keybase proof
I hereby claim:
* I am gtmtech on github.
* I am gtmtech (https://keybase.io/gtmtech) on keybase.
* I have a public key ASBAyHN9aRuvSRWyV_5nOc1LMXRafm1zcvQxjgchbHUQ-go
To claim this, I am signing this object:
@gtmtech
gtmtech / gist:9af0453db143c8a18e4fbd4460e00a91
Created April 8, 2016 12:57
Realtime dumping of HTTP traffic headers
#!/usr/bin/perl
open (FH, "tshark -V -Y 'http.request || http.response' port 80 |") or die "Could not run tshark";
%requests=();
while (<FH>) {
if (/^[^\s]/) {
# Headers
if (/Hypertext/) {
@gtmtech
gtmtech / gist:7698747
Created November 28, 2013 22:09
Bitcoin and Litecoin HOWTO in the UK
Here is a quick HOWTO for those wanting to trade (buy/sell) in bitcoins and litecoins in the UK. The following is a fairly easy setup, so that you will have an OTC Web-of-trust profile so that people can rate you as a buyer/seller, and especially if you wish to sell, overtime you can be trusted more.
Register on freenode.net channel #bitcoin-otc:
* Go to https://webchat.freenode.net
Nickname: choose a nickname for yourself
Channels: #bitcoin-otc
* Check you have the desired nickname in chat, and try and register it (if this doesnt work, pick a different nickname)
/msg NickServer register <some-password> <your-email-address>
@gtmtech
gtmtech / install_mcollective
Last active December 10, 2015 13:49
HOWTO: Installing mcollective on Mac OSX
I had trouble fathoming out how to get mcollective client working on OSX, because there's no official support for it.
Here is what I did.
* Install XCode
* Install Auxilliary Tools for XCode from https://developer.apple.com/downloads/ - required
* Move the PackageMaker.app to /Applications
* sudo ln -s /Applications/Xcode.app/Contents/Developer /Developer
* cd /Developer/usr/bin
* sudo ln -s /Applications/PackageMaker.app/Contents/MacOS/PackageMaker packagemaker