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
Task InstallEventStore { | |
echo "Installing EventStore service from $($eventStoreBin)" | |
$srvAnyPath = [System.IO.Path]::Combine($(Get-Location), '..\tools\srvany.exe') | |
New-Service -Name EventStore -BinaryPathName $srvAnyPath -DisplayName EventStore -StartupType Manual | Out-Null | |
New-Item HKLM:\SYSTEM\CurrentControlSet\services\EventStore\Parameters -ItemType Key | Out-Null |
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
void fc_transmit_and_wait(unsigned char buffer[TX_PLOAD_WIDTH]) | |
{ | |
fc_transmit(buffer); | |
while(1) | |
{ | |
unsigned char status = 0; | |
NRFRead(STATUS, &status, 1); |
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; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace PatternMatch | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
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.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApplication1 | |
{ | |
class Class1 | |
{ |
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.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Microsoft.CodeAnalysis; | |
using Microsoft.CodeAnalysis.CSharp; | |
using Microsoft.CodeAnalysis.CSharp.Syntax; | |
using Microsoft.CodeAnalysis.CodeRefactorings; | |
using Microsoft.CodeAnalysis.Formatting; | |
namespace RefactoringEssentials.CSharp.CodeRefactorings |
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
[Theory] | |
[InlineData(typeof(string))] | |
[InlineData(typeof(byte))] | |
[InlineData(typeof(sbyte))] | |
[InlineData(typeof(short))] | |
[InlineData(typeof(ushort))] | |
[InlineData(typeof(int))] | |
[InlineData(typeof(uint))] | |
[InlineData(typeof(long))] | |
[InlineData(typeof(ulong))] |
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
<system.diagnostics> | |
<sources> | |
<source propagateActivity="true" name="System.ServiceModel" switchValue="Information,ActivityTracing"> | |
<listeners> | |
<add type="System.Diagnostics.DefaultTraceListener" name="Default"> | |
<filter type="" /> | |
</add> | |
<add name="ServiceModelTraceListener"> | |
<filter type="" /> | |
</add> |
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
delete from dbo.Appraisers | |
insert into dbo.Appraisers values(N'6D5BD3DA-D32D-4177-AFF2-0C5C96D84C81', N'9e4d3c0e-a5c7-4bc9-b8ce-c4027a476129', GETDATE()) | |
insert into dbo.Appraisers values(N'6A4D5575-8F2B-4425-9342-04493FB327C8', N'f4ef15d9-337b-4ff2-9e23-4ae202059d8d', GETDATE()) | |
insert into dbo.AppraiseeAssigments values(N'6D5BD3DA-D32D-4177-AFF2-0C5C96D84C81', N'd427963d-1e02-4208-925f-590b8d030929') | |
insert into dbo.AppraiseeAssigments values(N'6D5BD3DA-D32D-4177-AFF2-0C5C96D84C81', N'35e4a2d0-e57b-4691-8bdb-25d8baadfd09') | |
insert into dbo.AppraiseeAssigments values(N'6A4D5575-8F2B-4425-9342-04493FB327C8', N'40173880-ebe3-4397-8032-085272138216') |
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
$TOOLS = "D:\Tools" | |
$WIM_FILE = "C:\ISOs\install_win2008_r2_std_core.wim" | |
$IMG_INDEX = 1 | |
$VHD_FILE = "C:\VHD - DA\win2008r2_offline.vhd" | |
$VHD_SIZE = 20480 | |
$LETTER = "Z" | |
$MOUNT = "$($LETTER):" | |
$ANSWER_FILE = "c:\ISOs\win2008_r2_offline.xml" | |
$FEATURES = "NetFx2-ServerCore", | |
"IIS-WebServerRole", |
OlderNewer