Floyk com
@floyk-com
0
Views
0
Likes
0
Following
0
Followers
0
Posts
Floyk com
1 month ago

auto restart Redis server:

  • Edit /etc/systemd/system/multi-user.target.wants/redis.service and add this in the [Service]section, at the bottom:Restart=always
    RestartSec=10s
  • Run sudo systemctl daemon-reload
  • Run sudo systemctl restart redis

It will now restart after 10 seconds every time it crashes.

Floyk com
8 months ago

#fabricjs very good tutorial about how to draw lines or arrow line 👍

Floyk com
Edited 10 months ago

how to set up custom error pages in #laravel?
easy, execute:

                    php artisan vendor:publish --tag=laravel-errors
                  

all of the error pages will be extracted to view/errors/... folder.
You can modify them as you need 

Floyk com
Edited 11 months ago

problems with permissions in #cpanel for the newly installed #laravel app?execute this:😱

                    find /path/to/your/laravel/app -type d -exec chmod 755 {} \;
find /path/to/your/laravel/app -type f -exec chmod 644 {} \;
Floyk com
1 year ago

Problems with youtube-dl
When runing youtube-dl command you get the ouptut:

solution:

                    python3 -m pip install --force-reinstall https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz

// and then run it with
yt-dlp -- youtube_ID
                  

more details here!

Floyk com
1 year ago
Floyk com
1 year ago
Floyk com
1 year ago

#aws set up S3 bucket to be accessed only from limiter range of IPs

About

Social network for digital people

Member since: August, 2020

Not yet a member?