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
{ | |
"editor.fontSize": 15, | |
"editor.fontFamily": "Fira Code", | |
"php.validate.executablePath": "/usr/bin/php7.1", | |
"terminal.integrated.cursorBlinking": true, | |
"workbench.iconTheme": "vscode-great-icons", | |
"workbench.colorTheme": "Boxy Monokai", | |
"files.associations": { | |
"*.blade.php": "blade" | |
}, |
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
@font-face { | |
font-family: 'unicode'; | |
src: url(/font/unicode.ttf) format('truetype'); //link to font file | |
font-weight: 400; | |
font-style: normal; | |
} | |
body, html, p, code, *, table, td, tr, span, div, a, ul, li, input, textarea, h1, h2, h3, h4, h5, h6 | |
{ | |
font-family: 'unicode'; //force to html components | |
} |
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
^\S*(?=\S{8,})(?=\S*[a-z])(?=\S*[A-Z])(?=\S*[\d])\S*$ | |
From the fine folks over at Zorched. | |
^: anchored to beginning of string | |
\S*: any set of characters | |
(?=\S{8,}): of at least length 8 | |
(?=\S*[a-z]): containing at least one lowercase letter | |
(?=\S*[A-Z]): and at least one uppercase letter | |
(?=\S*[\d]): and at least one number | |
$: anchored to the end of the string |
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 App; | |
use App\Utils\Data; | |
use App\Utils\Str; | |
use Cache; | |
use Closure; | |
use DateTime; | |
use DB; |