Beej's Guide to Git
via Michael Tsai
Mostly Robot
via Michael Tsai
gpedit.msc
Local Group Policy Editor panel.Computer Configuration
Administrative Templates
Windows Components
Remote Desktop Services
Remote Desktop Session Host
Connections
Restrict Remote Desktop Services user to a single Remote Desktop Services session
policy to Disabled
.Limit number of connections
policy to Enabled
.
RD Maximum Connections allowed
to 999999
(unlimited).Set repositoryPath
and globalPackagesFolder
to ensure that all project references point to the new path.
Environment variables need to be cleared as they’ll override Nuget.Config
.
NUGET_PACKAGES
User environment variableNUGET_PACKAGES
System environment variable%APPDATA%\NuGet\NuGet.Config
file config/globalPackagesFolder
setting%ProgramFiles(x86)%\NuGet\Config
file config/globalPackagesFolder
settingCheck current location (new terminal needed for environmental variable change):-
nuget locals global-packages -l
Alt + F8
During Windows setup:-
oobe\bypassnro
command.When you see the screen indicating that your PC can’t run Windows 11, press Shift + F10 to open the Command Prompt.
Setting up CUPS isn’t necessary with the current Raspberry Pi OS image. Working drivers for ARM are the main problem.
Add DefaultPath
string value to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\Options
. %UserProfile%
works here.
via Michael Tsai
Plugins are supported for the Store release. You just have to install them in a different location. Go to your Documents folder, create a folder called “paint.net App Files” (no quotes though), and then create a folder for each plugin type: Effects, FileTypes, and Shapes. And then put your plugins into each folder just like you’re used to with the Classic release. This does mean that plugins are installed per-user, mind you. This method of installation is also supported by the Classic release, by the way.
paint.net forum post
Windows 11 scale factor | 100% | 125% | 150% | 200% | 250% | 300% | 400% |
---|---|---|---|---|---|---|---|
Context menu, title bar, system tray | 16px | 20px | 24px | 32px | 40px | 48px | 64px |
Taskbar, search results, Start all apps list | 24px | 30px | 36px | 48px | 60px | 72px | 96px |
Start pins | 32px | 40px | 48px | 64px | 80px | 96px | 256px |
Note
Apps should have, at the bare minimum: 16x16, 24x24, 32x32, 48x48, and 256x256.
This covers the most common icon sizes, and by providing a 256px icon, ensures Windows should only ever scale your icon down, never up.
via Michael Tsai
With PowerShell
In .NET 5+ set <UseWPF>true</UseWPF>
and <UseWindowsForms>true</UseWindowsForms>
in the project file.
git config --global user.name
git config --global user.name {display name}
git config --global user.name ""
git config --global user.email
git config --global user.email {email address}
git config --global user.email ""
Tool to migrate .NET Framework projects to .NET “Core”.
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge
KeyComputer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\HubsSidebarEnabled
DWORDedge://policy/
in Edge and click Reload Policies
to check setting applied[DatabaseGenerated(DatabaseGeneratedOption.None)]
attribute to turn off auto generated keys.DbContext.Table.RemoveRange(from c in DbContext.Table select c)
to clear table. Or ((IObjectContextAdapter)DbContext).ObjectContext.ExecuteStoreCommand("TRUNCATE TABLE [Table]")
for quick and dirty.[Key]
attribute to define primary key[Table("[Table]")]
on class for table name‘In the Core Project (.NET Standard Project) Properties > Compilation > Advanced > Select “PDB Only”’
Doesn’t work with .NET Core dlls due to pdb format
Add to wpf project file