SyntaxError: invalid syntax to repo init in the AOSP code
try these commands curl https://storage.googleapis.com/git-repo-downloads/repo-1 > ~/bin/repo chmod a+x ~/bin/repo python3 ~/bin/repo init -u git@….
try these commands curl https://storage.googleapis.com/git-repo-downloads/repo-1 > ~/bin/repo chmod a+x ~/bin/repo python3 ~/bin/repo init -u git@….
You can run two instances of dnsmasq, each with a different interface it listens on. You can use the –interface=X and –bind-interfaces options for that. By default, it also binds the loopback device lo and will fail if two processes try to bind it. Use –except-interface=lo to avoid that. dnsmasq –interface=eth0 –except-interface=lo –bind-interfaces –dhcp-range=192.168.0.2,192.168.0.10,12h dnsmasq … Read more
If you configure your network this way in the Vagrant file: config.vm.network :forwarded_port, guest: 4000, host: 4000 And then serve files on that port. You will be able to hit it externally. Assuming you are running the vagrant box on a Mac it would be (machine).local:4000, for example I’m joe.local:4000 Quite convenient to be able … Read more
Downgrade to WSL1, if you want to save yourself from days of wasted effort. I’ve upgraded to WSL2 and tried a bit to get VirtualBox to work with it and I couldn’t find anything useful. There are few guides suggesting that turning off some features of VirtualBox will make it work, however it will make … Read more
It can be done in 4 steps : Clone your VMDK to VDI format with VBoxManage Tool. Resize the disk to create free space with VBoxManage Tool. Modify the filesystem to allocate free space for your drive with GParted. Add created disk space to Linux FileSystem. The detailed steps are below (tested with “Virtual Machine … Read more
Adding C:\Program Files\Git\usr\bin to the PATH environment variable. Add it manually or I believe you could run this in cmd: set PATH=%PATH%;C:\Program Files\Git\usr\bin updated from @Ygor Thomaz’s comments or (64 bits) set PATH=%PATH%;C:\Program Files\Git\usr\bin If this doesn’t fix your problem, go through : Get SSH working on Vagrant/Windows/Git
Remember what Azul used to do: make customized multicore Java appliances. An Azul machine might have 60 or 100 cores and there was all sorts of cleverness to take advantage of the parallelization (the one that impressed me was the optimistic locking: a thread that was supposed to obtain a lock just assumed that it … Read more
Be sure to add -H128 to your build command line after +RTS -s Your eval looks fine, so you are good to go there. If you really wanted to go after sluggishness on this VM, increase the thread priority on the VM (and the VM console slightly if you want). Another unexpected penalty will be … Read more