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
Set-StrictMode -Off # DSC doesn't seem to like strict mode... | |
#[DscLocalConfigurationManager()] # CertificateID is broken in the new LCM config type, will try again w/ next PS5 CTP | |
Configuration DomainLCM { | |
Node $AllNodes.NodeName { | |
LocalConfigurationManager { | |
CertificateID = $Node.Thumbprint | |
RebootNodeIfNeeded = $true | |
} | |
} | |
} |
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 <iostream> | |
#include <complex> | |
#include <GL/glut.h> | |
#include <GL/freeglut_ext.h> | |
#include <mpi.h> | |
using std::complex; | |
using std::pair; | |
using std::cout; | |
using std::endl; |
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
function __UpdateCompletionCache { | |
$COM = Get-CimInstance -ClassName Win32_ClassicCOMClassSetting -Filter 'VersionIndependentProgId IS NOT NULL' | | |
foreach { | |
$progid = $_.VersionIndependentProgId | |
if($_.Caption) { | |
$caption = $_.Caption | |
} else { | |
$caption = $progid | |
} | |
if($_.Description) { |
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.Collections.ObjectModel; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using Microsoft.Win32.SafeHandles; | |
using static JCotton.ManagedDismapi.Interop.NativeMethods; | |
[module: DefaultCharSet(CharSet.Unicode)] |
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
$inputXML2 = @" | |
<Window x:Class="EnrollmentMenu.MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:local="clr-namespace:EnrollmentMenu" | |
mc:Ignorable="d" | |
Title="Completed Changes" Height="350" Width="800"> | |
<Window.Resources> |
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
:*:cooperat::coöperat | |
::(c)::© | |
::(r)::® | |
::(tm)::™ | |
::ackward::awkward |
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
var tc = new TcpClient(); | |
tc.Connect("irc.freenode.net", 6697); | |
var ssl = new SslStream(tc.GetStream()); | |
ssl.AuthenticateAsClient("irc.freenode.net"); | |
var reader = new StreamReader(ssl, Encoding.UTF8); | |
var writer = new StreamWriter(ssl, Encoding.UTF8); | |
writer.WriteLine("CAP LS 302"); | |
var sockets = new[] { tc.Client }; | |
while (true) { |
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
void Main() { | |
var a = new[]{1,2,3}; | |
ref int q = ref a[0]; | |
A(ref q); | |
a.Dump(); | |
} | |
// Define other methods and classes here | |
void A(ref int x) { | |
x = 2; |
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.Immutable; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
namespace ReactiveIRC { | |
public struct IRCMessage { | |
private const int MaxParams = 15; |
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
<Page | |
x:Class="UWPTest.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="using:UWPTest" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d"> | |
<StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Orientation="Vertical"> |
OlderNewer