You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When writing unit tests for classes / services that contain methods that include NavigationManager,
then create a simple derived class to "mock" that functionality.
Entity Framework Core - Mocking DBContexts with async methods.
When mocking DbContexts for unit testing that contain async methods, an exception is thrown with the following verbiage:
System.InvalidOperationException: 'The provider for the source 'IQueryable' doesn't implement 'IAsyncQueryProvider'.
Only providers that implement 'IAsyncQueryProvider' can be used for Entity Framework asynchronous operations.'
In order to avoid this exception create the following classes:
Revert some of the customization that Thunderbird Supernova imposes
The new release of Thunderbird, codename Supernova, changes some key elements of the UI to be more "modern".
For those who wish to keep the new release but modify some elements to semi-reflect the old UI, then here are some
steps to accomplish this.
Restore Title bar
Click the hamburger menu in the top right corner and select Settings.
Click the General tab.
Scroll to the bottom and click the Config Editor button.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Setup Qemu for GPU Passthough with Looking Glass and Scream support.
Setup Qemu for GPU Passthough with Looking Glass and Scream support.
Before we begin, make sure that you have a monitor hooked up to the second GPU. In some situations, the video card will fail to properly initialize if one isnt attached. Also it helps with debugging issues that will most assuredly arise.
GPU Passthrough setup
Ensure that IOMMU is enabled in the BIOS. For me using an Intel system from Dell, it was under Virtualization -> Direct I/O. It should be something along those lines for AMD as well. That was the easy part :).
Before we proceed we're going to need to gather some information. Run the command, lspci -nn|grep NVIDIA (or AMD if your using that). The output for me was:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters