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
__Event | |
__ExtrinsicEvent | |
Win32_DeviceChangeEvent | |
Win32_SystemConfigurationChangeEvent | |
Win32_VolumeChangeEvent | |
MSFT_WMI_GenericNonCOMEvent | |
MSFT_NCProvEvent | |
MSFT_NCProvCancelQuery | |
MSFT_NCProvClientConnected | |
MSFT_NCProvNewQuery |
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
||consent.google.* | |
||consent.youtube.* | |
||www.gstatic.*/youtube/img/promos/growth/dmod_si_horizontal_ver1_240x400.png^ | |
||policies.google.* | |
google.*##div#cnsw:remove() | |
google.*##div#swml:remove() | |
google.*##div#reviewDialog:remove() | |
google.*##div#lb:remove() |
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
<?php | |
namespace MichelPi\Utils; | |
use DateTime; | |
class DateTimeFormat | |
{ | |
private static $_jsonFormatString = 'Y-m-d\\TH:i:s.v\\Z'; | |
private static $_mysqlFormatString = 'Y-m-d H:i:s'; |
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
using System; | |
using System.Collections.Generic; | |
using System.Threading; | |
using System.Runtime.InteropServices; | |
namespace System | |
{ | |
public static class EnvironmentEx | |
{ | |
[DllImport("kernel32.dll", CharSet = CharSet.Ansi, SetLastError = true)] |
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
using System; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
using System.Threading; | |
namespace Testing | |
{ | |
internal static class StopwatchExtensions | |
{ | |
public static long GetElapsedNanoseconds(this Stopwatch watch) |
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
function DiscordWidgetData() { | |
this.load = async function (guildId) { | |
return new Promise(function (resolve, reject) { | |
fetch("https://discordapp.com/api/v6/guilds/" + guildId + "/widget.json", { | |
method: "GET", | |
mode: "cors", | |
cache: "reload", | |
redirect: "follow" | |
}).then(response => { | |
if (!response.ok) { |
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
using System; | |
using System.Text; | |
using System.Security.Cryptography; | |
using System.Runtime.InteropServices; | |
namespace System.Security.Cryptography.Provider | |
{ | |
/// <summary> | |
/// Provides static methods to use hash algorithms in a generic way. | |
/// </summary> |
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
using System; | |
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
using System.Windows.Controls; | |
using System.Windows.Input; | |
using System.Windows.Media; | |
using System.Windows.Media.Media3D; | |
namespace System.Windows.Extensions | |
{ |
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
using System; | |
namespace Microsoft.Win32 | |
{ | |
/// <summary> | |
/// Provides static helper methods to work with NTSTATUS values. | |
/// </summary> | |
public static class NTStatusHelper | |
{ | |
/// <summary> |
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
// use System.ComponentModel.Win32Exception instead | |
using System; | |
namespace Microsoft.Win32 | |
{ | |
/// <summary> | |
/// Contains all system error codes. | |
/// </summary> | |
public enum SystemError : uint |