Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
#cloud-config | |
hostname: "coreos.local.1" | |
ssh_authorized_keys: | |
- ... | |
coreos: | |
etcd2: | |
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3 | |
# specify the initial size of your cluster with ?size=X | |
# discovery: https://discovery.etcd.io/64cdc949e85e49cbabe1f019b6c95408 | |
# multi-region and multi-cloud deployments need to use $public_ipv4 |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Kylin:Storage-HBase 1.5.2.1 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ kylin-storage-hbase --- | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ kylin-storage-hbase --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory /kylin/storage-hbase/src/main/resources | |
[INFO] Copying 3 resources |
#!/usr/bin/env python | |
""" | |
Very simple HTTP server in python. | |
Usage:: | |
./dummy-web-server.py [<port>] | |
Send a GET request:: | |
curl http://localhost |
{ | |
"name": "tf-js", | |
"version": "1.0.0", | |
"main": "script.js", | |
"license": "MIT", | |
"dependencies": { | |
"@tensorflow-models/mobilenet": "^0.2.2", | |
"@tensorflow/tfjs": "^0.12.3", | |
"@tensorflow/tfjs-node": "^0.1.9", | |
"jpeg-js": "^0.3.4" |
package models | |
import ( | |
_ "github.com/jinzhu/gorm/dialects/postgres" | |
"github.com/jinzhu/gorm" | |
"os" | |
"github.com/joho/godotenv" | |
"fmt" | |
) |
This gist will guide you through the setup of a wildcard Let's encrypt TLS certificate.
Let’s encrypt is one of a new kind of Certificate Authority. You can get a TLS certificate from them for your website free of charge and without any manual overhead. These certificates are trusted in most browsers that are out there and will show up as valid. Instead of sending Mails or even paper around you can call an API and prove your domain ownership with simple challenges. Basically you call the API with a hostname or domain name you need a TLS certificate for and you get back a challenge string that you need to put in a well known location on your http host or as a txt record in your dns system.
You can find many clients that manage the proces
#!/bin/bash | |
# Small utility function based on yq to extract openAPIV3Schema from CRD | |
# example: crd2jsonschema.sh ./crd-alertmanager.yaml | |
set -e | |
function crd2jsonschema() { | |
set -e | |
local xkgroup="x-kubernetes-group-version-kind" | |
local document="$1" | |
local openAPIV3Schema=$(mktemp -u) |
#!/bin/bash | |
conftest test -d ./lib/parameters.yaml -p ./lib/helpers.rego -p ./policies /k8s/resources |
package lib.annotations | |
# Annotations helper library used to extract policy metadata information from annotation fields | |
# Usage: | |
# | |
# import data.lib.annotations | |
# annotations = annotations.policy_annotations() | |
# | |
import data.lib.core | |
import data.lib.pods |