Web development
Laravel
supervisor
https://laravel.com/docs/5.4/queues#supervisor-configuration
Generate random string:
<?php
use Illuminate\Support\Str;
$id = Str::random(9);
Source:
https://stackoverflow.com/questions/58152743/how-i-can-generate-the-unique-id-in-laravel
jQuery
Select2
Getting select2 values programmatically:
$('#mySelect2').val('1'); // Select the option with a value of '1' $('#mySelect2').trigger('change'); // Notify any JS components that the value changed
https://select2.org/programmatic-control/add-select-clear-items