go control docker

https://blog.kowalczyk.info/article/w4re/using-mysql-in-docker-for-local-testing-in-go.html https://github.com/kjk/go-cookbook/tree/master/start-mysql-in-docker-go

繼續閱讀

go aws ec2 control

package main import ( “fmt”  “log” “net/http”  “io/ioutil”  “github.com/gorilla/mux”  “github.com/smartystreets/go-aws-auth” ) func stopEC2InstanceHandler(w http.ResponseWriter, req *http.Request) {  vars := mux.Vars(req)  w.Write([]byte(fmt.Sprintf(“stopEC2InstanceHandler: %v \n\n”, vars[“id”])))  var Action = “StopInstances” //check aws website  var Version = “2016-11-15” //need to check api version from aws website //regoin need to check url from aws website. ex: ap-northeast-2 //some region no support some action  apiUrl := “https://ec2.

繼續閱讀

go crawler

https://codereview.stackexchange.com/questions/70263/go-go-gadget-web-crawler https://github.com/PuerkitoBio/gocrawl

繼續閱讀

hugo server –theme=hugo_theme_robust –baseURL 192.168.xxx.xxx:1313 –bind “0.0.0.0” baseURL 192.168.xxx.xxx you server ip bind for all default only localhost…….

繼續閱讀

作者的圖片

Sue boy

Sueboy Can support You

CIO

Taiwan