Edit file /etc/default/grub and add kernel boot param like:
GRUB_CMDLINE_LINUX_DEFAULT="usbcore.quirks=2386:3125:bk"Check docs kernel params here (for usbcore.quirks):
https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html
Edit file /etc/default/grub and add kernel boot param like:
GRUB_CMDLINE_LINUX_DEFAULT="usbcore.quirks=2386:3125:bk"Check docs kernel params here (for usbcore.quirks):
https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html
phacility/xhprof previous pecl xhprof. Includes xhprof_html. No composer.jsonpreinheimer/xhprof XHProf UI. MySQL focused while perftools/xhgui required mongo. No composer.json. Behind phacility/xhprof. No SVG supporttideways/php-xhprof-extension Archived in favor of longxinH/xhproflongxinH/xhprof fork of phacility/xhprof. 2025 extension, 2021 same xhprof_html only with default image changed from png to svg for faster callgraph. Has composer.json. Current pecl xhprof. Upstream for https://packages.gentoo.org/packages/dev-php/xhprof. Replaced Tidewaysperftools/xhgui alternative html, has composer.json, can work with mongo or PDO with different compatibility| <?php | |
| namespace App\Console\Commands\Horizon; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Queue\Failed\FailedJobProviderInterface; | |
| use Laravel\Horizon\Contracts\JobRepository; | |
| use Laravel\Horizon\Jobs\RetryFailedJob; | |
| class RetryAllFailedJobsCommand extends Command |
| <?php | |
| namespace App\Console\Commands; | |
| use RuntimeException; | |
| use Illuminate\Support\Str; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Facades\Storage; |
| #!/bin/bash | |
| CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE` | |
| BASE=./bin | |
| rm $BASE/chromedriver | |
| wget -N http://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip -P $BASE/ | |
| unzip $BASE/chromedriver_linux64.zip -d $BASE/ | |
| rm $BASE/chromedriver_linux64.zip |
| if [ -f artisan ] | |
| then | |
| php artisan down --message="Upgrading" --retry=60 | |
| # to prevent missing providers/services when optimizing autoloader | |
| # php artisan view:clear | |
| # php artisan cache:clear | |
| # php artisan route:clear | |
| # php artisan config:clear | |
| # php artisan clear-compiled |
| <?xml version="1.0"?> | |
| <ruleset name="Laravel Standards"> | |
| <description>The Laravel Coding Standards</description> | |
| <file>app</file> | |
| <file>config</file> | |
| <file>resources</file> | |
| <file>routes</file> | |
| <file>tests</file> |
| const OFF = 'off'; | |
| const WARN = 'warn'; | |
| const ERROR = 'error'; | |
| const MAX_COMPLEXITY = 11; | |
| module.exports = { | |
| root: true, | |
| env: { | |
| node: true, | |
| }, |
| const OFF = 'off'; | |
| const WARN = 'warn'; | |
| const ERROR = 'error'; | |
| module.exports = { | |
| root: true, | |
| env: { | |
| node: true, | |
| browser: true, | |
| }, |
| <?php | |
| /** | |
| * Usage: dumpBacktrace(debug_backtrace(), 3); | |
| */ | |
| function dumpBacktrace($b, int $count = null): void | |
| { | |
| $count = is_int($count) ? $count : count($b); | |
| for ($i = $count - 1; $i >= 0; --$i) { | |
| dump(($b[$i]['class'] ?? '') . '@' . $b[$i]['function']); |