Skip to content

Instantly share code, notes, and snippets.


Adrian Duke adrianduke

View GitHub Profile

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 Jan 24, 2017
Golang HTTP pprof scraper
View main.go
package main
import (
View Add category count
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;