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!
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
# How to use? | |
# https://medium.com/@ozgurtrgy/aspnet-core-zero-downtime-deployment-to-linux-with-nginx-b8b230bf1577 | |
# the variables depend on you. | |
PACKAGE_TAR_NAME="artifacts.tar.gz" | |
VERSION="1005" |
<?php namespace App\Providers; | |
use Illuminate\Support\ServiceProvider; | |
use Request; | |
use View; | |
use App; | |
abstract class ApplicationsServiceProvider extends ServiceProvider | |
{ | |
public function register() |
Files:
Inspiration:
<?php | |
// Foundation 5 form label element wrapper | |
Form::macro('foundationLabelWrapper', function($name, $label = null, $element) | |
{ | |
$label = is_null($label) ? ucwords(str_replace(array('-', '_'), ' ', $name)) : $label; | |
$errors = View::shared('errors'); | |
$out = ''; |
<?php | |
// Bootstrap 3 text field input | |
Form::macro('bootstrapText', function($name, $label=null, $value=null, $attr=array(), $help=null) | |
{ | |
$attr['id'] = isset($attr['id']) ? $attr['id'] : $name; | |
if ( !isset($attr['class']) ) | |
$attr['class'] = "form-control"; | |
else { |
<?php | |
/** | |
* A helper file for Laravel 5, to provide autocomplete information to your IDE | |
* Generated for Laravel 5.5.13 on 2017-09-28. | |
* | |
* @author Barry vd. Heuvel <barryvdh@gmail.com> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ | |
namespace { | |
exit("This file should not be included, only analyzed by your IDE"); |