Add docker & Nginx to Laravel
Create a Dockerfile at the root of the project: FROM php:8.1-fpm-alpine RUN apk add --no-cache nginx wget RUN mkdir -p /run/nginx COPY docker/nginx.conf /etc/nginx/nginx.conf RUN mkdir -p /app COPY .…
Create a Dockerfile at the root of the project: FROM php:8.1-fpm-alpine RUN apk add --no-cache nginx wget RUN mkdir -p /run/nginx COPY docker/nginx.conf /etc/nginx/nginx.conf RUN mkdir -p /app COPY .…
code: ffmpeg -i 'https://soource.com/file.m3u8' -bsf:a aac_adtstoasc \ -vcodec copy -c copy -crf 50 output.mp4
Install in any server: sudo apt install certbot Then run this command: certbot -d clyde_bot.arifdev.com --manual --preferred-challenges dns certonly Then add the certificate to Nginx/Apache: # Nginx example listen 443;…
sudo xed /etc/hosts
//Block one (will run once): cancelToken and source declaration const CancelToken = axios.CancelToken; let source = CancelToken.source(); // Block two (will run before every request): source && source.cancel('Operation canceled due…
sudo ntfsfix /dev/sdb1 sudo umount /dev/sdb1 sudo mount -o rw,uid=1000,gid=1000,user,exec,umask=003,blksize=4096 /dev/sdb1 ~/HDD
Problem: Bluetooth Failed to connect org.bluez.Error.NotReady – verfolgerle Try this: ~ bluetoothctl power on ~ rfkill list 0: phy0: Wireless LAN Soft blocked: yes Hard blocked: no 1:…
Codes: sleep 5 echo 'Working' ssh -N -R localhost:3001:localhost:3001 root@79.133.51.98 #ssh -N -R [server host]:[server port]:[local host]:[local port] [user]@[ip]
Resizing: ffmpeg -i nothing.mp4 -s 1280x720 -c:a copy nothing-720p.mp4 Text Adding: 1080p: ffmpeg -i x1080p.mp4 -vf "drawtext=text='CryAnime.com':fontcolor=white@0.8:fontsize=10:boxborderw=5:x=5:y=5" -codec:a copy res.mp4 -y 720p: ffmpeg -i x720p.mp4 -vf "drawtext=text='CryAnime.com':fontcolor=white@0.8:fontsize=8:boxborderw=5:x=5:y=5" -codec:a copy res.mp4…