Skip to content

Instantly share code, notes, and snippets.

🐢
|ω・)و ̑̑༉

yukpiz yukpiz

View GitHub Profile
View zombie.py
# codeing:utf-8
import cv2
import os
import glob
import imghdr
import tensorflow as tf
from tensorflow import keras
View opencv_ui.py
#codeing:utf-8
import cv2
import sys, os, glob, imghdr
DIRS = [
"0_sakura_minamoto",
"1_saki_nikaido",
"2_ai_mizuno",
"3_junko_konno",
View channel.go
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
"strings"
)
View でかい.go
type User struct {
ID int
Profile Profile
Reservations []Reservation
Followers []User
Follows []User
WishList []Wish
CreatedAt time.Time
}
View golang_hands_on2.md

summaries

  • [0:00~] Introduction(1m)
  • [0:01~] WebAPIサーバーとは?(1m)
  • [0:02~] 最もシンプルなWebサーバー(10m)
  • [0:12~] 課題1: FizzBuzz APIを作ろう(説明1m+作業10m)
  • [0:23~] 課題2: プロフィールを返すAPIを作ろう(説明1m+作業10m)
  • [0:34~] 課題3: プロフィールを保存するAPIを作ろう(説明1m+作業10m)
  • [0:45~] 課題4: 保存したプロフィールを返すAPIを作ろう(説明1m+作業10m)
  • [0:56~] 課題5: プロフィールAPIのクライアントを作ろう(説明1m+作業10m)
  • [~0:67] 終了
View html_server.go
package main
import (
"fmt"
"github.com/julienschmidt/httprouter"
"html/template"
"log"
"net/http"
)
View post_client.go
package main
import (
"bytes"
"encoding/json"
"flag"
"fmt"
"io/ioutil"
"log"
"net/http"
View get_client.go
package main
import (
"flag"
"fmt"
"io/ioutil"
"log"
"net/http"
)
View get_profile2.go
package main
import (
"encoding/json"
"fmt"
"github.com/julienschmidt/httprouter"
"io/ioutil"
"log"
"net/http"
)
You can’t perform that action at this time.