🏴☠️
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 | |
use Tests\TestCase; | |
class MyTest extends TestCase | |
{ | |
/** | |
* Sets up an expectation for an exception to be reported by the code under test. | |
*/ | |
protected function expectReportedExceptionMessage(string $message): static |
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\Http\Controllers\Api; | |
use App\Models\User; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Hash; | |
use Illuminate\Support\Str; | |
use Illuminate\Validation\ValidationException; |
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\Models\Traits; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Support\Str; | |
trait Sluggable | |
{ | |
/** |
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
language: elixir | |
dist: bionic | |
sudo: required | |
elixir: | |
- '1.9.0' | |
otp_release: | |
- '22.0' |
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\Http\Middleware; | |
use Closure; | |
use Illuminate\Auth\Access\AuthorizationException; | |
class VerifyUserRole | |
{ | |
/** |
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
<code_scheme name="Laravel"> | |
<option name="SOFT_MARGINS" value="120" /> | |
<CssCodeStyleSettings> | |
<option name="HEX_COLOR_LOWER_CASE" value="true" /> | |
<option name="HEX_COLOR_SHORT_FORMAT" value="true" /> | |
</CssCodeStyleSettings> | |
<JSCodeStyleSettings version="0"> | |
<option name="FORCE_SEMICOLON_STYLE" value="true" /> | |
<option name="FIELD_PREFIX" value="" /> | |
<option name="FILE_NAME_STYLE" value="CAMEL_CASE" /> |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
host | |
0-mail.com | |
001.igg.biz | |
027168.com | |
0815.ru | |
0815.ry | |
0815.su | |
0845.ru | |
0box.eu | |
0clickemail.com |
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
pip install selenium |
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\Models\Traits; | |
use LogicException; | |
trait Immutables | |
{ | |
/** | |
* Set a given attribute on the model. |
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
defmodule FizzBuzz do | |
def print do | |
Enum.each(1..100, &FizzBuzz.print/1) | |
end | |
def print(n) do | |
result = cond do | |
divisible_by_3?(n) && divisible_by_5?(n) -> "FizzBuzz" | |
divisible_by_3?(n) -> "Fizz" | |
divisible_by_5?(n) -> "Buzz" |
NewerOlder