slmgr /ipk your_license_key
Replace your_license_key
with following volumn license keys according to Windows Edition:
#!/usr/bin/python3 | |
import cmd, re, sys, traceback | |
from dataclasses import dataclass | |
from typing import List | |
import requests | |
from bs4 import BeautifulSoup | |
# This is part of Suhail's talk on the Developer Enablement | |
# track at QCon London 2022 |
async function trackVisit (request, visitorId) { | |
let data = { | |
token_auth: 'secret', | |
country: request.headers.get('CF-IPCountry'), | |
urlref: request.referrer || request.headers.get('Referer'), | |
idsite: 1, | |
lang: request.headers.get('Accept-Language'), | |
apiv: 1, | |
rand: Math.random().toString(16).slice(2), | |
url: request.url, |
This gist is an example of how you can simply install and run and extended Postgres using docker-compose
. It assumes that you have docker
and docker-compose
installed and running on your workstation.
docker
and docker-compose
git clone https://gist.github.com/b0b7e06943bd389560184d948bdc2d5b.git
load-extensions.sh
executabledocker-compose build
Kong, Traefik, Caddy, Linkerd, Fabio, Vulcand, and Netflix Zuul seem to be the most common in microservice proxy/gateway solutions. Kubernetes Ingress is often a simple Ngnix, which is difficult to separate the popularity from other things.
This is just a picture of this link from March 2, 2019
Originally, I had included some other solution
import React, {DeviceEventEmitter} from 'react-native'; | |
import {Observable} from 'rx-lite' | |
/** | |
* Creates an Observable to listen to any event of DeviceEventEmitter | |
* @param type {string} Event type | |
*/ | |
export default createObservableFromDeviceEventEmitter$ = type => { | |
let subscription; | |
return Observable.fromEventPattern( |
#!/usr/bin/env ruby | |
require 'net/http' | |
require 'uri' | |
require 'json' | |
require 'pp' | |
consul_url = 'http://localhost:8500/v1/catalog' | |
output = {} | |
s_json = JSON.parse(Net::HTTP.get_response(URI.parse("#{consul_url}/services")).body) |
Let's use Terraform to easily get a CoreOS cluster up on Digital Ocean. In this example we will get a 5 node CoreOS cluster up and running on the Digital Ocean 8GB size.
Grab a copy of Terraform for your platform from http://www.terraform.io/downloads.html. Follow the instructions at http://www.terraform.io/intro/getting-started/install.html by getting Terraform in your PATH
and testing that it works.
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |