Skip to content

Instantly share code, notes, and snippets.

View adrianduke's full-sized avatar

Adrian Duke adrianduke

View GitHub Profile
adrianduke /
Created October 23, 2017 10:52

Keybase proof

I hereby claim:

  • I am adrianduke on github.
  • I am adeduke ( on keybase.
  • I have a public key ASBRlpsli2NEGFJd75KjokogZGm1CkqtsOdRnXh_mSTP-Qo

To claim this, I am signing this object:

adrianduke / main.go
Created January 24, 2017 11:18
Golang HTTP pprof scraper
package main
import (
diff --git a/spec/public/app/code/local/Magehack/Elasticmage/Model/Resource/Product/CollectionSpec.php b/spec/public/app/code/local/Magehack/Elasticmage/Model/Resource/Product/CollectionSpec.php
index 666b20b..50d3369 100644
--- a/spec/public/app/code/local/Magehack/Elasticmage/Model/Resource/Product/CollectionSpec.php
+++ b/spec/public/app/code/local/Magehack/Elasticmage/Model/Resource/Product/CollectionSpec.php
@@ -2,6 +2,7 @@
namespace spec;
+use PhpSpec\Exception\Exception;
use PhpSpec\ObjectBehavior;