Skip to content

Instantly share code, notes, and snippets.


Marcin Otorowski marcinotorowski

View GitHub Profile
marcinotorowski / TimeStampServer.json
Last active Dec 13, 2021
The list of some known time stamp servers, to be used by MSIX Hero
View TimeStampServer.json
"obsolete": [
"name": "Sectigo",
"url": ""
"name": "FreeTSA",
"url": ""
View CalculatePublisherIdHash.cs
using System;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace Otor
public class MsixUtils
public static string GetPublisherHash(string publisherId)
marcinotorowski / TriggerDataHubTask.ps1
Last active Sep 10, 2021
A PowerShell script which shows how to trigger Data Hub tasks
View TriggerDataHubTask.ps1
$baseUrl = "<dataHubUrl>"; # for example http://localhost:81
$taskGuid = "<taskGuid>"; # for example 6ca5c4e2-5095-4422-3b5e-08d96c734da2 - the ID of the task to start (can be copied from respective URL)
$username = "<username>"; # for example MyUser
$password = "<password>"; # for example Pa$$word
function TriggerTask
marcinotorowski / Get-ActualError.ps1
Created Jan 24, 2020
A simple PowerShell class which converts HRESULT into a human-friendly error
View Get-ActualError.ps1
class ActualError {