Uploaded October 2021 | Updated November 2026, 2 days ago
The Windows Terminal allows you to run any number of different profiles. Some of the defaults that you might see pre-configured include things like PowerShell and Command Prompt, but you can introduce your own profiles to the Windows Terminal to fit your needs! This means you can add your favorite cloud shell or add a custom shell like NuShell directly to the Windows Terminal so they can be launched immediately with a hotkey or via the GUI. In this video we'll look at how you can quickly add a new profile to the Windows Terminal
There are multiple ways the new profile can be introduced. In this video we'll be duplicating an existing profile and configuring it to automatically SSH into one of my development servers. This can be done by opening the Windows Terminal settings and clicking "Add a New Profile" from the options on the left hand side of the settings screen. That button will present you with the option to either duplicate an existing profile or add a new empty profile. Duplicating a profile will automatically copy style, icon and other settings.
If you prefer to work directly with configuration files you can manually edit your Windows Terminal profiles in the `settings.json` file. This can be accessed by clicking "Open JSON file" from the settings menu.
Your profiles are configured in a list under the "profiles" setting. Add your new profile to that list and save the file to begin using it!
```json
"profiles":
{
...
"list":
{
{},
{},
// Insert your profile here!
}
}
```
***
You can download the Windows Terminal for your machine here: microsoft.com/en-us/p/windows-terminal/9n0dx20hk701
Join the World of Zero Discord Server: discord.gg/hU5Kq2u
The Windows Terminal allows you to run any number of different profiles. Some of the defaults that you might see pre-configured include things like PowerShell and Command Prompt, but you can introduce your own profiles to the Windows Terminal to fit your needs! This means you can add your favorite cloud shell or add a custom shell like NuShell directly to the Windows Terminal so they can be launched immediately with a hotkey or via the GUI. In this video we'll look at how you can quickly add a new profile to the Windows Terminal
There are multiple ways the new profile can be introduced. In this video we'll be duplicating an existing profile and configuring it to automatically SSH into one of my development servers. This can be done by opening the Windows Terminal settings and clicking "Add a New Profile" from the options on the left hand side of the settings screen. That button will present you with the option to either duplicate an existing profile or add a new empty profile. Duplicating a profile will automatically copy style, icon and other settings.
If you prefer to work directly with configuration files you can manually edit your Windows Terminal profiles in the `settings.json` file. This can be accessed by clicking "Open JSON file" from the settings menu.
Your profiles are configured in a list under the "profiles" setting. Add your new profile to that list and save the file to begin using it!
```json
"profiles":
{
...
"list":
{
{},
{},
// Insert your profile here!
}
}
```
***
You can download the Windows Terminal for your machine here: microsoft.com/en-us/p/windows-terminal/9n0dx20hk701
Join the World of Zero Discord Server: discord.gg/hU5Kq2u

.
Moq is a framework for .NET that makes it easy to generate and test mocked code. Given a class you are able to replace that class with a clone that matches all of the type requirements of the class but has none of the implementation leaving the rest up to you. It is compatible with most testing frameworks, but because were hoping to later integrate with Unity 3D as part of our [Platforming game](https://www.youtube.com/playlist?list=PLEwYhelKHmigkz97T76r2bCt7wfG_1pPE) well be testing our integration of Moq with [NUnit](https://nunit.org/).
This framework is new to me so lets explore it together and cover some of the basic use cases that Id like to employ Moq for: Mocking the value of object Properties, Mocking the value of object Functions and Mocking the results of a specific function invocation. From that hopefully well be able to build a better understanding of the capabilities of Moq and how we can best use it to improve the quality of our testing.
***
To add Moq to your dotnet project you can run:
```ps1
dotnet add package Moq
```
Moq is also on GitHub. You can browse the source and see code samples there: https://github.com/moq/moq4
Join the World of Zero Discord Server: https://discord.gg/hU5Kq2u Im Learning Moq - A .NET Mocking Framework for Unit Tests](https://i.ytimg.com/vi/EJZ2xWGfFQw/mqdefault.jpg)
 in an earlier video series. You can accomplish a lot with basic distance formula to create a number of very cool effects!
If you have suggestions for how we could improve this shader or ideas on what we should do with it next let me know in the comments!
Join the World of Zero Discord channel: https://discord.gg/hU5Kq2u A Static Glowing Ring - Ripple Shader - Part 1](https://i.ytimg.com/vi/EhkBdCdNx-Y/mqdefault.jpg)





 for recommending the use of `ContextMenu`s. You can find more of their content as a guest in videos at Infallible Code: https://www.youtube.com/user/charlesamat
### Code Examples
Some example uses of Unity 3Ds `ContextMenu` and `ContextMenuItem` Attributes:
#### `ContextMenu`
A `ContextMenu` Attribute is attached to functions in your `MonoBehavior`. When that menu item is clicked it will invoke the function the attribute is assigned to:
```csharp
[ContextMenu(Context Menu Example)]
void HelloContextMenu() {
Debug.Log(Context Menu Clicked!);
}
```
#### `ContextMenuItem`
A `ContextMenuItem` Attribute is attached to a field and requires you to provide the name of a function that will be invoked when the menu item is clicked.
```csharp
[ContextMenuItem(Context Menu Item Example, nameof(InvokeContextMenuItem))]
public float someVariable;
void InvokeContextMenuItem() {
Debug.Log(Context Menu Item Clicked!);
}
```
[`nameof`](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/nameof) is a C# function that returns a string representation for the name of the class, function, field, property etc that is referenced. Using this allows things like refactorings to function better and provides compiler errors if you spell a function name incorrectly (`nameof(FunctionName)` will throw an error if `FunctionName` is not defined).
Note: The functions invoked by both `ContextMenu` and `ContextMenuItem` should not have any arguments.
***
Unitys documentation on the `ContextMenu` Attribute: https://docs.unity3d.com/ScriptReference/ContextMenu.html
Unitys documentation on the `ContextMenuItem` Attribute: https://docs.unity3d.com/ScriptReference/ContextMenuItemAttribute.html
Join the World of Zero Discord Server: https://discord.gg/hU5Kq2u Using ContextMenu and ContextMenuItem in Unity 3D](https://i.ytimg.com/vi/GKG-vUFt3D4/mqdefault.jpg)

