mirror of
https://github.com/StevenBlack/hosts.git
synced 2025-03-14 10:36:53 +00:00
Remove unneeded trailing whitespaces
This commit is contained in:
2
.github/stale.yml
vendored
2
.github/stale.yml
vendored
@ -13,7 +13,7 @@ staleLabel: wontfix
|
||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
||||
markComment: >
|
||||
This issue has been automatically marked as stale because it has not had
|
||||
recent activity. It will be closed in 14 days if no further activity occurs.
|
||||
recent activity. It will be closed in 14 days if no further activity occurs.
|
||||
Thank you for your contributions.
|
||||
# Comment to post when closing a stale issue. Set to `false` to disable
|
||||
closeComment: >
|
||||
|
@ -500,7 +500,7 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
### macOS
|
||||
|
||||
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
|
||||
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
|
||||
open a Terminal and run:
|
||||
|
||||
```sh
|
||||
@ -608,7 +608,7 @@ devices under a variety of operating systems.
|
||||
provides a tool to build block lists from local and remote lists in common
|
||||
formats.
|
||||
- [Control D](https://controld.com/free-dns)
|
||||
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
|
||||
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
|
||||
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
|
||||
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
|
||||
|
||||
|
@ -52,14 +52,12 @@ extensions/social/tiuxo
|
||||
IFS='
|
||||
'
|
||||
|
||||
for item in $lists
|
||||
do
|
||||
for item in $lists; do
|
||||
echo -n "" > $item/stats.out
|
||||
|
||||
for HASH_DATE in $(git log --reverse --format="%t,%as" -- $item)
|
||||
do
|
||||
for HASH_DATE in $(git log --reverse --format="%t,%as" -- $item); do
|
||||
# echo $item $HASH_DATE
|
||||
IFS=" "
|
||||
IFS=" "
|
||||
split=(${HASH_DATE//,/ })
|
||||
git checkout ${split[0]} ${item}/hosts 1> /dev/null 2> /dev/null
|
||||
domains=$(rh -q -m $item/hosts)
|
||||
|
14
stats.sh
14
stats.sh
@ -1,10 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo \n "" > stats.out
|
||||
|
||||
for TAG_DATE in $(git tag --sort=creatordate --format='%(refname:short),%(creatordate:short)'); do
|
||||
# echo "$TAG_DATE"
|
||||
split=(${TAG_DATE//,/ })
|
||||
# echo ${split[0]}
|
||||
git checkout tags/${split[0]} readmeData.json
|
||||
entries=$(jq '.base.entries' readmeData.json)
|
||||
echo ${split[1]},${entries} >> stats.out
|
||||
# echo "$TAG_DATE"
|
||||
split=(${TAG_DATE//,/ })
|
||||
# echo ${split[0]}
|
||||
git checkout tags/${split[0]} readmeData.json
|
||||
entries=$(jq '.base.entries' readmeData.json)
|
||||
echo ${split[1]},${entries} >> stats.out
|
||||
done
|
||||
|
Reference in New Issue
Block a user