Skip to content

Instantly share code, notes, and snippets.

View fabyo0's full-sized avatar
🎯
Focusing

Emre Dikmen fabyo0

🎯
Focusing
View GitHub Profile
@fabyo0
fabyo0 / rector.php
Created February 8, 2025 00:18 — forked from JustSteveKing/rector.php
Laravel Rector Config
<?php
declare(strict_types=1);
use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
return static function (RectorConfig $rectorConfig): void {
@fabyo0
fabyo0 / pint.json
Last active March 7, 2025 21:55 — forked from JustSteveKing/pint.json
Laravel Pint configuration
{
"preset": "per",
"exclude": [
"tests",
"tests/**/*",
"./tests/**/*"
],
"rules": {
"align_multiline_comment": true,
"array_indentation": true,
@fabyo0
fabyo0 / DatabaseQueueMonitorCommand.php
Created November 30, 2024 18:42 — forked from BenCavens/DatabaseQueueMonitorCommand.php
Laravel queue monitoring on shared hosting
<?php
namespace App\Queue;
use Carbon\Carbon;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\DB;
class DatabaseQueueMonitorCommand extends Command
{
@fabyo0
fabyo0 / mysqlsampledatabase.sql
Created July 29, 2024 20:16
Sample Database
/*
Name: MySQL Sample Database classicmodels
Link: http://www.mysqltutorial.org/mysql-sample-database.aspx
*/
CREATE DATABASE IF NOT EXISTS classicmodels;
USE classicmodels;
@fabyo0
fabyo0 / reset.css
Created January 21, 2023 22:33 — forked from DavidWells/reset.css
CSS reset. Follow me on the twitters for more tips: https://twitter.com/davidwells
/* http://meyerweb.com/eric/tools/css/reset/
v2.0-modified | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,