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
<select> | |
<option selected disabled>Choose</option> | |
<option value="1">1</option> | |
<option value="2">2</option> | |
</select> |
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 Tests; | |
use App\User; | |
use Exception; | |
use TestHelper; | |
use App\Exceptions\Handler; | |
use PHPUnit\Framework\Assert; | |
use Illuminate\Support\Collection; |
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
/** | |
* Given you have a JSON string that represents a single object (not array). | |
* SanitizeJsonString will attempt to correct the JSON syntax allowing | |
* it to be parsed. | |
*/ | |
/** | |
* Sanitize user input before attempting to parse the JSON | |
* |
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
export default { | |
prefix : 'api/v1/', | |
get(url, data) { | |
return axios.get( this.prefix + url, data ) | |
}, | |
post(url, data) { | |
return axios.post( this.prefix + url, data ) |
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 { | |
exit("This file is only for ide indexing"); | |
} | |
namespace Illuminate\Support { | |
use Tests\TestCase; | |
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
rm -rf node_modules | |
rm package-lock.json yarn.lock | |
npm cache clear --force | |
npm install |
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
{ | |
"scripts" : { | |
"echo-dev" : "laravel-echo-server --config=laravel-echo-server-dev.json start" | |
} | |
} |
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
the | |
of | |
and | |
to | |
a | |
in | |
that | |
I | |
was | |
he |
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
/*======================================================== | |
= Scrum for your Trello board = | |
========================================================== | |
@author: Vinícius Stutz | |
@site: http://www.vinicius-stutz.com/ | |
@date: 7 jan 2016 | |
*/ |
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\Exceptions; | |
use Monolog\Formatter\LineFormatter; | |
class PapertrailFormatter extends LineFormatter { | |
public const SIMPLE_FORMAT = "%channel%.%level_name%: %message% %context% %extra%\n"; |
OlderNewer