Based on this blogpost.
Install with Homebrew:
$ brew install postgresql
Run server:
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
/* | |
* MCrypt API available online: | |
* http://linux.die.net/man/3/mcrypt | |
*/ | |
#include <mcrypt.h> |
[Primary Badges-BackEnd] | |
https://img.shields.io/badge/version-0.1.0-yellowgreen.svg | |
https://img.shields.io/badge/content-API-green.svg | |
https://img.shields.io/badge/section-backend-lightgrey.svg | |
[Primary Badges-FrontEnd] | |
https://img.shields.io/badge/version-1.0.0-yellowgreen.svg | |
https://img.shields.io/badge/content-web--application-ff69b4.svg | |
https://img.shields.io/badge/section-frontend-lightgrey.svg |
{ | |
"apiVersion": "v1", | |
"kind": "Namespace", | |
"metadata": { | |
"name": "development", | |
"labels": { | |
"name": "development" | |
} | |
} | |
} |
{ | |
"apiVersion": "v1", | |
"kind": "Namespace", | |
"metadata": { | |
"name": "production", | |
"labels": { | |
"name": "production" | |
} | |
} | |
} |
{ | |
"apiVersion": "v1", | |
"kind": "Namespace", | |
"metadata": { | |
"name": "ns-staging", | |
"labels": { | |
"name": "staging" | |
} | |
} | |
} |
package main | |
import ( | |
"fmt" | |
"strings" | |
"reflect" | |
"time" | |
) | |
func main() { |
apiVersion: monitoring.coreos.com/v1 | |
kind: PrometheusRule | |
metadata: | |
labels: | |
prometheus: k8s | |
role: alert-rules | |
name: prometheus-k8s-rules | |
namespace: monitoring | |
spec: | |
groups: |
Based on this blogpost.
Install with Homebrew:
$ brew install postgresql
Run server:
// Conversion of interface{} or map[string]interface{} types to protobuf struct ("google/protobuf/struct.proto"). | |
package codec | |
import ( | |
"encoding/json" | |
structpb "github.com/golang/protobuf/ptypes/struct" | |
"google.golang.org/protobuf/encoding/protojson" | |
) |
#!/bin/bash | |
docker stop shadowbox watchtower && docker rm shadowbox watchtower && sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh)" |