Skip to content

Instantly share code, notes, and snippets.

View suzuken's full-sized avatar

Kenta SUZUKI suzuken

View GitHub Profile
package main
import (
"flag"
"fmt"
"io/ioutil"
"log"
"os"
"golang.org/x/net/context"
package main
import (
"flag"
"fmt"
"io/ioutil"
"log"
"os"
"golang.org/x/net/context"
package main
import (
"flag"
"fmt"
"io/ioutil"
"log"
"os"
"golang.org/x/net/context"

autoscale: true

[fit] ディスプレイ広告の

[fit] 基礎とセキュリティ

@suzu_v VOYAGE GROUP

2016/04/23 at dots.

#http2study


autoscale: true

How to use AWS Lambda in Document Processing Pipeline

@suzu_v VOYAGE GROUP 2016/04/22 at AWS Tokyo Office


package main
import (
"flag"
"image"
"image/color"
"image/png"
"log"
"math/cmplx"
"os"
package main
import (
"time"
)
func main() {
print(q())
}
package main
import (
"fmt"
)
func main() {
ch := make(chan string, 3)
p(ch) // cap: 3, len: 0
ch <- "A"
// original: http://dave.cheney.net/2014/03/19/channel-axioms
package main
import (
"fmt"
"sync"
)
func main() {
var c = make(chan int, 100)
// original http://dave.cheney.net/2014/03/19/channel-axioms
package main
func main() {
var c chan string
c <- "deadlock"
// -> % go run /tmp/c.go
// fatal error: all goroutines are asleep - deadlock!
//