gnja.io
Tech blog, projects, and astrophotography by Ginja.
PowerShell, C#, Discord bots, Raspberry Pi, and more.
PowerShell
Scripts, modules, and automation guides
NinjaBot
Discord bot dashboard and management
Astrophotography
Deep sky and planetary imaging gallery
Latest Posts
View all →
C# Discord Bot: Command Handling
This post will go over command handling with Discord.Net. Whether you are following along from the Raspberry Pi series, or are just curious about how to do command handling with Discord.Net,...

How to Add an MRE to AltVR
In this article, I will be going over how to add an MRE to the altvr website, so you can use and re-use it in your AltSpace rooms, with ease.The first thing you will need to do is navigate to...
PowerShell: Calculating Folder Sizes
Sometimes all you want to know, or need to know, is how big a folder is in PowerShell. To do that, we'll need to use Get-ChildItem and Measure-Object specifically.The quick and dirtyThe first command...
C# Discord Bot: Adding a Database
A database can be used to store and retrieve data that can make your bot even more robust. In this post, I will be going over how to create a database, and use it to expand our 8Ball command. .NET...
Using $PSBoundParameters in PowerShell
NavigationWhat is $PSBoundParameters?Taking a look at $PSBoundParametersUsing a switch statementSplatting with $PSBoundParametersWrapping things upYou can view all of the example code on GitHub:...

Visual Studio Code PowerShell Setup
Welcome to my Visual Studio Code/PowerShell series! What is Visual Studio Code?Installing VS CodeInstalling ExtensionsPowerShell extensionvscode-icons icon packRainglow theme packPowerShell...