Para detener Jekyll server cuando por alguna razon no se detiene:
$ lsof -wni tcp:4000
$ kill -9 <PID of process>
La proxima vez que use el comando bundle exec jekyll server asegurese de detenerlo con la combinación de teclas Ctrl+C
Update
<?php | |
namespace App\Traits; | |
use Carbon\Carbon; | |
use DateTimeInterface; | |
use Illuminate\Database\Eloquent\Casts\Attribute; | |
trait HasFormattedDatesTrait | |
{ |
<?php | |
namespace App\Traits; | |
use Illuminate\Http\Request; | |
trait HandlesPerPageTrait | |
{ | |
/** | |
* Get the per page value from the request. |
{ | |
"preset": "laravel", | |
"exclude": [ | |
"vendor" | |
] | |
} |
<?xml version="1.0"?> | |
<ruleset name="Laravel Standards"> | |
<description>The Laravel Coding Standards</description> | |
<rule ref="PSR12" /> | |
<exclude-pattern>*/database/*</exclude-pattern> | |
<exclude-pattern>*/storage/*</exclude-pattern> | |
<exclude-pattern>*/vendor/*</exclude-pattern> | |
</ruleset> |
<?php | |
$finder = PhpCsFixer\Finder::create() | |
->in([ | |
__DIR__ . '/app', | |
__DIR__ . '/config', | |
__DIR__ . '/database', | |
__DIR__ . '/resources', | |
__DIR__ . '/routes', | |
__DIR__ . '/tests', |
{ | |
"rules": { | |
"no-unused-vars": true, | |
"no-undef": true, | |
"no-redeclare": true, | |
"no-unreachable": true, | |
"no-console": true, | |
"no-debugger": true | |
}, | |
"ignore": [ |
<script setup> | |
import {Inertia} from "@inertiajs/inertia"; | |
import {Link} from "@inertiajs/inertia-vue3"; | |
const props = defineProps({ | |
links: { | |
type: Object, | |
default: () => ({}) | |
} | |
}) |
{ | |
"countries" : [ | |
{ | |
"name_en": "Afghanistan", | |
"name_es": "Afganistán", | |
"continent_en": "Africa", | |
"continent_es": "África", | |
"capital_en": "Kabul", | |
"capital_es": "Kabul", | |
"dial_code": "+93", |
public static function boot() | |
{ | |
parent::boot(); | |
static::creating(function ($model) { | |
$model->nombre = strtoupper($model->nombre); | |
}); | |
} |
Para detener Jekyll server cuando por alguna razon no se detiene:
$ lsof -wni tcp:4000
$ kill -9 <PID of process>
La proxima vez que use el comando bundle exec jekyll server asegurese de detenerlo con la combinación de teclas Ctrl+C
Update