From 7a27104b28da0a95fbe8eaf6474fd4c283228e86 Mon Sep 17 00:00:00 2001 From: ethanaicode Date: Thu, 10 Jul 2025 15:43:06 +0800 Subject: [PATCH] add: 16 new URLs --- CHANGELOG.md | 4 ++++ README.md | 32 ++++++++++++++++++++++++++++++++ hosts | 19 +++++++++++++++++++ merge.sh | 2 +- 4 files changed, 56 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00c6ef9..0c2ff21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## 2025-07-04 + +- Added 16 new URLs + ## 2025-01-03 - Added more URLs diff --git a/README.md b/README.md index 69b40e7..d0103e1 100644 --- a/README.md +++ b/README.md @@ -71,3 +71,35 @@ This project is intended for educational and informational purposes only. Use it ## Contributing Feel free to submit a pull request or open an issue if you have any suggestions or improvements. + +### How to Merge New Host Entries + +To contribute new host entries efficiently, please use the provided `merge.sh` script to merge and deduplicate entries before submitting a pull request. + +#### Steps: + +1. Create a new file named `hosts.new.temp` and add **only the new host entries** you wish to contribute. + +2. Run the following command in your terminal: + + ```bash + ./merge.sh + ``` + +3. This script will: + + - Copy the current `hosts` file to a new file `hosts.new` + - Compare your new entries (`hosts.new.temp`) against the existing `hosts` file + - Append only the **non-duplicate** lines into `hosts.new` + +4. After running the script, review the `hosts.new` file to ensure correctness. + +5. If everything looks good, replace the `hosts` file with the merged `hosts.new`: + + ```bash + mv hosts.new hosts + ``` + +6. Commit your changes and submit a pull request. + +> 💡 This script helps maintain a clean and deduplicated hosts list while speeding up the merge process. diff --git a/hosts b/hosts index a206384..38ee80c 100644 --- a/hosts +++ b/hosts @@ -943,6 +943,25 @@ 0.0.0.0 5amul9liob.adobestats.io 0.0.0.0 ecsdxf3wl3.adobestats.io +# Add: @2025-07-10 + +0.0.0.0 v62vpzg2av.adobestats.io +0.0.0.0 a1815.dscr.akamai.net +0.0.0.0 ims-na1.adobelogin.com.cdn.cloudflare.net +0.0.0.0 o1383653.ingest.sentry.io +0.0.0.0 wtl71c0ylo.adobestats.io +0.0.0.0 3d5vic7so2.adobestats.io +0.0.0.0 o987771.ingest.us.sentry.io +0.0.0.0 rekkvg49.mw1i8.adobestats.io +0.0.0.0 y1sg2131f84.mw1i8.adobestats.io +0.0.0.0 o987771.ingest.us.sentry.io +0.0.0.0 a1815.dscr.akamai.net +0.0.0.0 3d5vic7so2.adobestats.io +0.0.0.0 ims-na1.adobelogin.com.cdn.cloudflare.net +0.0.0.0 o1383653.ingest.sentry.io +0.0.0.0 wtl71c0ylo.adobestats.io +0.0.0.0 jgletrkp.mw1i8.adobestats.io + # Adobe End #### diff --git a/merge.sh b/merge.sh index 8bd564b..d17853e 100755 --- a/merge.sh +++ b/merge.sh @@ -1,11 +1,11 @@ #!/bin/bash +# merge.sh - Merge new host entries from hosts.new.temp into hosts.new (removing duplicates) TEMP_HOSTS="hosts.new.temp" HOSTS="hosts" NEW_HOSTS="hosts.new" cp "$HOSTS" "$NEW_HOSTS" - grep -vxFf "$HOSTS" "$TEMP_HOSTS" >> "$NEW_HOSTS" echo "Merged $TEMP_HOSTS into $NEW_HOSTS"