Skip to content

Instantly share code, notes, and snippets.

View TitleOS's full-sized avatar

TitleOS TitleOS

View GitHub Profile
@TitleOS
TitleOS / aircraft_count.yaml
Created May 19, 2024 18:16
Feed Tar1090 to Home Assistant, creating a sensor that lists the current number of aircraft within range.
rest:
- resource: "http://ADS-B_IPAddress/tar1090/data/aircraft.json"
scan_interval: 5
sensor:
- name: Aircraft Count
unique_id: Generate_A_GUID
force_update: true
value_template: "{{ value_json.aircraft | length }}"
@TitleOS
TitleOS / removesystemostelemetry.bat
Created February 20, 2022 22:44
Removes the four primary telemetry services on Xbox SystemOS. Requires Admin or above.
:: Stops then deletes the four primary telemetry services on Xbox SystemOS. Requires Admin or above.
sc stop etwuploaderservice
sc stop DiagTrack
sc stop XBBlackbox
sc stop xbdiagservice
sc delete etwuploaderservice
sc delete DiagTrack
sc delete XBBlackbox
sc delete xbdiagservice
@TitleOS
TitleOS / CorrelationVector.cs
Created August 18, 2021 21:46
C# port of the Java CorrelationVector logic from the Microsoft android telemetry client. The generated value(s) should be used as a header for nearly all MS and Xbox HTTP calls.
using System;
using System.Collections.Generic;
using System.Text;
//Ported from https://github.com/Microsoft/Telemetry-Client-for-Android/blob/master/AndroidCll/src/main/java/com/microsoft/cll/android/CorrelationVector.java
/*
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@TitleOS
TitleOS / scarletthost.xvd file listing
Created September 30, 2020 05:22
File listings of scarletthost.xvd (19041.5204) obtained from the plaintext scarletthost.xvdp (Delta Patch)
appmodel.dll
audio
Avrt.dll
bcrypt.dll
bcryptprimitives.dll
BDP.bin
BDP1.bin
BDP3.bin
BFE.DLL
boot