Will replace: _e('text')
to _e('text', 'your-domain')
_e
:
Find \_e\('(.*)'\)
Replace by \_e\('$1', 'your-domain'\)
__
:
Will replace: _e('text')
to _e('text', 'your-domain')
_e
:
Find \_e\('(.*)'\)
Replace by \_e\('$1', 'your-domain'\)
__
:
AWSTemplateFormatVersion: '2010-09-09' | |
Description: > | |
AWS CloudFormation template to create a new VPC | |
or use an existing VPC for ECS deployment | |
in Create Cluster Wizard. Requires exactly 1 | |
Instance Types for a Spot Request. | |
Parameters: | |
EcsClusterName: | |
Type: String | |
Description: > |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: > | |
AWS CloudFormation template to create a new VPC | |
or use an existing VPC for ECS deployment | |
in Create Cluster Wizard. Requires exactly 1 | |
Instance Types for a Spot Request. | |
Parameters: | |
EcsClusterName: | |
Type: String | |
Description: > |
@setup | |
require __DIR__.'/vendor/autoload.php'; | |
$dotenv = Dotenv\Dotenv::create(__DIR__); | |
try { | |
$dotenv->load(); | |
$dotenv->required(['DEPLOY_USER', 'DEPLOY_SERVER', 'DEPLOY_BASE_DIR', 'DEPLOY_REPO'])->notEmpty(); | |
} catch ( Exception $e ) { | |
echo $e->getMessage(); | |
} |
Laravel 5.8, Horizon 3.x, Redis 5.x
Parepare application
http://yourapp.com/horizon
inactive
on dashbaordInstall redis-server
Laravel | |
Replace old-style $_GET and $_POST by $request->input | |
Search: \$_POST\['(\w*)'] | |
Replace: \$request->input('$1') | |
Replace isset(...) by $request->has | |
Search: isset\(\$_POST\['(\w*)']\) |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
using Moq; | |
using Moq.Language; | |
using Moq.Language.Flow; |