mirror of
https://github.com/xodivorce/infra-xodivorce-in.git
synced 2026-02-04 14:12:23 +05:30
1.4 KiB
1.4 KiB
FAQ (Frequently Asked Questions)
🇺🇸 English FAQ | 🇮🇳 FAQ हिंदी में | 🇷🇺 ЧаВо на Русском | 🇮🇹 FAQ in Italiano
Why isn’t my favicon showing up during local development?
- Open your terminal at
src/and paste the following commands:
# This may cause use your device's password
sudo chmod 644 assets/favicon/*
sudo chmod 755 assets/favicon
How do I remove .DS_Store files from all directories?
- First, verify the directory where
.DS_Storefiles are exists:
# Delete all .DS_Store files
find . -type f -name ".DS_Store" -delete
# Verify if there are any leaflovers!
find . -name ".DS_Store"
How do I convert PNG and JPG images to WebP?
- Make sure
ffmpegis installed, then run the commands from the directory containing your images.
# Convert all PNG files to WebP
for f in *.png; do
ffmpeg -i "$f" \
-map_metadata -1 \
-pix_fmt yuv444p \
-c:v libwebp \
-lossless 0 \
-quality 98 \
"${f%.png}.webp"
done
# Convert all JPG files to WebP
for f in *.jpg; do
ffmpeg -i "$f" \
-map_metadata -1 \
-pix_fmt yuv444p \
-c:v libwebp \
-lossless 0 \
-quality 98 \
"${f%.jpg}.webp"
done