Skip to content

Instantly share code, notes, and snippets.

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

skanehira skanehira

🦍
I'm Gorilla
View GitHub Profile
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Inserts a blank line between shell prompts
add_newline = false
format = """
$hostname\
$username\
$directory\
package main
import (
"bytes"
"context"
"encoding/base64"
"fmt"
"log"
"github.com/aws/aws-sdk-go/aws"
new WebSocket("ws://localhost:1323/ws", ["hello", "world"])

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

curl -s "https://translate.googleapis.com/translate_a/single?client=gtx&sl=en&tl=ja&dt=t&q=hello"

Git&GitHubビギナー入門

対象者

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

ゴール

  • GitとGitHubとはなにかを知る
  • 使い方を知る
@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">
package main
import (
"context"
"log"
"os"
"github.com/docker/docker/api/types"
"github.com/docker/docker/client"
streamer "github.com/skanehira/docker-streamer"
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 (
"encoding/json"
"io/ioutil"
"log"
"os"
"testing"
)