Skip to content

Instantly share code, notes, and snippets.

View martinothamar's full-sized avatar

Martin Othamar martinothamar

View GitHub Profile
@phobos182
phobos182 / haproxy.conf
Created July 17, 2012 23:19
LogStash Configuration for HAProxy
input {
syslog {
type => "haproxy-access"
port => 514
}
}
filter {
grok {
type => "haproxy-access"
@sethwebster
sethwebster / GoDaddySSLHAProxy.md
Created December 29, 2015 21:29
Creating a PEM for HaProxy from GoDaddy SSL Certificate

GoDaddy SSL Certificates PEM Creation for HaProxy (Ubuntu 14.04)

1 Acquire your SSL Certificate

Generate your CSR This generates a unique private key, skip this if you already have one.

sudo openssl genrsa -out  etc/ssl/yourdomain.com/yourdomain.com.key 1024

Next generate your CSR (Certificate Signing Request), required by GoDaddy:

using Apex.LoggingUtils;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Logging;
using Nito.AsyncEx;
using Orleans;
using Orleans.Runtime;
using Orleans.Streams;
using System;
using System.Collections.Generic;
@TheIronBorn
TheIronBorn / simd_pi_sim.rs
Last active May 31, 2022 21:19
Benchmarking Monte Carlo estimation of pi, using my SIMD branch of the rand crate https://github.com/TheIronBorn/rand/tree/simd
#![feature(test)]
#![feature(stdsimd)]
extern crate rand;
extern crate test;
use std::simd::*;
use std::mem;
use test::black_box;
@timothywarner
timothywarner / azure-architect-cert-notes.md
Last active May 26, 2022 07:22
Microsoft Azure Architect certification guide...enjoy! :) -Tim