How to install Go 1.13.3 on CentOS 8/7.x

Go Language:

The Go programming language is an open source project to make programmers more productive.

Main features:

Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection

Multicore and Networked machines

Support target: windows 32/64bits, linux 32/64bits, MacOS

IDE Integration with vim, visual studio code, goland plugin (intellij) and atom

Quick Guide:

  1. Download using the url: Go 1.13.3 64bits
  2. tar xfz
    go1.13.3.linux-amd64.tar.gz -C /usr/local/
  3. Added this to your profile
    export PATH=$PATH:/usr/local/go/bin
  4. Test your installation by the command: go version
  5. Download the extra Lib:
    go get <git_repo>/<your_module>/<your_lib>

    Go Code example: (for diagnostic)
    
    diagnostic.go

package main

import (
“log”
“net/http”
“net/http/pprof”
)

func main() {
mux := http.NewServeMux()
mux.HandleFunc(“/custom_debug_path/profile”, pprof.Profile)
log.Fatal(http.ListenAndServe(“:5555”, mux))
}

Nexus 5 battery bug (耗電異常)

Are you Nexus 5 users?

Many Nexus 5 clients have complained on Google support forums about the battery problem (battery drain) when using apps (for ex: Skype) with cameras.
Some clients reported that the smartphone also heats up.(發熱)

A Google confirmed this bug and it will be fixed at the next software update.
Google 允諾透過系統更新改善.

This bug is found at the mm-qcamera-daemon apps by Google.