tesseract --list-langs
tesseract input.jpg output -l deu
use Illuminate\Support\Carbon; | |
// create | |
Carbon::now(); | |
Carbon::yesterday(); | |
Carbon::today(); | |
Carbon::now(); | |
Carbon::now('Europe/London'); | |
Carbon::tomorrow(); | |
Carbon::createFromDate($year, $month, $day, $tz); |
prefix query with EXPLAIN ANALYZE
: EXPLAIN ANALYZE SELECT * FROM ...
debug with https://explain.depesz.com
SELECT *
FROM table
WHERE
col1 = 'foo'
AND
col2 = 'foo'
AND (
col3 = 'foo'
OR
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Listen for Xdebug", | |
"type": "php", | |
"request": "launch", | |
"port": 9003, | |
"ignore": ["**/vendor/**/*.php"] | |
} |
php artisan queue:restart
php artisan queue:work --sleep=3 --tries=1 --memory=768 --timeout=10800
php artisan queue:work --env=production --sleep=3 --tries=1 --memory=768 --timeout=3600
php artisan queue:listen --env=production --sleep=3 --tries=1 --memory=768 --timeout=3600
# does not need restarts, but is less more efficient