Skip to content

Instantly share code, notes, and snippets.

View d-komarov's full-sized avatar
🏠
Working from home

Dmitry Komarov d-komarov

🏠
Working from home
View GitHub Profile
@d-komarov
d-komarov / registry-diff.ps1
Created October 31, 2017 08:15 — forked from aadityabhatia/registry-diff.ps1
PowerShell script to create and compare snapshots of Windows Registry sections
[CmdletBinding()]
Param(
[Parameter(Position=1, Mandatory=$True)]
[string]$dataFile1,
[Parameter(Position=2, Mandatory=$True)]
[string]$dataFile2
)
$dataObj1 = cat -raw "$dataFile1.json" | ConvertFrom-Json
$dataObj2 = cat -raw "$dataFile2.json" | ConvertFrom-Json
@d-komarov
d-komarov / main.cpp
Created September 3, 2017 20:45
QString benchmark
#include <benchmark/benchmark.h>
#include <QtCore/QString>
#pragma comment(lib, "benchmark.lib")
#pragma comment(lib, "Qt5Core.lib")
#pragma comment(lib, "Shlwapi.lib")
namespace literals {
inline namespace qstring_literals