This guide covers configuring Laravel Reverb for production using services like Laravel Forge or Ploi.
Add this to your nginx site configuration's server block:
location /app {
Equalizer APO is a free software which adds zero delay to your audio latency. Some users experience noticable audio latency delays when using programs like Voicemeeter Banana, so this is a better option for gaming in my opinion. Some prefer the software called Peace Equalizer which is simply a interface for Equalizer APO, but it will limit your options for more advanced usage.
PUBG is known for causing hearing damage over time if played at a high volume, and Equalizer APO gives you a lot of options to lower your in game sounds without loosing the ability to hear footsteps.
Download Equalizer APO, and start the .exe file to go to setup wizard.
Click Next and Agree until you are asked to select the device to install APO for.
WSL 2, Oh-My-Zsh, Windows Terminal, Git, VS Code, and VcXsrv!
Ensure you are running Windows 10, Version 2004, Build 19041 or higher
<?php | |
$finder = PhpCsFixer\Finder::create() | |
->in(__DIR__) | |
->name('*.php') | |
->notName('_ide_helper.php') | |
->notName('*.blade.php') | |
->notPath('bootstrap') | |
->notPath('node_modules') | |
->notPath('storage') |
<?php | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'array_indentation' => true, | |
'array_syntax' => ['syntax' => 'short'], | |
'binary_operator_spaces' => [ | |
'default' => 'single_space', |
<?php | |
function tinker(...$args) { | |
// Because there is no way of knowing what variable names | |
// the caller of this function used with the php run-time, | |
// we have to get clever. My solution is to peek at the | |
// stack trace, open up the file that called "tinker()" | |
// and parse out any variable names, so I can load | |
// them in the tinker shell and preserve their names. |
With the addition of ES modules, there's now no fewer than 24 ways to load your JS code: (inline|not inline) x (defer|no defer) x (async|no async) x (type=text/javascript | type=module | nomodule) -- and each of them is subtly different.
This document is a comparison of various ways the <script>
tags in HTML are processed depending on the attributes set.
If you ever wondered when to use inline <script async type="module">
and when <script nomodule defer src="...">
, you're in the good place!
Note that this article is about <script>
s inserted in the HTML; the behavior of <script>
s inserted at runtime is slightly different - see Deep dive into the murky waters of script loading by Jake Archibald (2013)
See imgur / linked pastebin and github mirror for 1-8 → 1-8 balancers. Creator: raynquist, github mirror linked in Balancers Illustrated: 1 through 8 balancers explained, imgur album linked in Balancer Book Update (Summer 2019)
<?php | |
// Example usage in a model: | |
class ExampleModel extends Model | |
{ | |
use HasUuid; | |
protected $primaryKey = 'uuid'; |
# Change to the project directory | |
cd $FORGE_SITE_PATH | |
# Turn on maintenance mode | |
php artisan down || true | |
# Pull the latest changes from the git repository | |
# git reset --hard | |
# git clean -df | |
git pull origin $FORGE_SITE_BRANCH |