View block1.php
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'; | |
?> |
View blog.md
Hey there
undefined
View block1.php
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'; |
View example.ps
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) { |
View S3SwapUrlGenerator.php
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 | |
{ |
View problem.php
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 |
View machine.js
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 |
View machine.js
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 |
View machine.js
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