Skip to content

Instantly share code, notes, and snippets.

View adrianduke's full-sized avatar

Adrian Duke adrianduke

View GitHub Profile
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;
@adrianduke
adrianduke / main.go
Created January 24, 2017 11:18
Golang HTTP pprof scraper
package main
import (
"flag"
"fmt"
"io"
"net/http"
"net/url"
"os"
"strings"
@adrianduke
adrianduke / keybase.md
Created October 23, 2017 10:52
Keybase

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: