Snippet: Deploy Astro Sites to a VPS with rsync
2026-10-20
Build Astro sites locally, upload their static output to a VPS, and deploy it to a web directory with rsync.
79 words
|
1 minutes
Snippet: Generate a Strong Random Password with OpenSSL
Generate a random 64-character hexadecimal password with OpenSSL.
11 words
|
1 minutes
Snippet: Create Tar Archives With or Without Zstandard Compression
Create an uncompressed tar archive or compress a tar archive with Zstandard.
38 words
|
1 minutes
Snippet: Copy a Folder from an HDD to a Local Drive with rsync
Copy a folder from an HDD to a local drive with rsync, and rerun the command to continue copying files that are still missing.
17 words
|
1 minutes
Snippet: Find and Delete Duplicate Files While Keeping One Copy
Use jdupes to find duplicate files recursively and remove duplicates while keeping one copy of each.
13 words
|
1 minutes
Snippet: Take a Screenshot from a Video at a Specific Time
Use FFmpeg to extract a frame from a video and save it as a JPEG.
30 words
|
1 minutes
Snippet: Convert an SVG to a PNG with a Transparent Background
Use ImageMagick to convert an SVG file to a PNG while preserving its transparent background.
20 words
|
1 minutes
Snippet: Mount an NTFS USB Drive Manually on Linux
Identify an NTFS USB drive in Linux and mount its partition manually.
30 words
|
1 minutes