Find and Kill Process by Port
Quickly identify and terminate any process listening on a specific TCP port using `lsof` and `kill`, resolving common port conflicts during development.
Curated list of production-ready BASH scripts and coding solutions.
Quickly identify and terminate any process listening on a specific TCP port using `lsof` and `kill`, resolving common port conflicts during development.
Automate the creation of a common web project directory structure with subdirectories for `src`, `public`, `assets`, `dist`, and configuration files.
Simplify common Git workflows by automatically adding all changes, committing with a predefined message or a provided one, and pushing to the current branch.
Launch a basic HTTP server using Python's `http.server` or PHP's built-in server on a specified port, then automatically open the default web browser to that address.
Ensure your critical web services stay online with this bash script that periodically checks a service's status and automatically restarts it if it's found to be inactive.
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.