The purpose of the configuration service is to provide an easy, centralized, and isolated way to access and modify common platform configuration.
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.Data; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using Persistate.Repositories; | |
using Stateless; | |
using Susanoo; | |
namespace Persistate.Susanoo | |
{ | |
public class PersistateRepository |
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
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: consul | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: $local_fs $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: S 0 1 6 | |
# Short-Description: Consul service discovery framework | |
# Description: Healthchecks local services and registers | |
# them in a central consul database. |
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
get-childitem . -include *.sln -recurse | foreach ($_) { nuget restore $_.FullName -verbosity detailed} | |
get-childitem . -include *.png -recurse | foreach ($_) { pngout "$_"} |
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
namespace Nancy.Owin | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Runtime.CompilerServices; | |
using System.Security.Claims; |
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
wget -O - oduso.com/36s9.sh | bash |
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
/// <summary> | |
/// Builds the where filter implementation. | |
/// </summary> | |
/// <param name="info">The information.</param> | |
/// <returns>ICommandSingleResultExpression<TFilter, TResult>.</returns> | |
public IExecutableCommandInfo BuildWhereFilterTransform(IExecutableCommandInfo info) | |
{ | |
var mappings = info.Parameters | |
.Join(_processor.CommandResultInfo.RetrieveResultSetMappings(typeof(TResult)).Export(), parameter => | |
parameter.SourceColumn, pair => pair.Key, |
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 Susanoo.Command; | |
using Susanoo.Processing; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace Susanoo.Transforms | |
{ | |
internal sealed class WhereFilterTransformFactory<TFilter> | |
{ |
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
var endPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 5467); | |
var parser = new StompParser(); | |
using(var reStompService = new StompService(endPoint, parser)) | |
{ | |
reStompService.Start((middlewareStack) => | |
{ | |
middlewareStack.Push(new TerminationMiddleware().Invoke); | |
middlewareStack.Push(new ProtocolVersionMiddleware().Invoke); | |
middlewareStack.Push(new SessionMiddleware().Invoke); |
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
import Human; | |
public class Message | |
{ | |
private Human you; | |
private Human me; | |
/** OKCupid is not imported because |
OlderNewer