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
#!/bin/bash | |
TOTAL=100 | |
printf "Starting the script\n" | |
for i in `seq 1 $TOTAL`; do | |
trap 'printf "\nExited!"; break;' SIGINT SIGTERM | |
printf '\r%i / %i' $i $TOTAL | |
$@ >> debugger.log 2>&1 |
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
# run `aws ecs list-task-definitions --status active` to list all available task definitions | |
aws ecs list-task-definitions --status active | grep REPLACE_WITH_THE_NAME_OF_DEFINITION | | |
awk '{print substr($0, 1, length($0)-1)}' | xargs -I{} aws ecs deregister-task-definition --task-definition {} |
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
JS: Angular is running in the development mode. Call enableProdMode() to enable the production mode. | |
JS: changes: 0 | |
JS: === dump(): dumping members === | |
JS: { | |
JS: "item": { | |
JS: "currentValue": { | |
JS: "id": 1, | |
JS: "name": "Ter Stegen", | |
JS: "role": "Goalkeeper" | |
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
JS: Angular is running in the development mode. Call enableProdMode() to enable the production mode. | |
JS: changes: 0 | |
JS: === dump(): dumping members === | |
JS: { | |
JS: "item": { | |
JS: "currentValue": { | |
JS: "id": 1, | |
JS: "name": "Ter Stegen", | |
JS: "role": "Goalkeeper" | |
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
JS: Angular is running in the development mode. Call enableProdMode() to enable the production mode. | |
JS: changes: 0 | |
JS: === dump(): dumping members === | |
JS: { | |
JS: "item": { | |
JS: "currentValue": { | |
JS: "id": 1, | |
JS: "name": "Ter Stegen", | |
JS: "role": "Goalkeeper" | |
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
JS: Angular is running in the development mode. Call enableProdMode() to enable the production mode. | |
JS: changes: 0 | |
JS: === dump(): dumping members === | |
JS: { | |
JS: "item": { | |
JS: "currentValue": { | |
JS: "id": 1, | |
JS: "name": "Ter Stegen", | |
JS: "role": "Goalkeeper" | |
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
<?php | |
return [ | |
/* | |
|-------------------------------------------------------------------------- | |
| Authentication Defaults | |
|-------------------------------------------------------------------------- | |
| | |
| This option controls the default authentication "guard" and password |
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 Illuminate\Foundation\Testing\DatabaseMigrations; | |
use Illuminate\Foundation\Testing\DatabaseTransactions; | |
class UserCRUDFailureTest extends TestCase | |
{ | |
use DatabaseMigrations, DatabaseTransactions; | |
protected $prefix = ''; |
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 Illuminate\Foundation\Testing\DatabaseMigrations; | |
use Illuminate\Foundation\Testing\DatabaseTransactions; | |
class UserCRUDTest extends TestCase | |
{ | |
use DatabaseMigrations, DatabaseTransactions; | |
protected $prefix = ''; |
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/php | |
<?php | |
// copied from https://gist.github.com/chelmertz/816166 | |
// authored by Travis Swicegood | |
// modified by Daniel Pinto and Israel Trindade | |
class Enable | |
{ | |
const PHP_LINT = true; |