This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"argv": [ | |
"python", | |
"c:/Users/mattn/AppData/Roaming/jupyter/kernels/vimkernel/vimkernel.py", | |
"-f", | |
"{connection_file}" | |
], | |
"display_name": "Vim" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"image" | |
"image/color" | |
"image/draw" | |
"image/png" | |
"log" | |
"os" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SRCS = \ | |
pow.c | |
OBJS = $(subst .c,.o,$(SRCS)) | |
CFLAGS = -fPIC | |
LIBS = -shared -lm -ldl | |
TARGET = libpow.so | |
.SUFFIXES: .c .o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"math/rand" | |
"github.com/goml/gobrain" | |
) | |
type FizzBuzz []float64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os" | |
"os/exec" | |
"path/filepath" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 | |
00:00:08,0 --> 00:00:10,0 | |
あぁ!僕のテキストファイルが! | |
2 | |
00:00:18,300 --> 00:00:19,500 | |
ハーイ、ジョージィ! | |
3 | |
00:00:23,0 --> 00:00:25,0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.9-alpine as base | |
WORKDIR /usr/src | |
COPY . . | |
RUN apk add git | |
RUN CGO_ENABLED=0 go get -d -ldflags "-s -w" . | |
RUN CGO_ENABLED=0 go build -ldflags "-s -w" -o main | |
FROM scratch | |
COPY --from=base /usr/src/main /go-http-microservice | |
CMD ["/go-http-microservice"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Testing WebAssembly</title> | |
<script src="wasm_exec.js"></script> | |
<script type="text/javascript"> | |
function fetchAndInstantiate(url, importObject) { | |
return fetch(url).then(response => | |
response.arrayBuffer() | |
).then(bytes => | |
WebAssembly.instantiate(bytes, importObject) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// +build ignore | |
package main | |
func add(a, b int) int { | |
return a + b | |
} | |
func main() { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// +build ignore | |
package main | |
func add(a, b int) int { | |
return a + b | |
} | |
func main() { | |
} |