This file contains hidden or 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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Maven Build", | |
"type": "shell", | |
"command": "mvn", | |
"args": [ | |
"clean", | |
"install" |
This file contains hidden or 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
# This script changes registry so that default "Spatial Sound" setting is Dolby Atmos | |
# This works around Windows randomly reverting "Spatial Sound" to "Windows Sonic" or "Off" | |
# Download the file and double-click it to launch | |
$settingsKey="@{windows?ms-resource://Windows.UI.SettingsAppThreshold/SearchResources/SystemSettings_Audio_Output_Modern_Properties-3/HighKeywords}" | |
$settingsPathL0 = "HKEY_CLASSES_ROOT\Local Settings\MrtCache\C:%5CWINDOWS%5CSystemResources%5CWindows.UI.SettingsAppThreshold%5CWindows.UI.SettingsAppThreshold.pri" | |
$settingsPathL1 = Get-ChildItem -Path Registry::$settingsPathL0 | |
$settingsPathL2 = Get-ChildItem -Path Registry::$settingsPathL1 | |
Set-ItemProperty -Path Registry::$settingsPathL2 -Name $settingsKey -Value "spatial audio;spatial format;Dolby Atmos" |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Data.Common; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Xunit; | |
namespace Dapper.Tests | |
{ |
This file contains hidden or 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
[package] | |
name = "arma-extension" | |
version = "0.1.0" | |
authors = ["DarkWanderer <elquentaro@gmail.com>"] | |
edition = "2018" | |
[lib] | |
crate-type = ["cdylib"] | |
bench = false |
This file contains hidden or 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
#include <dinput.h> | |
#include <assert.h> | |
#include <exception> | |
#include <iostream> | |
#include <string> | |
#include <chrono> | |
#include <list> | |
#pragma region Usings | |
using std::cout; |