I hereby claim:
- I am stefanprodan on github.
- I am stefanprodan (https://keybase.io/stefanprodan) on keybase.
- I have a public key ASBAfWbNJNEZd2c_Ysg8rLfwbLtPMHEgDj67cWvUIshY-Ao
To claim this, I am signing this object:
apiVersion: alerting.cloud.weave.works/v1 | |
kind: PrometheusRule | |
metadata: | |
name: node-rules | |
spec: | |
groups: | |
- name: node-alerts | |
rules: | |
- alert: NodeDown | |
expr: up{job="kubernetes-nodes"} == 0 |
kind: ConfigMap | |
apiVersion: v1 | |
metadata: | |
name: caddy-config | |
namespace: openfaas | |
labels: | |
app: caddy | |
data: | |
Caddyfile: | | |
sub.mydomain.com { |
I hereby claim:
To claim this, I am signing this object:
#! /usr/bin/env ruby | |
# | |
# check-netstat | |
# | |
# DESCRIPTION: | |
# Takes an IP and checks for established connections | |
# | |
# OUTPUT: | |
# plain text | |
# |
package main | |
import ( | |
"crypto/x509" | |
"encoding/pem" | |
"errors" | |
"fmt" | |
"golang.org/x/crypto/ssh" | |
"io/ioutil" | |
"net" |
#!/usr/bin/env python | |
# | |
# Copyright (c) 2016, PagerDuty, Inc. <[email protected]> | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# * Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. | |
# * Redistributions in binary form must reproduce the above copyright |
set -e | |
sudo true | |
sudo apt-get update | |
sudo apt-get install apt-transport-https ca-certificates | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sudo sh -c 'echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" > /etc/apt/sources.list.d/docker.list' | |
sudo apt-get update | |
sudo apt-get purge lxc-docker | |
sudo apt-cache policy docker-engine |
#!/bin/bash | |
set -e | |
GVERSION="1.7" | |
GFILE="go$GVERSION.linux-amd64.tar.gz" | |
GOPATH="$HOME/go" | |
GOROOT="/usr/local/go" | |
if [ -d $GOROOT ]; then | |
echo "Installation directories already exist $GOROOT" |
# NUC workstation setup | |
# VeriTech Solution @ 2015 | |
# https://veritech.io/ | |
# START http://boxstarter.org/package/nr/url?http://bit.ly/1IMTQcD | |
# enable reboot | |
$Boxstarter.RebootOk=$true | |
$Boxstarter.NoPassword=$false | |
$Boxstarter.AutoLogin=$true |