The problem: after “Check for updates…” and “Update now”, VS Code for macOS never restart or actually update (after it is manually restarted). This problem was reproduced on macOS 10.15.4 and VS Code 1.41.0
The solution: run
$ sudo rm -Rf ~/Library/Caches/com.microsoft.VSCode.ShipIt
This SO post has a good explanation of what `afterEvaluate` does. Just a quote:
The afterEvaluate is useful in the root gradle file of a multi project build when you want to configure specific items based on the configuration made in subprojects
“Test” menu -> Processor Architecture for AnyCPU Projects -> select “x64” (instead of “x86”)
(1) Use Windows Key + i to open “Windows Settings”
(2) Search “Optional features”
(3) Expand “Add a feature”, select “XPS Viewer”, and install
Please backup you data. No joking. I messed up my boot loader and lost my 16.04 Ubuntu once.
My system config is different from yours, so please understand (and may change) every steps before you execute it.
Also note: both Ubuntu 18.04 and Windows 10 use UEFI mode boot.
I have a Dell XPS 13 (9343) with Ubuntu 18.04, and I want to install Windows 10 on it.
Step 1. Allocate space for Windows installation
I used GParted to reduce the size of my existing Ubuntu partition, so I can allocate space for Windows. (Because the Ubuntu partition is for boot, I used Ubuntu’s tool Startup Disk Creator to create a LiveCD to boot from first).
After resizing /dev/sda* (the partition for my Ubuntu installation), I got 80GB unallocated space on my disk /dev/sda.
(Note: I suggest to create a FAT partition from this unallocated space first. If leave it unallocated, I got some error in Step 3 when installing Windows, so I need to get back to GParted again to create a partition).
Step 2. Create Windows USB boot media
I tried the method in this detailed article how to create Windows 10 bootable USB on Ubuntu, but my XPS 13 can’t boot from the created USB.
Finally I need to first create a Windows 10 VM in VirtualBox, and then use the official Create Installation Media Tool from Microsoft. This is a bit tedious. So I suggestion you to try the above linked method first. Only note is, if you are using a recent ISO with larger than 4GB files, you need to format the USB as NTFS.
Step 3. Install Windows 10
Use the created USB bootable to install Windows on the unallocated space (or new created partition, see Notes in Step 1).
After successfully installed Windows 10 and reboot, on my XPS 9343 I can press F12 to enter the boot menu, and select either “ubuntu” or “windows” under the UEFI boot menu.
lshw -class network
sudo apt update
sudo apt install broadcom-sta-dkms
After reboot, you may need to “Turn on” the wifi adapter. On my Dell XPS 13 (9343), I need to press keys
Fn + PrtScr
I have a Dell XPS 13 (9343, 2015 developer edition) with Ubuntu 16.04 and VirtualBox. I created a Windows 10 client and want to test a Windows app with webcam support.
Step 1. Install “Oracle VM VirtualBox Extension Pack”
Before this is installed, if you run command
VBoxManage list webcams, you will get error:
VboxMange: error: No extension pack by the name ‘Oracle VM VirtualBox Extension Pack’ was found.
You can download this Extension Pack from virtualbox.org. After it’s installed, running
VBoxManage list webcams will find the cam and its result is like:
Video Input Devices: 1
Step 2. Start the Windows 10 client, then in VirtualBox’s Devices menu, there is Webcams, check it.
Now Windows will automatically set up this new device. After all are set up, you can run Windows “Camera” app to verify it works.
brew install ffmpeg
ffmpeg -i test.MOV -vf fps=15 thumb%04d.jpg -hide_banner
-vf fps=15 means generating 15 frame images per second of the video.
When logging into Twitter account, it may require you to receive a phone call to get the verification code. This call can be received on a Google Voice number.
- Enable Call forwarding, link it to your actual mobile phone number
Settings -> Calls -> Call forwarding
- If you can receive the call, but the call immediately hangs off before it says the verification code, you may turn off Screen calls
Settings -> Calls -> Screen calls