Skip to content

Instantly share code, notes, and snippets.

View ayende's full-sized avatar

Ayende Rahien ayende

View GitHub Profile
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Threading.Tasks;
using Lucene.Net.Analysis.Standard;
using Lucene.Net.Documents;
Raven.Tests.FileSystem.Notifications.NotificationsReceivedWhenFileRenamed 15414
Raven.Tests.FileSystem.Notifications.NotificationReceivedWhenFileUpdated 1019
Raven.Tests.FileSystem.Notifications.NotificationsIsReceivedWhenConfigIsUpdated 684
Raven.Tests.FileSystem.Notifications.NotificationsIsReceivedWhenConfigIsDeleted 783
Raven.Tests.FileSystem.Notifications.NotificationReceivedWhenFileDeleted 908
Raven.Tests.FileSystem.Notifications.NotificationsAreOnlyReceivedForFilesInGivenFolder 2552
Raven.Tests.FileSystem.Notifications.NotificationReceivedWhenFileAdded 906
Raven.Tests.FileSystem.StorageOperationsTests.Should_remove_file_deletion_config_after_storage_cleanup 746
Raven.Tests.FileSystem.StorageOperationsTests.Should_resume_file_renaming_from_client 914
Raven.Tests.FileSystem.StorageOperationsTests.Should_not_delete_downloading_file_if_synchronization_retry_is_being_performed 723
<!doctype html>
<meta charset="utf-8">
<title>HyParView visualization</title>
<link rel="stylesheet" href="http://cpettitt.github.io/project/dagre-d3/latest/demo/demo.css">
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="http://cpettitt.github.io/project/dagre-d3/latest/dagre-d3.js"></script>
<style id="css">
private static User FindUser(DocumentStore docStore, string query)
{
using (var session = docStore.OpenSession())
{
var q = session.Query<User>("Users/Search")
.Search(x=>x.Name, query);
var user = q.FirstOrDefault();
if (user != null)
using System.Linq;
using Orders;
using Raven.Abstractions.Indexing;
using Raven.Client.Indexes;
namespace RavenDB.Course.Nov2015
{
public class Users_Search :
AbstractIndexCreationTask<User, Users_Search.Result>
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BenchmarkDotNet;
namespace ConsoleApplication5
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text.RegularExpressions;
using System.Threading;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Hosting.Internal;
using Microsoft.AspNet.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Configuration.Memory;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using Newtonsoft.Json;
namespace ConsoleApp6
{
public class Program
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflection.Metadata;
using System.Runtime.Loader;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;