This file contains hidden or 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 | |
$rules = [ | |
'@PSR12' => true, | |
'array_syntax' => ['syntax' => 'short'], | |
'ordered_imports' => ['sort_algorithm' => 'alpha'], | |
'no_unused_imports' => true, | |
'not_operator_with_successor_space' => true, | |
'trailing_comma_in_multiline' => true, |
This file contains hidden or 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
{ | |
/** | |
* Vue Linting - Vetur | |
*/ | |
"html.format.enable": false, | |
"vetur.format.options.tabSize": 4, | |
"vetur.format.scriptInitialIndent": true, | |
"vetur.format.styleInitialIndent": true, | |
"vetur.validation.template": false, |
This file contains hidden or 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: PHP-CS-Fixer Lint | |
on: [push] | |
jobs: | |
php-linter: | |
name: PHP Linter | |
runs-on: ubuntu-latest |
This file contains hidden or 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
# This is a basic workflow to help you get started with Actions | |
name: ESLint | |
# Controls when the workflow will run | |
on: | |
push | |
# Triggers the workflow on push or pull request events but only for the main branch | |
# on: [push, pull_request] |
This file contains hidden or 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 | |
function data_get($target, $key, $default = null) | |
{ | |
if (is_null($key)) { | |
return $target; | |
} | |
$key = is_array($key) ? $key : explode('.', $key); |
This file contains hidden or 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
{"lastUpload":"2020-08-06T22:31:00.651Z","extensionVersion":"v3.4.3"} |
This file contains hidden or 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 | |
ini_set('memory_limit', '8192M'); | |
/******* | |
* Read input from STDIN | |
* Use echo or print to output your result to STDOUT, use the PHP_EOL constant at the end of each result line. | |
* Use: | |
* fwrite(STDERR, "hello, world!" . PHP_EOL); | |
* or | |
* error_log("hello, world!" . PHP_EOL); | |
* to output debugging information to STDERR |
This file contains hidden or 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\Providers; | |
use Illuminate\Support\Facades\Blade; | |
use Illuminate\Support\ServiceProvider; | |
use Illuminate\View\Compilers\BladeCompiler; | |
class AppServiceProvider extends ServiceProvider | |
{ |
This file contains hidden or 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 | |
protected function extractMarkerstoJson() { | |
$markersArray = []; | |
foreach($this->markers as $marker) { | |
$markerObject = new stdClass(); | |
$markerObject->id = $marker->id; | |
$markerObject->type = $marker->type; | |
$markerObject->subtype = $marker->subtype; |
This file contains hidden or 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
git config --global alias.hist "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all" | |
git config --global alias.histlong "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all" | |
iTerm Color : | |
Black #202020/#555555 | |
Red: #5d1a14/#da4939 | |
Green: #424e24/#a5c261 | |
Yellow: #6f5028/#ffc66d | |
Blue: #263e4e/#6d9cbe |
NewerOlder