I somehow always seem to forget how to do this the simple way:
chmod -R ug+rw /yourfolder
This will change yourfolder permissions to 775 and all folders inside recursively to 775, but all files in the folder(s) will be set to 664.
I somehow always seem to forget how to do this the simple way:
chmod -R ug+rw /yourfolder
This will change yourfolder permissions to 775 and all folders inside recursively to 775, but all files in the folder(s) will be set to 664.
Waydroid looked like excellent option to run Android apps on my Lenovo X240 running Linux Mint.
Because Waydroid is reliant on Wayland you need to use either KDE, Gnome or Sway Desktop Environment.
I am running Gnome and Waydroid works perfectly, but I wanted it to run in fullscreen. Unfortunately Waydroid key mapping is conflicting with Gnome F11 key to go fullscreen, so first thing you need to do is to re-map Gnome fullscreen key to something like Shift+F11 which can easily be done with gnome tweaks.
But once you get your Android app to run “fullscreen” you will notice that actual size of the drawn surface is still the one window started with:
erol@x240mint:~$ sudo waydroid shell wm size
Physical size: 1366x697
I wanted it shown in 1368×768 which is my native display resolution. To do this open terminal while Waydroid is running and do the following:
erol@x240mint:~$ waydroid prop set persist.waydroid.width 1366
erol@x240mint:~$ waydroid prop set persist.waydroid.height 768
erol@x240mint:~$ waydroid session stop
Now next time you run your Android app it is going to be rendered in native resolution.
erol@x240mint:~$ sudo waydroid shell wm size
Physical size: 1366x768
Today I noticed CAPTCHA was not getting resolved in Jackett but without obvious reason. I thought that flaresolverr rlease I was using was outdated so I wanted to try to update it to latest one. First I have checked what I have running:
# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f144c092302c a88ebf3195a5 "/usr/bin/dumb-init …" 4 months ago Up 10 hours 0.0.0.0:8191->8191/tcp flaresolverr
Pulled new image:
docker image pull ghcr.io/flaresolverr/flaresolverr:latest
Checked if the images are there:
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/flaresolverr/flaresolverr latest 5d07ec0ae1eb 4 weeks ago 574MB
ghcr.io/flaresolverr/flaresolverr <none> a88ebf3195a5 4 months ago 569MB
Stop and delete the container:
docker stop f144c092302c
docker rm f144c092302c
Once container has been stopped and deleted. I have started a new instance:
docker run -d --name=flaresolverr -p 8191:8191 -e LOG_LEVEL=info --restart unless-stopped ghcr.io/flaresolverr/flaresolverr:latest
Check if new container is running:
# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e8ec7ca07cf3 ghcr.io/flaresolverr/flaresolverr:latest "/usr/bin/dumb-init …" 3 seconds ago Up 1 second 0.0.0.0:8191->8191/tcp, 8192/tcp flaresolverr
Cleanup of the unused image:
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/flaresolverr/flaresolverr latest 5d07ec0ae1eb 4 weeks ago 574MB
ghcr.io/flaresolverr/flaresolverr <none> a88ebf3195a5 4 months ago 569MB
# docker image rm a88ebf3195a5
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/flaresolverr/flaresolverr latest 5d07ec0ae1eb 4 weeks ago 574MB
I tried recently to update WordPress to release 6.3 but it was constantly failing in my setup with nginx/php-fpm7.4.
Easiest way to fix it is to find this part of your site config in nginx:
location ~ \.php(?:$|/) {
include snippets/fastcgi-php.conf;
fastcgi_pass php;
}
and append it with fastcgi timeout settings:
location ~ \.php(?:$|/) {
include snippets/fastcgi-php.conf;
fastcgi_read_timeout 600;
fastcgi_send_timeout 600;
fastcgi_connect_timeout 600;
fastcgi_pass php;
}
Here is what I use to mount:
sshfs#[email protected]:/mnt/HD/HD_a2/owncloud /mnt/dietpi_userdata/owncloud_data fuse defaults,allow_other,_netdev,x-systemd.automount 0 0
192.168.0.X:/mnt/HD/HD_a2 /mnt/backup nfs nofail,noauto,x-systemd.automount
//192.168.0.X/USBDisk1_1 /mnt/torrents cifs cred=/var/lib/dietpi/dietpi-drive_manager/mnt-torrents.cred,iocharset=utf8,uid=dietpi,gid=dietpi,file_mode=0666,dir_mode=0777,vers=1.0,nofail,noauto,x-systemd.automount