$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
This file contains hidden or 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.Linq; | |
using System.Threading.Tasks; | |
using Lamar; | |
using Oakton; | |
using MyApp.Commands; | |
namespace MyApp | |
{ | |
internal class Program |
This file contains hidden or 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.Threading; | |
using System.Threading.Tasks; | |
namespace MyNamespace | |
{ | |
public class Debouncer : IDisposable | |
{ | |
private readonly CancellationTokenSource cts = new CancellationTokenSource(); | |
private readonly TimeSpan waitTime; |
This file contains hidden or 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
sinks_splunk.1.9tyicwhik6cj@linuxkit-00155d3ad12f | [WARNING]: provided hosts list is empty, only localhost is available. Note | |
sinks_splunk.1.9tyicwhik6cj@linuxkit-00155d3ad12f | that the implicit localhost does not match 'all' | |
sinks_splunk.1.9tyicwhik6cj@linuxkit-00155d3ad12f | | |
sinks_splunk.1.9tyicwhik6cj@linuxkit-00155d3ad12f | | |
sinks_splunk.1.9tyicwhik6cj@linuxkit-00155d3ad12f | PLAY [localhost] *************************************************************** | |
sinks_splunk.1.9tyicwhik6cj@linuxkit-00155d3ad12f | | |
sinks_splunk.1.9tyicwhik6cj@linuxkit-00155d3ad12f | TASK [Gathering Facts] ********************************************************* | |
sinks_splunk.1.9tyicwhik6cj@linuxkit-00155d3ad12f | Friday 12 October 2018 09:12:47 +0000 (0:00:00.040) 0:00:00.040 ******** | |
sinks_splunk.1.9tyicwhik6cj@linuxkit-00155d3ad12f | ok: [localhost] | |
sinks_splunk.1.9tyicwhik6cj@linuxkit-00155d3ad12f | |
This file contains hidden or 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
FROM rabbitmq:3.7.5-management-alpine | |
RUN rabbitmq-plugins enable \ | |
rabbitmq_amqp1_0 \ | |
rabbitmq_shovel \ | |
rabbitmq_shovel_management \ | |
rabbitmq_auth_mechanism_ssl \ | |
rabbitmq_mqtt \ | |
rabbitmq_web_mqtt |
This file contains hidden or 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.IO; | |
using System.Net.Http; | |
using System.Security.Cryptography.X509Certificates; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace NssTest | |
{ | |
class Program |
This file contains hidden or 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
{ | |
// Configure the daemon below: | |
"options": { | |
// Select the osquery config plugin. | |
"config_plugin": "filesystem", | |
// Select the osquery logging plugin. | |
"logger_plugin": "filesystem", | |
// The log directory stores info, warning, and errors. |
This file contains hidden or 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
+ | |
Internal network | Azure | |
| | |
| | |
+--------+ | +----------+ | |
| Client +---+ | +---+ Consumer | | |
+--------+ | | | +----------+ | |
| | | | |
| +-----------------+ | +-------------------+ | | |
+-+ RabbitMQ Broker +---------+ Azure Service Bus +--+ |
This file contains hidden or 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
Sending build context to Docker daemon 36.86kB | |
Step 1/6 : FROM postgres:9.6-alpine | |
---> 613fcd71a3c8 | |
Step 2/6 : MAINTAINER Linhe Huo <[email protected]> | |
---> Using cache | |
---> 5ded9a9ddcee | |
Step 3/6 : ENV PLV8_VERSION v2.0.3 | |
---> Using cache | |
---> ff3c92b5174b | |
Step 4/6 : ENV DEPOT_TOOLS /depot_tools |
This file contains hidden or 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
builder.AddOpenIdConnect(options => | |
{ | |
options.Events = new OpenIdConnectEvents | |
{ | |
OnTokenValidated = async ctx => | |
{ | |
var db = ctx.HttpContext.RequestServices.GetRequiredService<DataContext>(); | |
// Get the user's Azure Active Directory ID | |
var userId = Guid.Parse(ctx.Principal.FindFirst(OBJECT_ID_CLAIM_TYPE).Value); |