Skip to content

Instantly share code, notes, and snippets.

View unnoq's full-sized avatar

unnoq

View GitHub Profile
@unnoq
unnoq / [laravel] .php-cs-fixer.php
Last active June 25, 2022 03:54
friendsofphp/php-cs-fixer
<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'@PHPUnit84Migration:risky' => true,
'@PHP80Migration:risky' => true,
'@PHP81Migration' => true,
@unnoq
unnoq / [laravel] infection.json
Last active June 25, 2022 03:50
infection/infection
{
"source": {
"directories": ["app"],
"excludes": [
"Actions/Fortify",
"Actions/Jetstream",
"Console/Kernel.php",
"Exceptions",
"Http/Middleware",
"Http/Kernel.php",
@unnoq
unnoq / mysql-statements.md
Last active March 28, 2022 07:10
Mysql statements

Common mysql statements

Create and gain permissions

    CREATE DATABASE `nicker`;
    CREATE USER 'nicker'@'%' IDENTIFIED BY 'P@ssw0rd';
    GRANT ALL PRIVILEGES ON `nicker`.* TO 'nicker'@'%';