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
-- Discussion on similar approach : https://stackoverflow.com/questions/2450695/sql-server-concurrency-and-generated-sequence | |
-- DROP TABLE [SequenceNumbers] | |
IF OBJECT_ID('SequenceNumbers', 'U') IS NULL BEGIN | |
CREATE TABLE [SequenceNumbers] | |
( | |
[Name] SYSNAME PRIMARY KEY, | |
[Start] BIGINT NOT NULL DEFAULT 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
<#@ assembly name="System.Core" | |
#><#@ assembly name="System.Data.Linq" | |
#><#@ assembly name="EnvDTE" | |
#><#@ assembly name="System.Xml" | |
#><#@ assembly name="System.Xml.Linq" | |
#><#@ import namespace="System.Collections.Generic" | |
#><#@ import namespace="System.IO" | |
#><#@ import namespace="System.Text" | |
#><#@ import namespace="Microsoft.VisualStudio.TextTemplating" | |
#><#+ |
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
curl -X POST -d @darkmode.json -H "kbn-xsrf: 123" -H "Content-Type: application/json" localhost:5601/api/kibana/settings/theme:darkMode | |
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
version: '2.2' | |
# Docker compose fiel for ElasticSearch 7.9.3 with Kibana 7.9.3 | |
# Based on: https://www.elastic.co/guide/en/elastic-stack-get-started/current/get-started-docker.html | |
services: | |
elasticsearch793: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.3 | |
container_name: elasticsearch793 |
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 DNX.ExtendedMemoryConfiguration | |
{ | |
public class ExtendedMemoryConfigurationSource : IConfigurationSource | |
{ | |
/// <summary> | |
/// The initial key value configuration pairs. | |
/// </summary> | |
public IDictionary<string, string> Data { get; set; } | |
/// <summary> |
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
-- DROP TABLE [SequenceNumbers] | |
IF OBJECT_ID('SequenceNumbers', 'U') IS NULL BEGIN | |
CREATE TABLE [SequenceNumbers] | |
( | |
[Name] SYSNAME PRIMARY KEY, | |
[Start] INT NOT NULL DEFAULT 0, | |
[Increment] INT NOT NULL DEFAULT 1, | |
[Current] INT NOT 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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Text.RegularExpressions; | |
using System.Xml; | |
using System.Xml.Linq; | |
namespace Formix.Utils | |
{ | |
class Program |