Efficient Remote File Deployment with Rsync
Automate the deployment of your static website files or build artifacts to a remote server using rsync, ensuring only changed files are transferred efficiently.
Curated list of production-ready BASH scripts and coding solutions.
Automate the deployment of your static website files or build artifacts to a remote server using rsync, ensuring only changed files are transferred efficiently.
Learn how to quickly parse and extract specific data fields from JSON responses returned by web APIs using the powerful command-line JSON processor `jq`.
Implement a bash script to automatically delete log files older than a specified number of days, helping to manage disk space and maintain server hygiene.
Create a bash script to perform basic health checks on web services or URLs using `curl`, verifying HTTP status codes and response times for service availability.
Learn to load and export project-specific environment variables from a `.env` file into your current shell session, essential for managing configurations in development.
Learn to efficiently parse and extract specific data from JSON files and API responses using the powerful `jq` command-line JSON processor in bash scripts.
Streamline your web development workflow by automating the addition and removal of custom local domain entries in your `/etc/hosts` file using a simple bash script.
Enhance web security by configuring HSTS in Nginx, forcing browsers to communicate with your server exclusively over HTTPS and preventing downgrade attacks.
Automate the creation of a new project directory structure and immediately navigate into it, streamlining development setup for web projects.
Monitor a specified log file continuously for the occurrence of specific keywords, useful for real-time debugging and error detection in web server logs.
Create a compressed, timestamped archive of a specified directory, ideal for regular backups of web project files, databases, or configurations.
Automatically check if a specified systemd service is active and restart it if it's not, ensuring continuous availability for web applications or databases.