Skip to content

Instantly share code, notes, and snippets.

Avatar

Adrian Duke adrianduke

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am adrianduke on github.
  • I am adeduke (https://keybase.io/adeduke) on keybase.
  • I have a public key ASBRlpsli2NEGFJd75KjokogZGm1CkqtsOdRnXh_mSTP-Qo

To claim this, I am signing this object:

@adrianduke
adrianduke / main.go
Created Jan 24, 2017
Golang HTTP pprof scraper
View main.go
package main
import (
"flag"
"fmt"
"io"
"net/http"
"net/url"
"os"
"strings"
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;