Skip to content

Instantly share code, notes, and snippets.

View skanehira's full-sized avatar
🦍
I'm Gorilla

skanehira skanehira

🦍
I'm Gorilla
  • 株式会社テックリード
  • Japan
  • 23:04 (UTC +09:00)
  • X @gorilla0513
View GitHub Profile
package main
import (
"log"
"os"
)
func main() {
if len(os.Args) < 2 {
return
function! s:echo_err(msg) abort
echohl ErrorMsg
echom '[code2img]' a:msg
echohl None
endfunction
function! s:on_err_vim(ch, msg) abort
call s:echo_err(a:msg)
endfunction
package main
import (
"encoding/json"
"io/ioutil"
"log"
"os"
"testing"
)
package main
import "testing"
func BenchmarkMapStruct(b *testing.B) {
m := map[int]interface{}{
0: 0,
}
for i := 0; i < b.N; i++ {
package main
import (
"context"
"log"
"os"
"github.com/docker/docker/api/types"
"github.com/docker/docker/client"
streamer "github.com/skanehira/docker-streamer"
@skanehira
skanehira / index.html
Created September 29, 2020 23:38
HTML Audio sample
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title></title>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.19.2/axios.js"></script>
</head>
<body>
<div id="app">

Git&GitHubビギナー入門

対象者

  • GitとGitHubを知らない
  • 言葉だけ聞いたことがある

ゴール

  • GitとGitHubとはなにかを知る
  • 使い方を知る

ChromeのGoogle拡張で使っているエンドポイントを使えば翻訳結果を取得できる

curl -s "https://translate.googleapis.com/translate_a/single?client=gtx&sl=en&tl=ja&dt=t&q=hello"
new WebSocket("ws://localhost:1323/ws", ["hello", "world"])