CREATE DATABASE `nicker`;
CREATE USER 'nicker'@'%' IDENTIFIED BY 'P@ssw0rd';
GRANT ALL PRIVILEGES ON `nicker`.* TO 'nicker'@'%';
This file contains 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
{ | |
"source": { | |
"directories": ["app"], | |
"excludes": [ | |
"Actions/Fortify", | |
"Actions/Jetstream", | |
"Console/Kernel.php", | |
"Exceptions", | |
"Http/Middleware", | |
"Http/Kernel.php", |
This file contains 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 | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'@PHPUnit84Migration:risky' => true, | |
'@PHP80Migration:risky' => true, | |
'@PHP81Migration' => true, | |
This file contains 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
includes: | |
- ./vendor/nunomaduro/larastan/extension.neon | |
parameters: | |
reportUnmatchedIgnoredErrors: false | |
paths: | |
- app | |
This file contains 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
zend_extension=xdebug.so | |
xdebug.mode = debug,develop,coverage | |
xdebug.start_with_request = yes | |
xdebug.log = /tmp/xdebug.log |
This file contains 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
{ | |
"$schema": "https://json.schemastore.org/tsconfig", | |
"compilerOptions": { | |
/* Visit https://aka.ms/tsconfig.json to read more about this file */ | |
/* Projects */ | |
// "incremental": true, /* Enable incremental compilation */ | |
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ | |
// "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files. */ | |
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects */ |
This file contains 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
import { z } from 'zod'; | |
type Innput<TShape extends z.Schema> = { | |
innput: TShape; | |
config: any; | |
}; | |
type Fnn<TShape extends z.Schema> = (input: z.infer<TShape>) => void; | |
const fn: <TShape extends z.Schema, TFn extends Fnn<TShape>>( |
This file contains 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
DO $$ | |
DECLARE | |
counter integer := 1; | |
batch_size integer := 100; | |
BEGIN | |
WHILE counter <= 10000 LOOP | |
-- Use the counter to generate unique table names | |
EXECUTE 'CREATE TABLE IF NOT EXISTS "customer_histories_' || counter || '" PARTITION OF "customer_histories" FOR VALUES WITH (MODULUS 10000, REMAINDER ' || (counter - 1)::int || ');'; | |
counter := counter + 1; |
This file contains 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
@tailwind base; | |
@tailwind components; | |
@tailwind utilities; | |
@layer base { | |
:root { | |
--color-ring-brand: 158 119 237; | |
--color-ring-gray: 158 162 179; | |
--color-ring-gray-secondary: 158 162 179; | |
--color-ring-error: 240 68 56; |
This file contains 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
{ | |
"files.associations": { | |
"*.css": "tailwindcss" | |
}, | |
"tailwindCSS.classAttributes": [".*Variants", ".*Variants: .*"], | |
"tailwindCSS.experimental.classRegex": [ | |
"'([^'\\n]*)'[,)\\]]", | |
"\"([^\"\\n]*)\"[,)\\]]", | |
"`([^`]*)`[,)\\]]", |
OlderNewer