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!
docker run --rm -ti --entrypoint='' <image> bash |
$ docker run -d --link <container'sname>:db -p 8080:80 --net=<netname> phpmyadmin/phpmyadmin | |
adminer for almost all databases | |
$ docker run --rm --link database:db --net=docker-zulip_default -p 8888:8080 adminer |
import sys | |
import os | |
from PIL import Image | |
def get_filename(filepath): | |
filename = os.path.basename(filepath) | |
filename, file_extension = os.path.splitext(filename) | |
return filename | |
def convert_to_png(filepath): |
In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.
The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
def fib(): | |
a = 0 | |
b = 0 | |
while True: | |
if b == 0: | |
yield 1 | |
b = 1 | |
continue | |
a, b = b, a + b | |
yield b |
#!ipxe | |
dhcp net0 | |
# Figure out if client is 64-bit capable | |
cpuid --ext 29 && set arch x64 || set arch x86 | |
echo Starting Ubuntu Xenial installer for ${mac} | |
set mirror http://archive.ubuntu.com | |
set release xenial | |
set base-url ${mirror}/ubuntu/dists/${release}/main/installer-${arch}/current/images/netboot/ubuntu-installer/${arch} |
sudo apt-get install build-essential | |
sudo apt-get install libx11-dev:i386 | |
sudo apt install g++-multilib | |
cd htk | |
cp ../HTS-2.3_for_HTK-3.4.1/HTS-2.3_for_HTK-3.4.1.patch . | |
sudo apt-get install libx11-dev | |
./configure CFLAGS="-DARCH=linux" | |
make all | |
sudo make install |