Skip to content

Instantly share code, notes, and snippets.

View ian-kent's full-sized avatar

Ian Kent ian-kent

View GitHub Profile
<html>
<head><title>Test</title></head>
<body>
<iframe src="https://follow.companieshouse.gov.uk/company/00006400/follow?return_to=https://www.google.com"></iframe>
</body>
</html>
@ian-kent
ian-kent / farm-animals.csv
Last active December 3, 2018 11:38
Take home coding test
Species Age Colour
Duck 2 Brown
Cat 7 White
Pig 12 Pink
Cat 3 White
Pig 4 Pink
Horse 4 Black
Cat 19 Ginger
Horse 12 Brown
Duck 3 Green
@ian-kent
ian-kent / Thursday (November 9th).csv
Last active November 14, 2017 14:09
Web Summit 2017 schedule
Time Talk Stage
10:30 - 10:50 Amazon wants to talk to you Centre Stage
11:15 - 11:40 Coding the future FullSTK
12:20 - 12:40 You don’t need anyone’s permission to make something great FullSTK
12:40 - 13:00 Fantastic feasts and where to find them PandaConf
13:20 - 13:45 Smart cities for smart living Future Societies
13:45 - 14:10 The state of the web Future Societies
14:10 - 14:35 The future of work and income security Future Societies
15:30 - 15:50 Reinventing the web browser for modern computers FullSTK
15:50 - 16:15 Everybody code now: The new literacy FullSTK
package log
import (
"testing"
stdlog "log"
)
func BenchmarkLog(b *testing.B) {
HumanReadable = false
@ian-kent
ian-kent / main.go
Created May 17, 2017 20:10
json unmarshal
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"github.com/gorilla/mux"
)
@ian-kent
ian-kent / main.go
Created January 31, 2017 22:42
event stuff
package main
/*
// list of events
curl localhost:8080/events
// current state
curl localhost:8080/state
// increment counter
@ian-kent
ian-kent / main.go
Created January 31, 2017 22:12
events demo
package main
/*
// list of events
curl localhost:8080/events
// current state
curl localhost:8080/state
// increment counter
@ian-kent
ian-kent / client2.go
Created November 21, 2016 14:12
zebedee client
package zebedee
import (
"errors"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"time"
@ian-kent
ian-kent / main.go
Created November 14, 2016 22:42
mutex and panic
package main
import (
"fmt"
"sync"
)
func main() {
m := new(sync.Mutex)

Keybase proof

I hereby claim:

  • I am ian-kent on github.
  • I am iankent (https://keybase.io/iankent) on keybase.
  • I have a public key whose fingerprint is 1B05 9770 DF07 6B2F DADB 42C4 4625 6A72 3651 FBC8

To claim this, I am signing this object: