Skip to main content

Posts

Showing posts from October, 2017

Particle Js Example

Particle Js Example  it is state foreword example we just need to changes in .html , .css And Very Importantly .Json File 1.html file(Index.html file) : <!DOCTYPE html> <html lang="en"> <head>   <meta charset="UTF-8">   <meta name="viewport" content="width=device-width, initial-scale=1.0">   <meta http-equiv="X-UA-Compatible" content="ie=edge">   <title>Particles Login</title>   <link rel="stylesheet" href="style.css"> </head> <body>   <div id="particles-js">      </div>   <script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>   <script>     particlesJS.load('particles-js', 'particles.json', function(){       console.log('particles.json loaded...');     });   </script> </body> </html>  2

Go setup on Linux and write First Program in Go

Easy Installation Of Go On Linux 1.Open terminal and add a command: go first Download directory cd/Download then type a command: wget -c https://storage.googleapis.com/golang/go1.9.1.linux-amd64.tar.gz to download a go for linux. 1.9.1 is latest version of go now. 2.then extract it using :  sudo tar -C /usr/local -xvzf go1.9.1.linux-amd64.tar.gz   3.then create your own go project directory with bin,src,pkg using: mkdir -p ~/go_projects/{bin,src,pkg}   4. cd/go_projects   5 . export  PATH=$PATH:/usr/local/go/bin 6. export GOPATH="$HOME/go_projects" 7. export GOBIN="$GOPATH/bin" 8. source ~/.profile 9. to checked using type go version:your output like:     go version go1.9.1 linux/amd64   10.then go env : output is GOARCH="amd64" GOBIN="/root/go_projects/bin" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/root/go_projects" GORACE=&qu
Welcome To GO