Tuesday, October 15, 2019

Golang - Install Gonum

Install gonum plotting library in ubuntu:

$ go get -v gonum.org/v1/plot/...
Fetching https://gonum.org/v1/plot?go-get=1
Parsing meta tags from https://gonum.org/v1/plot?go-get=1 (status code 404)
get "gonum.org/v1/plot": found meta tag get.metaImport{Prefix:"gonum.org/v1/plot", VCS:"git", RepoRoot:"https://github.com/gonum/plot"} at https://gonum.org/v1/plot?go-get=1
gonum.org/v1/plot (download)
github.com/golang/freetype (download)
Fetching https://golang.org/x/image/math/fixed?go-get=1
Parsing meta tags from https://golang.org/x/image/math/fixed?go-get=1 (status code 200)
get "golang.org/x/image/math/fixed": found meta tag get.metaImport{Prefix:"golang.org/x/image", VCS:"git", RepoRoot:"https://go.googlesource.com/image"} at https://golang.org/x/image/math/fixed?go-get=1
get "golang.org/x/image/math/fixed": verifying non-authoritative meta tag
Fetching https://golang.org/x/image?go-get=1
Parsing meta tags from https://golang.org/x/image?go-get=1 (status code 200)
golang.org/x/image (download)
Fetching https://golang.org/x/image/font?go-get=1
Parsing meta tags from https://golang.org/x/image/font?go-get=1 (status code 200)
get "golang.org/x/image/font": found meta tag get.metaImport{Prefix:"golang.org/x/image", VCS:"git", RepoRoot:"https://go.googlesource.com/image"} at https://golang.org/x/image/font?go-get=1
get "golang.org/x/image/font": verifying non-authoritative meta tag
github.com/fogleman/gg (download)
Fetching https://golang.org/x/image/tiff?go-get=1
Parsing meta tags from https://golang.org/x/image/tiff?go-get=1 (status code 200)
get "golang.org/x/image/tiff": found meta tag get.metaImport{Prefix:"golang.org/x/image", VCS:"git", RepoRoot:"https://go.googlesource.com/image"} at https://golang.org/x/image/tiff?go-get=1
get "golang.org/x/image/tiff": verifying non-authoritative meta tag
github.com/ajstarks/svgo (download)
Fetching https://rsc.io/pdf?go-get=1
Parsing meta tags from https://rsc.io/pdf?go-get=1 (status code 200)
get "rsc.io/pdf": found meta tag get.metaImport{Prefix:"rsc.io/pdf", VCS:"git", RepoRoot:"https://github.com/rsc/pdf"} at https://rsc.io/pdf?go-get=1
rsc.io/pdf (download)
golang.org/x/image/math/f64
gonum.org/v1/plot/palette
golang.org/x/image/math/fixed
golang.org/x/image/tiff/lzw
github.com/ajstarks/svgo
gonum.org/v1/plot/vg/fonts
github.com/golang/freetype/raster
golang.org/x/image/font
golang.org/x/image/draw
golang.org/x/image/font/basicfont
golang.org/x/image/ccitt
github.com/golang/freetype/truetype
rsc.io/pdf
gonum.org/v1/plot/palette/brewer
golang.org/x/image/tiff
gonum.org/v1/plot/palette/moreland
gonum.org/v1/plot/vg
gonum.org/v1/plot/cmpimg
github.com/fogleman/gg
gonum.org/v1/plot/vg/vgeps
gonum.org/v1/plot/vg/vgsvg
gonum.org/v1/plot/vg/vgpdf
gonum.org/v1/plot/vg/recorder
gonum.org/v1/plot/tools/bezier
gonum.org/v1/plot/vg/vgtex
gonum.org/v1/plot/vg/vgimg
gonum.org/v1/plot/vg/draw
gonum.org/v1/plot
gonum.org/v1/plot/plotter
gonum.org/v1/plot/gob
gonum.org/v1/plot/plotutil
$

References:

Wednesday, October 9, 2019

angular - install angular cli on ubunut using npm


Installing angular cli on ubuntu using npm

~$ npm install -g @angular/cli
/home/ubuntu/.nvm/versions/node/v10.16.3/bin/ng -> /home/ubuntu/.nvm/versions/node/v10.16.3/lib/node_modules/@angular/cli/bin/ng

> @angular/cli@8.3.8 postinstall /home/ubuntu/.nvm/versions/node/v10.16.3/lib/node_modules/@angular/cli
> node ./bin/postinstall/script.js

? Would you like to share anonymous usage data with the Angular Team at Google under
Google’s Privacy Policy at https://policies.google.com/privacy? For more details and
how to change this setting, see http://angular.io/analytics. Yes

Thank you for sharing anonymous usage data. If you change your mind, the following
command will disable this feature entirely:

    ng analytics off

+ @angular/cli@8.3.8
added 244 packages from 185 contributors in 1178.698s
~$