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
#!/bin/sh | |
sleep 60 | |
docker rm seq | |
docker run -d --name='seq' -e ACCEPT_EULA=Y -v /usr/bin/seqservice/data:/data -p 80:80 -p 5341:5341 datalust/seq:latest | |
#docker rm sonarqube | |
#docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube | |
docker rm syslog-ng |
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
curl -LO https://redirector.gvt1.com/edgedl/go/go1.9.2.linux-amd64.tar.gz | |
# sudo tar -C /usr/local -xzf go1.9.2.linux-amd64.tar.gz | |
tar -C /usr/local -xzf go1.9.2.linux-amd64.tar.gz | |
export PATH=$PATH:/usr/local/go/bin | |
curl -LO https://github.com/containous/traefik/releases/download/v1.4.4/traefik_linux-386 | |
mv traefik_linux-386 traefik | |
chmod +x traefik | |
cat <<EOF > ./traefik.toml | |
defaultEntryPoints = ["http"] | |
[entryPoints] |
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
#!/bin/bash | |
yum install -y yum-utils device-mapper-persistent-data lvm2 | |
yum install -y libtool-ltdl libseccomp libcgroup policycoreutils-python | |
mkdir docker | |
cd docker/ | |
wget https://yum.dockerproject.org/repo/main/centos/7/Packages/docker-engine-1.12.6-1.el7.centos.x86_64.rpm | |
wget https://yum.dockerproject.org/repo/main/centos/7/Packages/docker-engine-selinux-1.12.6-1.el7.centos.noarch.rpm | |
rpm -ivh docker-engine-1.12.6-1.el7.centos.x86_64.rpm docker-engine-selinux-1.12.6-1.el7.centos.noarch.rpm | |
systemctl start docker | |
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.7.5/bin/linux/amd64/kubectl |
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
async void Main() | |
{ | |
string webHookUrl = "WebHookUrl"; | |
HttpClient client = new HttpClient(); | |
client.BaseAddress = new Uri(webHookUrl); | |
client.DefaultRequestHeaders.Accept.Clear(); | |
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); | |
TeamsPotentialAction action = new TeamsPotentialAction() { Name = "Open Bing to search", Target = new string[] { "https://www.bing.com"}}; |
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
void Main() | |
{ | |
var MockPlugIns = new Collection<Mock<PlugIn>>() | |
{ | |
new Mock<PlugIn>(), | |
new Mock<PlugIn>(), | |
new Mock<PlugIn>() | |
}; | |
var plugIns = new Collection<PlugIn>(); |
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
mono ./Tools/FAKE/tools/FAKE.exe build.fsx $1 |
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.Collections.Generic; | |
using System.Linq; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using Serilog.Events; | |
using Serilog.Parsing; |