Merge pull request #2281 from XhmikosR/patch-2

This commit is contained in:
Steven Black 2023-04-08 11:30:03 -04:00 committed by GitHub
commit 3dc0b5f962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 19 deletions

View File

@ -1,14 +1,20 @@
# editorconfig.org
root = true
[*.py]
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
indent_size = 4
end_of_line = LF
[*.bat]
end_of_line = CRLF
end_of_line = crlf
[*.md]
trim_trailing_whitespace = false
insert_final_newline = true
[*.py]
indent_size = 4

2
.github/stale.yml vendored
View File

@ -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: >

View File

@ -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`

View File

@ -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)

View File

@ -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