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
request()->session()->flash('flash.banner', 'Message sent, Thank you!'); |
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\Services; | |
use Spatie\Tags\Tag; | |
use Ramsey\Uuid\Uuid; | |
use App\Models\Recall; | |
use App\Tagging\Subscribables; | |
use Illuminate\Database\Eloquent\Model; | |
use Google\Cloud\Firestore\FirestoreClient; |
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 | |
// coverage-checker.php | |
//https://ocramius.github.io/blog/automated-code-coverage-check-for-github-pull-requests-with-travis/ | |
$inputFile = $argv[1]; | |
$percentage = min(100, max(0, (int) $argv[2])); | |
if (!file_exists($inputFile)) { | |
throw new InvalidArgumentException('Invalid input file provided'); | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit bootstrap="vendor/autoload.php" | |
backupGlobals="false" | |
backupStaticAttributes="false" | |
colors="true" | |
verbose="true" | |
convertErrorsToExceptions="true" | |
convertNoticesToExceptions="true" | |
convertWarningsToExceptions="true" | |
processIsolation="false" |
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 Alnutile\Example; | |
class SkeletonClassTest extends TestCase | |
{ | |
/** | |
* Test that true does in fact equal true | |
*/ | |
public function testTrueIsTrue() |
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 Symfony\Component\Console\Helper\HelperSet; | |
use Symfony\Component\Console\Helper\QuestionHelper; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Symfony\Component\Console\Question\ConfirmationQuestion; | |
load_dotenv(); |
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 | |
define('COMMAND_START', microtime(true)); | |
/* | |
|-------------------------------------------------------------------------- | |
| Register The Composer Auto Loader | |
|-------------------------------------------------------------------------- | |
| | |
| Composer provides a convenient, automatically generated class loader |
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
#!/usr/bin/env php | |
<?php | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Symfony\Component\Process\Exception\ProcessFailedException; | |
use Symfony\Component\Process\Process; | |
require __DIR__.'/bootstrap/autoload.php'; | |
$app = require_once __DIR__.'/bootstrap/app.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
--- | |
- name: Create Oauth Keys | |
become: yes | |
become_user: catuser | |
command: php /home/{{ user }}/app/artisan passport:keys --quiet | |
ignore_errors: true | |
- name: Install for s3 module | |
pip: | |
name: boto |
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
<style scoped> | |
.action-link { | |
cursor: pointer; | |
} | |
.m-b-none { | |
margin-bottom: 0; | |
} | |
</style> |
NewerOlder