Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
/* Standard Deviation */ | |
const orders = [3, 5, 3, 8, 5, 25, 8, 4] | |
const arrayAverage = arr => arr.reduce((sum, x) => x + sum, 0) / orders.length | |
const sumOrders = orders.reduce((sum, x) => x + sum, 0) | |
const averageOrders = arrayAverage(orders) | |
console.log(averageOrders) |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Run mocha", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
"stopOnEntry": false, | |
"args": ["--recursive", "test"], |
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
// This is an example of an Function that takes a function an various parameters. | |
func callMe(fn interface{}, params ...interface{}) (result []reflect.Value) { |
package main | |
import ( | |
"fmt" | |
) | |
func getIncrementer() func() int { | |
i := -1 | |
return func() int { | |
i = i + 1 |
package api | |
import ( | |
"net/http" | |
"strconv" | |
"time" | |
"github.com/prometheus/client_golang/prometheus" | |
) |