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 | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'array_indentation' => true, | |
'array_syntax' => ['syntax' => 'short'], | |
'binary_operator_spaces' => [ | |
'default' => 'single_space', |
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 my aws serverless function | |
const serverless = require('serverless-http'); | |
const express = require('express'); | |
const AWS = require('aws-sdk'); | |
const app = express(); | |
app.use(express.urlencoded({ extended: 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
#!/usr/bin/env bash | |
#Configure these two variables | |
MYUSER="joel" | |
APACHEGROUP="www-data" | |
#you don't need to edit anything below. | |
echo "Setting variables..." |
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
{ | |
... | |
"autoload": { | |
"psr-4": { | |
"App\\": "app/", | |
"Database\\Factories\\": "database/factories/", | |
"Database\\Seeders\\": "database/seeders/" | |
}, | |
"files": [ | |
... |
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
megapint() { | |
PINT=$([ -f "vendor/bin/pint" ] && echo "vendor/bin/pint" || echo "pint") | |
"$PINT" --preset laravel $@ | |
} |
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
// >>> DatHost Competitive Config 0.1 <<< // | |
// Reset from Practice to Competitive | |
sv_cheats "false" // Disable cheats | |
mp_ct_default_grenades "" // Spawn CTs without grenades | |
mp_t_default_grenades "" // Spawn Ts without grenades | |
sv_showimpacts "0" // Don't show bullet impacts | |
sv_falldamage_scale "1" // Enable fall damage | |
sv_full_alltalk "0" // Disable voice chat with anyone |
OlderNewer