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 | |
$var = 'testing'; | |
?> |
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 | |
$var = 'hello'; |
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
$CustomPaths = @( | |
@{Name = "Cubs"; Path = "C:\cubs"; Exclude = @('*.txt', '*.pdf')}, | |
@{Name = "Cubs"; Path = "C:\cubs"; Exclude = @('*.txt', '*.pdf')}, | |
@{Name = "Cubs"; Path = "C:\cubs"; Exclude = @('*.txt', '*.pdf')}, | |
@{Name = "Cubs"; Path = "C:\cubs"; Exclude = @('*.txt', '*.pdf')}, | |
) | |
# Handle Mapping all the custom values | |
forEach ($Location in $CustomPaths) { |
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\Wilber\MediaLibrary\UrlGenerator; | |
use Illuminate\Contracts\Config\Repository as Config; | |
use Illuminate\Filesystem\FilesystemManager; | |
use Spatie\MediaLibrary\UrlGenerator\S3UrlGenerator; | |
class S3SwapUrlGenerator extends S3UrlGenerator | |
{ |
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 | |
$start = Carbon::parse('2019-12-24'); | |
$end = Carbon::parse('2020-01-04'); | |
$birthDate = Carbon::parse('1985-12-24')->addDays(random_int(0,6)); | |
// figure out if month and day of birthDate is between the $start and $end |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
NewerOlder