Below is a Docker Compose file with 3 instances of Metabase connecting to the same PostgreSQL database and a shared volume mount.
version: "3"
services:
metabase-instance1:
image: "metabase/metabase:v0.32.9"
You should install VirtualBox and Vagrant before you start.
You should create a Vagrantfile
in an empty directory with the following content:
<?php | |
namespace App\Providers; | |
use Illuminate\Http\Request; | |
use Illuminate\Routing\Route; | |
use Illuminate\Support\ServiceProvider; | |
use App\Http\Middleware\CaptureRequestExtension; | |
class AppServiceProvider extends ServiceProvider |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
https://images.unsplash.com/photo-1448318440207-ef1893eb8ac0 | |
https://images.unsplash.com/photo-1447678523326-1360892abab8 | |
https://images.unsplash.com/photo-1445754574409-bcd715e18017 | |
https://images.unsplash.com/photo-1444682717031-a2498d603d5b | |
https://images.unsplash.com/photo-1442405740009-7b57cca9d316 | |
https://images.unsplash.com/photo-1439337153520-7082a56a81f4 | |
https://images.unsplash.com/photo-1433832597046-4f10e10ac764 | |
https://images.unsplash.com/photo-1430651717504-ebb9e3e6795e | |
https://images.unsplash.com/photo-1428190318100-06790c8b2e5a | |
https://images.unsplash.com/photo-1422504090664-c57eba84293f |
This is a compiled list of Laravel interview questions. If Laravel is an engineer's PHP framework of choice, they definitely have potential to be a good candidate, but a lot of new PHP engineers have been into Laravel too. The framework itself is very welcoming to newcomers, which makes it easy for beginners to feel that they know more than they really do.
1. How long have you been using Laravel?
This question can help decide what level of questions to ask.
<?php namespace App\Providers; | |
use Illuminate\Contracts\Hashing\Hasher; | |
use Illuminate\Contracts\Auth\UserProvider; | |
use Illuminate\Contracts\Auth\Authenticatable; | |
class CachedEloquentUserProvider implements UserProvider { | |
protected $hasher; | |
protected $model; |
Other people's projects:
My projects (tutorials are on my blog at http://maxoffsky.com):
/** | |
* Calculates the Damerau-Levenshtein distance between two strings. | |
*/ | |
function distance(source, target) { | |
if (!source) return target ? target.length : 0; | |
else if (!target) return source.length; | |
var m = source.length, n = target.length, INF = m+n, score = new Array(m+2), sd = {}; | |
for (var i = 0; i < m+2; i++) score[i] = new Array(n+2); | |
score[0][0] = INF; |