This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright: (c) 2019, Jordan Borean (@jborean93) <jborean93@gmail.com> | |
# MIT License (see LICENSE or https://opensource.org/licenses/MIT) | |
# To use, copy the .psm1 file locally and run | |
# Import-Module -Name Get-SnapshotPath.psm1 | |
# Get-SnapshotPath -Path "\\server\share" | |
Add-Type -TypeDefinition @' | |
using Microsoft.Win32.SafeHandles; | |
using System; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# This script extracts all font attachments of a Matroska file | |
# Requirements: mkvtoolnix executables | |
import subprocess | |
import re | |
import os.path | |
from collections import namedtuple |