
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
Recent Work
Latest blog posts, gallery additions, and videos. Added dates reflect when work joined the site.
August 27th's Partial Lunar Eclipse (higher exposure)
Added
GalleryAugust 27th's Partial Lunar Eclipse
Added
VideoMay 31st’s full moon will be a Blue Moon! 🌔 #space #moon #timelapse
Published
VideoA fun capture during a timelapse I took on May 13th in Iowa. 🌌 #sky #timelapse #video
Published
VideoTimelapse of the night sky at my new home. #video #timelapse #stars #sky #milkyway
Published
VideoApril’s first quarter moon, captured by my telescope. #moon #space
Published
Blog 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,…
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 dirty The first…
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
Navigation What is $PSBoundParameters? Taking a look at $PSBoundParameters Using a switch statement Splatting with $PSBoundParameters Wrapping things up You can view all of the example code on…

Visual Studio Code PowerShell Setup
Welcome to my Visual Studio Code/PowerShell series! What is Visual Studio Code? Installing VS Code Installing Extensions PowerShell extension vscode-icons icon pack Rainglow theme pack PowerShell…

C# Discord Bot: Logging All The Things
No matter what you're using your bot for, more likely than not you'll want to know what the heck is happening at some point. Luckily, we can add a logging service to get this done. In this post I…