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 specify_Basic_steps() | |
{ | |
foreach (ICommunicatorService communicator in communicators) | |
{ | |
context["Communicator " + communicator.FriendlyName] = () => | |
{ | |
it["Create, update and delete"] = () => | |
{ | |
string[] connectParams = getConnectParams(communicator); | |
communicator.Connect(connectParams[0], connectParams[1], connectParams[2]); |
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
== Starting Orleans local silo in C:\Microsoft Project Orleans SDK v1.0\SDK\.\LocalSilo | |
C:\Microsoft Project Orleans SDK v1.0\SDK | |
OrleansHost v1.0.0.0 IsDebug. | |
[2015-03-22 09:43:02.179 GMT 1 INFO 100403 OrleansSiloHost ] Initializing Silo Primary on host=NTB05 CPU count=4 running .NET version='4.0.30319.34209' Is .NET 4.5=True OS version='Microsoft Windows NT 6.2.9200.0' | |
[2015-03-22 09:43:02.179 GMT 1 INFO 100404 OrleansSiloHost ] Silo running with GC settings: ServerGC=True GCLatencyMode=Batch | |
[2015-03-22 09:43:02.492 GMT 1 INFO 100403 Silo 127.0.0.1:11111] -------------- Initializing Primary silo on ntb05 at 127.0.0.1:11111, gen 164713382 -------------- | |
[2015-03-22 09:43:02.507 GMT 1 INFO 100415 Silo 127.0.0.1:11111] Starting silo Primary with runtime Version='1.0.0.0 IsDebug.' Config= | |
Config File Name: C:\Microsoft Project Orleans SDK v1.0\SDK\LocalSilo\OrleansConfiguration.xml | |
Host: ntb05 | |
Start time: 2015-03-22 09:43:02.492 GMT |
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
open FSharp.Data | |
(* | |
CREATE TABLE [dbo].[ExchangeEmailMessages]( | |
[Id] [int] IDENTITY(1,1) NOT NULL, | |
[InternalId] [uniqueidentifier] NOT NULL DEFAULT (newid()), | |
[ExternalId] [nvarchar](2048) NULL, | |
[LastModifiedTime] [datetime] NOT NULL, | |
[MailSubject] [nvarchar](max) 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
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"> | |
<file value="C:\SyncToday2015\Logs\synctoday.txt" /> | |
<maximumFileSize value="50MB" /> | |
<maxSizeRollBackups value="10" /> | |
<rollingStyle value="Composite" /> | |
<appendToFile value="true" /> | |
<staticLogFileName value="true" /> | |
<layout type="log4net.Layout.PatternLayout"> | |
<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" /> | |
</layout> |
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
choco upgrade chocolatey | |
Choco uninstall synctoday | |
(Choose "All versions" (the last one) ) | |
Check: | |
choco list --local-only | |
Cd %programdata% | |
for /d /r %i in (*synctoday*) do @rmdir /s %i |
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
open Microsoft.SharePoint.Client | |
open System.Net | |
open Microsoft.FSharp.Quotations | |
open Microsoft.FSharp.Linq.RuntimeHelpers | |
open System.Linq.Expressions | |
open System.Security | |
// Learn more about F# at http://fsharp.net | |
// See the 'F# Tutorial' project for more help. |
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
begin tran | |
insert into consumers ([Name]) | |
select Email from SyncToday.dbo.NuRelations where TypeDescriptor = 1 | |
select * from Consumers | |
INSERT INTO [ConsumerAdapters] ([AdapterId] ,[ConsumerId] ,[DateJSON]) | |
SELECT (SELECT Id FROM Adapters where Name = 'EXCHANGE'), Id, '' from Consumers |
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
SELECT TOP 1000 [Id] | |
,[LoginJSON] | |
,[ServiceId] | |
,[AccountId] | |
,[LastSuccessfulDownload] | |
,[LastDownloadAttempt] | |
,[LastSuccessfulUpload] | |
,[LastUploadAttempt] | |
FROM [dbo].[ServiceAccounts] |
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
How I run it: | |
@powershell -NoProfile -ExecutionPolicy Bypass .\Install-IadwTrendAnalyst.ps1 | |
What I get: | |
TermGroup -Id $TermSetGroupId ` | |
-Name $TermSetGroupName ` |
OlderNewer