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!
function createNamedFunction() { | |
var _cnf = Array.prototype.slice.call(arguments, 0); | |
_cnf.name = _cnf.shift(); | |
_cnf.code = _cnf.pop(); | |
return new Function('return function NAME(ARGS) {CODE}'. | |
replace('NAME', _cnf.name). | |
replace('ARGS', _cnf.join(',')). | |
replace('CODE', _cnf.code))(); | |
} |
Java Logging is Awesome | |
======================= | |
### Since I am incapable of determining information about my own runtime environment, please provide it to me. Also, this is from a *library* and there's no obvious way to turn it off, rendering DEBUG logging statements from my own application all but useless. | |
DEB [20100119-17:50:05.225] httpclient: Java version: 1.6.0_15 | |
DEB [20100119-17:50:05.225] httpclient: Java vendor: Apple Inc. | |
DEB [20100119-17:50:05.226] httpclient: Java class path: /Users/james/bin/sbt-launcher.jar | |
DEB [20100119-17:50:05.226] httpclient: Operating system name: Mac OS X | |
DEB [20100119-17:50:05.226] httpclient: Operating system architecture: x86_64 |
In response to all the responses to: | |
http://twitter.com/rtomayko/status/1155906157 | |
You should never do this in a source file included with your library, | |
app, or tests: | |
require 'rubygems' | |
The system I use to manage my $LOAD_PATH is not your library/app/tests |