tip

Short programming tips you can use in minutes.

Bash: Parameter Expansion
· ☕ 1 min read
Some bash parameter expansion shorthand to make it easier to expand or modify strings quickly without needing to invoke other tools like `sed` or `awk`.

Unity: Inspector Attributes
· ☕ 1 min read
Some attributes that can be added to Unity objects to make them render more nicely inside of the editor's Inspectors.

Renaming a Local Git Branch
· ☕ 2 min read
note: When you rename your git branches make sure you double check any connected CI jobs you have associated with the repository.

Using C#'s nameof Expression - C# Quick Tip
Using C#'s nameof Expression - C# Quick Tip
· ☕ 2 min read
The nameof expression allows you to convert a variable, property, type or function into a string that represents its name.

Creating a Quick Custom Profile in the Windows Terminal
Creating a Quick Custom Profile in the Windows Terminal
· ☕ 2 min read
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!

Quickly Edit Streams with the FFmpeg CLI
Quickly Edit Streams with the FFmpeg CLI
· ☕ 2 min read
FFmpeg allows you to manipulate video files from your command line. Lets explore how to trim videos from streams more quickly by taking advantage of some of FFmpeg's features.

Using the PowerToys Color Picker
· ☕ 1 min read
PowerToys adds a series of useful tools to your Windows computer including a color picker that lets you easily lookup the color of any pixel on your screen.

Rotation Math Tricks - Using Unity's Quaternion Operators
Rotation Math Tricks - Using Unity's Quaternion Operators
· ☕ 2 min read
Unity provides a few operators that can make some common tasks with quaternions easier to accomplish. You can multiple a quaternion and vector to rotate the vector by the provided quaternion’s rotation or multiple two quaternions together in order to add the two rotations they represent together.

Enable Font Ligatures in VS Code
Enable Font Ligatures in VS Code
· ☕ 2 min read
Font ligatures combine multiple characters into a single unique character. Some fonts provide ligatures specifically for software development.

Exploring Top-Level Programs in C# 9
Exploring Top-Level Programs in C# 9
· ☕ 2 min read
Top-Level Programs is a new feature being introduced in C# 9.0 that significantly simplifies certain C# programs and allows you to remove almost all of the boilerplate code from them.

Dynamic Game Speed - Unity Quick Tip
Dynamic Game Speed - Unity Quick Tip
· ☕ 1 min read
You are able to modify the speed of most objects, animations and physics using a single value: Time.timeScale. Modifying this value from it’s default (1) causes the game to run slower (values less than 1) or faster (values greater than 1).

Navigate Your Shell With pushd and popd - Quick Tip
Navigate Your Shell With pushd and popd - Quick Tip
· ☕ 1 min read
There are a few ways to navigate your shell in terminals. One of the less common but useful ways I’ve found when working with multiple directories takes advantage of the directory stack most terminals maintain.