Wednesday, April 29, 2020
Tuesday, April 28, 2020
Saturday, April 25, 2020
Friday, April 24, 2020
Saturday, April 18, 2020
How to install Golang in Linux
sudo apt-get update
sudo apt-get -y upgrade
cd /tmp
wget https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.14.2.linux-amd64.tar.gz
open ~/.profile and add below variable at the end
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
update current shell session
source ~/.profile
sudo apt-get -y upgrade
cd /tmp
wget https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.14.2.linux-amd64.tar.gz
open ~/.profile and add below variable at the end
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
update current shell session
source ~/.profile
go version
write hello.go
package main import "fmt" func main() { fmt.Printf("hello, world\n") }
build
go build hello.go
run
./hello
Friday, April 17, 2020
pathogen.vim nerdtree
mkdir -p ~/.vim/autoload ~/.vim/bundle
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
add in .vimrc
execute pathogen#infect()
add in .vimrc
syntax on
filetype plugin indent on
git clone https://github.com/preservim/nerdtree.git ~/.vim/bundle/nerdtree
reference:
https://github.com/tpope/vim-pathogen
git clone https://github.com/preservim/nerdtree.git ~/.vim/bundle/nerdtree
reference:
https://github.com/tpope/vim-pathogen
Monday, April 13, 2020
VBoxManage.exe: error: Call to WHvSetupPartition failed: ERROR_SUCCESS
It's possible 13/04/2020 :)
bcdedit /set hypervisorlaunchtype off
and make sure Hyper-V and Windows Sandbox are disabled in Windows Features (which you can get to by entering
OptionalFeatures.exe
at a command prompt, or via the Control Panel).
Also, Virtualisation options should be enabled in the BIOS, and I think (I don't have time to test right now) that "Virtual Machine Platform" and "Windows Hypervisor Platform" should be enabled.
VirtualBox 6.0.14, Windows Version 10.0.18362.356.
https://stackoverflow.com/questions/58031941/how-to-get-oracle-vm-virtualbox-6-0-and-wsl-working-at-the-same-time
Subscribe to:
Posts (Atom)
free online comma separating tool
https://delim.co/#
-
In my current company, I'm using Visual Paradigm for my documentation task. If you go there site, you can either download community and ...
-
One of the functionality in our system is can able to generate a report using Jasper report. We have a Jasper server setup in another ip ad...
-
https://www.liquidweb.com/kb/how-to-install-nvm-node-version-manager-for-node-js-on-ubuntu-12-04-lts/