This file contains hidden or 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
1. Run the following commands: | |
brew install imagemagick | |
brew install pkg-config | |
pecl install imagick | |
PECL will tell at the end where is your extension | |
Build process completed successfully | |
Installing '/usr/local/Cellar/php/7.3.9_1/include/php/ext/imagick/php_imagick_shared.h' |
This file contains hidden or 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
1. Run the following commands: | |
brew install imagemagick | |
brew install pkg-config | |
pecl install imagick | |
PECL will tell at the end where is your extension | |
2. Use this command to edit your php.ini (path may change due to your configuration) | |
nano /usr/local/etc/php/7.3/php.ini |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
</head> | |
<body> | |
<p class="mb-5">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloremque nam asperiores adipisci, iste reiciendis ullam! Nobis eos optio voluptates illum debitis ex libero cupiditate voluptatum, provident, atque eligendi asperiores dicta!. <a href="#" data-video-src="https://www.youtube.com/embed/kQRviCE6KpM" data-toggle="modal" data-target="#videoModal">Play video</a></p> |
This file contains hidden or 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
// include moment.js | |
// jquery | |
// jquery validation | |
$.validator.addMethod("dateFr", function(value, element) { | |
return this.optional(element) || moment(value, "DD/MM/YYYY", true).isValid(); ; | |
}, "Veuillez saisir une date valide au format JJ/MM/AAAA"); | |
$.validator.addMethod("dateTimeFr", function(value, element) { | |
return this.optional(element) || moment(value, "DD/MM/YYYY HH:mm", true).isValid(); ; |
This file contains hidden or 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
<!-- Datetime in iso8601 format --> | |
Publié <span class="timeago" data-time="2019-05-20T17:54:05+02:00"></span> |
This file contains hidden or 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
// Put this near the top of your resources\assets\js\app.js file. | |
import $ from 'jquery'; | |
window.jQuery = $; | |
window.$ = $; | |
// Source: | |
// https://github.com/webpack/webpack/issues/4258#issuecomment-340240162 |
This file contains hidden or 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 | |
$registrations = Registration::whereDate('created_at', $day)->when($advisor, function($query, $advisor) { | |
return $query->where('conseiller', $advisor); | |
})->get(); | |
?> |
This file contains hidden or 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 App\Http\Controllers\Admin; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Carbon; | |
use App\Http\Controllers\Controller; | |
use Validator; | |
use Illuminate\Support\Fluent; |
This file contains hidden or 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
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
This file contains hidden or 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
.ui-datepicker { | |
background-color: #fff; | |
border: 1px solid #66AFE9; | |
border-radius: 4px; | |
box-shadow: 0 0 8px rgba(102,175,233,.6); | |
display: none; | |
margin-top: 4px; | |
padding: 10px; | |
width: 240px; | |
} |