This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
@foreach($setting['mainMenu'] as $menu) | |
<a href="{{$menu['url']}}"><li> {{$menu['label']}}</li></a> | |
@endforeach | |
</ul> | |
<{{$setting['layout']['page']['home']['component']}} category="{{$setting['layout']['page']['home']['category']}}"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Tests; | |
use Illuminate\Contracts\Console\Kernel; | |
use Illuminate\Support\Facades\Hash; | |
trait CreatesApplication | |
{ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="row" id="youtube"> | |
<div class="col-md-8 pr-md-0 bg-night pt-2 pb-2"> | |
<div v-if="loading" class="loading w-100" height="400"> | |
<div></div> | |
</div> | |
<iframe @load="loading=false" width="100%" height="400" :src="activeUrl" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen> | |
</iframe> | |
</div> | |
<div class="col-md-4 pl-md-0 bg-night pt-2 pb-2"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+l", | |
"command": "better-phpunit.run" | |
}, | |
{ | |
"key": "cmd+k cmd+p", | |
"command": "better-phpunit.run-previous" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dd(DB::connection()->getConfig(null)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var configSummernote = { | |
placeholder: 'Details goes here', | |
toolbar: [ | |
['style', ['style']], | |
['fontsize', ['fontsize']], | |
['font', ['bold', 'italic', 'underline','font', 'strikethrough', 'superscript', 'subscript']], | |
['fontname', ['fontname']], | |
// ['color', ['color']], | |
['para', ['ul', 'ol', 'paragraph']], | |
['height', ['height']], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<canvas :id="id"></canvas> | |
</template> | |
<script> | |
import Chart from 'chart.js'; | |
import planetChartData from '../../../../data/chart-data.js'; | |
export default{ | |
props:["id"], | |
data(){ | |
return { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function email_is_sent_when_job_applied() | |
{ | |
Mail::fake(); | |
$this->be(cUser('jobseeker')); | |
$data = $this->getData(); | |
$this->post('job/applyjobs', $data); | |
$company = User::find($data["company_id"]); | |
Mail::assertQueued(JobAppliedEmail::class, 2); | |
Mail::assertQueued(JobAppliedEmail::class, function ($email) { | |
return $email->to(auth()->user()->email); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<div v-for="row in rows" :key="row.id"> | |
<div class="form-group row"> | |
<div class="col-6"> | |
<input | |
name="keys[]" | |
type="text" | |
class="form-control" | |
placeholder="Enter attribute" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Turn on maintenance mode | |
php artisan down | |
# Pull the latest changes from the git repository | |
git pull origin master | |
# Install/update composer dependecies | |
composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev | |
# Run database migrations |
OlderNewer