Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Hit:1 http://ftp.nl.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://ftp.nl.debian.org/debian bullseye-updates InRelease
Hit:4 https://download.docker.com/linux/debian bullseye InRelease
=> Ign:5 http://ppa.launchpad.net/ondrej/php/ubuntu oracular InRelease
Hit:6 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg InRelease
=> Err:7 http://ppa.launchpad.net/ondrej/php/ubuntu oracular Release
404 Not Found [IP: *.*.*.* 80]
=> Err:8 https://packages.sury.org/php bullseye InRelease
451 [IP: *.*.*.* 443]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/ondrej/php/ubuntu oracular Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://packages.sury.org/php/dists/bullseye/InRelease 451 [IP: *.*.*.* 443]
E: The repository 'https://packages.sury.org/php bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Solution:
apt update
mc /etc/apt/sources.list.d
# drop useless
# repeat
#troubleshooting #packages #sources
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
composer require "codeception/codeception" --dev
php vendor/bin/codecept bootstrap --no-interaction
src/tests/Functional.suite.yml
actor: FunctionalTester
modules:
enabled:
- Laravel:
step_decorators: ~
composer require codeception/module-laravel --dev
vendor/bin/codecept g:test Functional First
vendor/bin/codecept run Functional
#test #codecept #codeception #php #composer
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
const resp = await new Promise((resolve, reject) => {
insomnia.sendRequest(
'http://localhost/api/get-access-token',
(err, resp) => {
if (err != null) {
reject(err)
return
}
insomnia.request.addHeader({
key: 'Authorization',
value: 'Bearer ' + resp.json().access_token
});
resolve(resp);
}
);
});#insomnia #test #script #prerequest
Please open Telegram to view this post
VIEW IN TELEGRAM
π3
#css #game #games #noob
Please open Telegram to view this post
VIEW IN TELEGRAM
β€2
apt update && apt upgrade
apt install certbot python3-certbot-nginx
certbot --nginx
# choose your nginx.server
certbot certificates
systemctl status certbot.timer
cat /etc/cron.d/certbot
certbot renew --dry-run
nginx -t
service nginx restart
# keep calm & stay safe
#ssl #nginx #https #port443 #certbot #encrypt #tls #secure
Please open Telegram to view this post
VIEW IN TELEGRAM
β€2
If you are having trouble authenticating with your application from an SPA that executes on a separate subdomain, you have likely misconfigured your CORS (Cross-Origin Resource Sharing) or session cookie settings.
The config/cors.php configuration file is not published by default. If you need to customize Laravel's CORS options, you should publish the complete cors configuration file using the config:publish Artisan command:
php artisan config:publish cors
Read more on laravel.com
#laravel #cors #php #config #artisan
Please open Telegram to view this post
VIEW IN TELEGRAM
Laravel
Laravel Sanctum | Laravel 13.x - The clean stack for Artisans and agents
Laravel is a PHP web application framework with expressive, elegant syntax. We've already laid the foundation β freeing you to create without sweating the small things.
β€2
Error:
Warning: remote port forwarding failed for listen port 3002
Solution:
# lsof -i :3002
kill $(lsof -t -i :3002)
alias port='lsof -i '
# Usage port :3002
#ssh #error #port #forwarding #portforwarding #remote #server
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
π₯1π1π1
Please open Telegram to view this post
VIEW IN TELEGRAM
support.mozilla.org
Install Firefox on Linux | Firefox Help
This article describes how to download and install Firefox on Linux.