This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
package main | |
import ( | |
"fmt" | |
"io" | |
"strings" | |
"time" | |
) | |
const ( |
version: '3.8' | |
services: | |
prometheus: | |
image: prom/prometheus:latest | |
container_name: prometheus | |
restart: always | |
ports: |
image: 'rust:latest' | |
stages: | |
- test | |
- doc | |
- build | |
variables: | |
CARGO_HOME: $CI_PROJECT_DIR/cargo | |
APT_CACHE_DIR: $CI_PROJECT_DIR/apt |
{ | |
"version": "0.2.0", | |
"debugServer": 4711, | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "go", | |
"request": "launch", | |
"mode": "debug", | |
"program": "${workspaceRoot}", |
tap "caskformula/caskformula" | |
tap "caskroom/cask" | |
tap "caskroom/versions" | |
tap "homebrew/bundle" | |
tap "homebrew/completions" | |
tap "homebrew/core" | |
tap "homebrew/dupes" | |
tap "homebrew/nginx" | |
tap "homebrew/php" | |
tap "homebrew/services" |
# Linux Example (assumes ~/bin is in PATH). | |
curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.0.5/gvm-linux-amd64 | |
chmod +x ~/bin/gvm | |
eval "$(gvm 1.10)" | |
go version | |
function go_162 { | |
export GOROOT="/Users/fincep005/.gvm/versions/go1.6.2.darwin.amd64" | |
export PATH="$GOROOT/bin:$PATH" | |
} |
This guide uses the domain your-domain.tld
and its www.
prefixed version.
It starts the rocket application on 127.0.0.1:1337
and as the user www-data
. The proxy listens on port 80 and 443 though.
If you need other values, update them accordingly in your nginx and systemd configs.
/** | |
The following can replace the file in the Field Arrays example | |
(https://github.com/erikras/redux-form/tree/master/examples/fieldArrays) to demonstrate this functionality. | |
**/ | |
import React from 'react' | |
import { connect } from 'react-redux' | |
import { Field, FieldArray, reduxForm, formValueSelector } from 'redux-form' | |
import validate from './validate' |
This is ApacheBench, Version 2.3 <$Revision: 1807734 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking localhost (be patient) | |
Completed 100 requests | |
Completed 200 requests | |
Completed 300 requests | |
Completed 400 requests | |
Completed 500 requests |