44 places to start. Follow whatever catches your eye.
Blazor - General Notes
General Notes About Blazor Hosting Models Generally, the most important thing is whether or not you want things to be handled server-side or not.
Open the field notes
C-Sharp - Access Modifiers
Access Modifiers in C# Notes For C# classes and such, there are the access modifiers — plus each respective combination — that can be used: See the Microsoft Docs for mor
Open the field notesC-Sharp - Async & Await
Async vs. Await in C# When To Use Async vs.
Open the field notesC-Sharp - Configure Awaiter
Configure Awaiter in C# Notes Notes Link to the Microsoft source documentation.
Open the field notesC-Sharp - Convert Collection To List
Issue When a SelectedItemCollection is passed into a RelayCommand delegate, it might be trickier than expected to actually get the values out of the parameter.
Open the field notesC-Sharp - Dynamic Resources in WPF
C# - Dynamic Resources in WPF Setting Dynamic Resource Keys In this example, I needed to have a color value respected throughout a WPF app whenever it changed.
Open the field notesC-Sharp - Feature Is Not Supported By The Language
Feature Is Not Supported By The Language in C# Example error CS1545: Property, indexer, or event 'Parameter.Value' is not supported by the language; try directl
Open the field notesC-Sharp - Line Breaks in XAML
C# - Line Breaks in XAML Using this special character group will allow breaking up lines of text without having to use Run elements in a TextBlock (or equivalent): Charac
Open the field notesC-Sharp - Moving Up Directories
C# - Traversing Up Directories You can simply use ".." as parameters to Path.GetFullPath to traverse upwards in a directory tree: string workingDir = Environmen
Open the field notesC-Sharp - Records
Records in C# Notes Use a record when it would be useful to be able to compare their properties’ values versus a class, where you would have to implement that comparison
Open the field notes
C-Sharp - Resource File Reading
Get Resource Names If you use the following, you can resolve all of the resources currently loaded by the current assembly: string[] resourceNames = GetType().Assembly.Ge
Open the field notesC-Sharp - VS Blend Timeline Issues
Visual Studio Blend Timeline Troubleshooting Example Error Visual Studio Blend gives various errors like an element in the control not being in the name scope of the stor
Open the field notesDependency Injection
Dependency Injection Notes General Notes The general idea is to create your dependencies ahead of time so that you can pass them along to the classes, objects, etc.
Open the field notesDotNet - Mismatched Manifest Definition Reference
Mismatched Manifest Definition Reference Troubleshooting Error I ran into this when creating a new project for work, and there was some kind of conflict with the dependen
Open the field notesDotNet - Visual Studio Builds Hang
Visual Studio Builds Hang Troubleshooting Error Build starts, but doesn’t appear to move forward at all with the process.
Open the field notesGitHub - .NET Build Action
GitHub .NET Build Action Example Build Action On a push or merge to main: Set up .NET Build (publish in this case) the project Compress the artifacts to a ZIP Download th
Open the field notesGroup Policy - Override Manual Clock Restrictions
Override Manual Clock Restrictions From Group Policy Settings Issue I can’t change the date and/or time of the local machine because it’s “managed by my organization.” Co
Open the field notesHTML Layouts - Position
HTML Layout Positioning Notes absolute: Be careful when using position: absolute in the context of a CSS/SCSS style.
Open the field notesHyper-V - Could Not Load File Or Assembly
Could Not Load File Or Assembly Error in Hyper-V Error When trying to use the ‘Quick Create…’ option in Hyper-V, this error can appear.
Open the field notesJavaScript - Equality
Equality in JavaScript Notes Generally speaking, use the triple equals operator.
Open the field notesMacOS - Cleaning System Files
Cleaning System Files in MacOS # Lists snapshots in the file system tmutil listlocalsnapshots / # Delete snapshots in the file system that aren't mounted tmutil dele
Open the field notesPostman - See The Full Request Sent
See Full Sent Request in Postman Directions Use the “Console” available at the bottom right of the main window.
Open the field notesPowerShell - Check For Reboot Script
Checking For Pending Reboots in Windows Script $rebootPending = ( (Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending
Open the field notes
Python Script - Rename TV Show Titles
Automatically Renaming Video Files For Plex Rename Title Script The idea with this is to take an existing folder with subfolders of TV show episodes, and reformat them as
Open the field notesRaspberry Pi - Setting Up .NET
Setting Up .NET For a Raspberry Pi Setup Microsoft documentation shows the commands you need to install the SDK and/or runtime on a Pi.
Open the field notesReact - UseState & UseEffect
useState & useEffect in React UseState Changes to the state (e.g. updating a value via useState) will cause the given component to re-render.
Open the field notesRemoving Organization Management From Chrome
Chrome: “Managed By Organization” Banner Follow the steps at the following link: support.google.com/chrome/a/answer/9844476\&sjid=7904420418435399576-AP#zippy=%2Cwind
Open the field notesRunning Common Circles Template
Commands You need to run the following commands in order via separate terminals. The app template should then be available at localhost:8000.
Open the field notesTeamCity - Upload Artifacts After Build
Build Step #r "nuget:RestSharp" using System.IO.Compression; using System.Text.Json; using System.Linq; using RestSharp; using System.IO; using System; Console.
Open the field notesTime - Ticks Converter
Time Ticks Converter Website Use this to convert between ticks and date-times: datetimetoticks-converter.com/ time.
Open the field notesUnity - Changing Shader Properties From Scripts
Changing Shader Properties From a Script in Unity Shader Properties Documentation Global properties are used if a shader needs them but the material does not have them de
Open the field notesUnity - Cloth Simulation
Cloth Simulation in Unity Cloth Component Add a Cloth component to the GameObject that hosts the mesh renderer you want to make “clothy”.
Open the field notesUnity - Coroutines
Unity Coroutine Notes Exiting Scopes To exit a coroutine early, you can use yield break;, but if you just want to exit a loop or something, but still allow the coroutine
Open the field notesUnity - Lightmap Baking
Baking Lightmaps in Unity Baking Shadows Make sure the objects that are to have their lighting/shadows baked are marked as Static Certain types of lights will bake, and s
Open the field notesUnity - Lightmap Modes
Unity Lightmap Modes Documentation See the docs for more information.
Open the field notesUnity - Orbbec Cannot Open Device Error
Error / Issue Error k4a cannot open device (error) <unknown assembly> type:<unknown type> member:(null) Solution Daniel got this working by installing a newer
Open the field notesUnity - Orbbec Dependencies
General Notes Generally speaking, installing Azure Kinect SDK 1.4.1.exe and Azure Kinect Body Tracking SDK 1.1.2.msi should be sufficient to get the Orbbec Femto Mega up
Open the field notesUnity - Orbbec Model Files (.onnx)
Troubleshooting Orbbec Model Files Required Files & Directory These are the critical files for skeleton tracking to work: dnn_model_2_0_op11.onnx dnn_model_2_0_lite_o
Open the field notesUnity - Orbbec Project Setup
General Notes Use the USOPC project as a starting point.
Open the field notesUnity - Using Lerp() Properly
Using Lerp() Properly In Unity The Code Make sure to actually use time in the correct way to interpolate between two values with Lerp() in Unity, i.e.
Open the field notesUnity Licensing Server
Unity Licensing Server Notes File Locations The licensing server itself lives on it’s own, usually at a high-level directory: C:\UnityLicensingServer The licensing client
Open the field notesWindows - Determine Missing Files
General Notes fuslogvw.exe can monitor applications being run (or starting up) and log the results of type bindings to a log file.
Open the field notesWindows - Devices
Finding Connected Devices in Windows Use something like DevManview or USBDeview to see much more information about connected devices.
Open the field notesWindows - Set DPI Programmatically
Set DPI Programmatically in Windows Setting DPI Scaling Via command line: GitHub - imniko/SetDPI This one seems relatively promising.
Open the field notes