Skip to content

Instantly share code, notes, and snippets.

View dend's full-sized avatar
🚧
Building Things

Den dend

🚧
Building Things
View GitHub Profile
@dend
dend / halo-5-ranks.json
Created November 26, 2025 21:29
A complete manifest of Halo 5 Spartan Ranks.
{
"Paging": {
"StartAt": 0,
"InlineCount": 2,
"TotalCount": 2
},
"ContentItems": [
{
"Id": 114729,
"Type": "SpartanRankManifest",
@dend
dend / halo-5-ranks.ps1
Last active November 26, 2025 21:24
Get the list of Halo 5 ranks and render them in a table.
$uri = "https://content-hacs.svc.halowaypoint.com/contents/SpartanRankManifest"
try {
$response = Invoke-RestMethod -Uri $uri -Method Get
$results = foreach ($contentItem in $response. ContentItems) {
$spartanRanks = $contentItem. View.SpartanRankManifest.SpartanRanks
if ($spartanRanks -and $spartanRanks. Count -gt 0) {
foreach ($rank in $spartanRanks) {
@dend
dend / halobuff.ps1
Created July 26, 2022 06:49
Script to enable all Halo Infinite content (maps and game modes) for your account
# Script by Den Delimarsky - Written in July 2022
# Enables all modes and maps that are available in a given build manifest.
# For details, refer to https://den.dev/blog/halo-infinite-enable-all-content
param (
# Spartan V4 token, used for authentication against the Halo Infinite API.
[Parameter(Mandatory=$true)]
[string]$SpartanV4Token,
# Build ID accessible to the user which is authenticating.
@dend
dend / cross-reference-full.gql
Last active August 25, 2024 17:19
Find cross-referenced issues
{
repository(owner: "microsoft", name: "powertoys") {
issues(first: 100, states: OPEN) {
totalCount
pageInfo {
startCursor
hasNextPage
endCursor
}
edges {
@dend
dend / toast.ps1
Last active July 6, 2026 01:22
Toast Notification in PowerShell
function Show-Notification {
[cmdletbinding()]
Param (
[string]
$ToastTitle,
[string]
[parameter(ValueFromPipeline)]
$ToastText
)