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!
FROM debian:jessie | |
ENV BUILD_PKG "automake bzip2 cmake make g++ gcc git-core libssl-dev patch binutils" | |
RUN apt-get update && apt-get install -y \ | |
libssl1.0.0 openssl ssl-cert $BUILD_PKG \ | |
vim mysql-client && \ | |
cd /usr/local/src && \ | |
git clone -b 2018-04-01 --depth 1 --single-branch https://github.com/google/re2.git && \ | |
git clone -b v1.4.8 --depth 1 --single-branch https://github.com/sysown/proxysql.git && \ |
<?php | |
'cache' => | |
array ( | |
'frontend' => | |
array ( | |
'default' => | |
array ( | |
'backend' => 'Cm_Cache_Backend_Redis', | |
'backend_options' => | |
array ( |
<?php | |
return [ | |
'backend' => [ | |
'frontName' => 'backend' | |
], | |
'crypt' => [ | |
'key' => '<your_crypt_key_here>' | |
], | |
'install' => [ | |
'date' => '<your_date_here>' // get this by running 'date' command |
#!/bin/bash | |
# | |
# backup.sh | |
# | |
# Created by David Alger on 2015-03-13 | |
# Copyright 2015 David Alger. All rights reserved. | |
# | |
################################################## | |
## Initialize our environment |
Login to the Google Cloud Console via following URL: https://console.cloud.google.com/billing
Click "Add billing account" and create a new billing account named "My Company"
Step 1: You should be asked to agree to the TOS for Google Cloud, unless you've already done so in the past.
Step 2: Create a new payments profile filling in current business name and address plus payment card information which will be used after the free trial period expires and/or $300 of free credit is consumed.
SET @utc_offset = 6; | |
-- Orders Per Year -- | |
SELECT period_date, CONCAT("UTC-", @utc_offset) AS utc_offset, order_count, gross_revenue, ROUND(gross_revenue / order_count, 2) AS gross_aov | |
FROM ( | |
SELECT | |
COUNT(*) AS order_count, | |
ROUND(SUM(base_grand_total), 2) AS gross_revenue, | |
date_format(date_sub(o.created_at, INTERVAL @utc_offset HOUR), "%Y") AS period_date | |
FROM sales_order o |
# List the composer home directory | |
# Typically /Users/<user>/.composer or /home/<user>/.composer or C:\Users\<user>\AppData\Roaming\Composer | |
echo $COMPOSER_HOME | |
# List files in the composer home | |
ls -la $COMPOSER_HOME | |
# View auth.json in composer home used when no local ./auth.json exists in the directory executed from | |
cat $COMPOSER_HOME/auth.json |
echo "%admin ALL = NOPASSWD: /usr/local/bin/valet" | sudo tee /etc/sudoers.d/valet-nopasswd
For more details see this page.
sudo nvram boot-args="serverperfmode=1 $(nvram boot-args 2>/dev/null | cut -f 2-)"
sudo reboot
Run through the following steps to setup this project on your local environment. These instructions assume you're using the standard Classy Llama devenv.
Use the following to connect to stage.