Posted on

How to Use One Drive with Git Repository in Conjunction with Visual Studio or VS Code

 

Create a directory on the drive

Create empty repository on that directory

image

 

git init –bare

image

 

Now Repository is created.

 

Go to Visual Studio, and clone that directory, and create empty solution, and add projects file.

image

 

After project is working fine, please add untracked file, and push and sync.

 

Once Initial Sync is done, you can clone that repo, with other name to test.

Note: VS Git client doesn’t pull all the files correclty

Posted on

[Feature Request] Specify a static IP for VirtualBox VMs · Issue #1709 · docker/machine

By default, seems docker-machine picks one randomly, so forced to use the one for vboxnet0(192.168.59.3/24, the one used by boot2docker) seems to solve the issue:

$ docker-machine create --driver virtualbox --virtualbox-hostonly-cidr "192.168.59.3/24" dev
Creating VirtualBox VM...
Creating SSH key...
Starting VirtualBox VM...
Starting VM...
To see how to connect Docker to this machine, run: docker-machine env dev

$ docker-machine ip dev
192.168.59.103

By default, seems docker-machine picks one randomly, so forced to use the one for vboxnet0 (192.168.59.3/24, the one used by boot2docker) seems to solve the issue: $ docker-machine create –driver virtualbox –virtualbox-hostonly-cidr “192.168.59.3/24” dev Creating VirtualBox VM… Creating SSH key… Starting VirtualBox VM… Starting VM… To see how to connect Docker to this machine, run: docker-machine env dev $ docker-machine ip dev 192.168.59.103

Source: [Feature Request] Specify a static IP for VirtualBox VMs · Issue #1709 · docker/machine