-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get rid of Archive.org, Wikiless, Nitter, and Invidious cross-references #212
Get rid of Archive.org, Wikiless, Nitter, and Invidious cross-references #212
Conversation
…rences Getting rid of Archive.org , Wikiless , Nitter , Invidious cross-references
Does what it's supposed to. LGTM. I'm checking links before approving. |
* Organizational fixes will work for now until later when we can cleanup. * Missed a few superscript links I think it looks beautiful! Signed-off-by: pterocles <th.thgtoa@disroot.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only had to do a few things to tidy up. We'll have to go through and do another PR on just organizing and final cleanup but I have no complaints. Thanks @TwoSixtyThreeFiftyFour!
Please @dan-kir and @NobodySpecial256 , have a review at this as it modifies the entire document and simplifies it. And makes the document 1300 lines shorter. I'm certain we will have significant less issues with exporting to PDF after getting rid of all non numbered end-notes of type, leaving only the actual references |
Fixed some .onion links that were HTTPS when only working on HTTP
Re-adding missing B6 and car warning.
Update fixes to be in sync with current guide.md
Appendix B6 isn't in master yet. |
I know, working on it |
Cool. Actually, it is, just not the ToC. |
Sync fixes again
All should be okay now |
Signed-off-by: pterocles <th.thgtoa@disroot.org>
guide.md
Outdated
@@ -820,7 +820,7 @@ The IMEI and IMSI can be traced back to you in at least six ways: | |||
|
|||
Here is also a good YouTube video on this topic: DEFCON Safe Mode - Cooper Quintin - Detecting Fake 4G Base Stations in Real-Time <https://www.youtube.com/watch?v=siCk4pGGcqA> <sup>[[Invidious]](https://yewtu.be/watch?v=siCk4pGGcqA)</sup> | |||
|
|||
**For these reasons, it is crucial to get dedicated an anonymous phone number and/or an anonymous burner phone with an anonymous pre-paid sim card that is not tied to you in any way (past or present) for conducting sensitive activities (See more practical guidance in [Getting an anonymous Phone number][Getting an anonymous Phone number:] section).** | |||
**For these reasons, it is crucial to get dedicated an anonymous phone number and/or an anonymous burner phone with an anonymous pre-paid sim card that is not tied to you in any way (past or present) for conducting sensitive activities. It is also possible get an anonymous pre-paid but preferably dedicated number from specific free and paid online services accepting anonymous cryptocurrencies like Monero (Get more practical guidance here: [Getting an anonymous Phone number][Getting an anonymous Phone number:]).** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please spell check before you push commits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. But this was not a spell checking PR. Wanted to limit the scope of it. Sorry if I missed this as part of the sync.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. But this was not a spell checking PR. Wanted to limit the scope of it. Sorry if I missed this as part of the sync.
Only if the spelling errors are introduced by your changes, which they are were in this case. It's not often, but do try and fix those before they get to master. Anyway, this was a huge task and thanks for taking time to get the script right the first time. Very well done.
The commit https://github.com/Anon-Planet/thgtoa/pull/212/files#diff-dc0dbe13416a77d17f112b7668fb77ba60dc51e684d2cc20e8850df204e53846L4801 seems to have broken a small link in #212 ("Get rid of Archive.org, Wikiless, Nitter, and Invidious cross-references") Signed-off-by: Sharp-tailed Grouse <sharptail@riseup.net>
Fix broken link from #212
The commit https://github.com/Anon-Planet/thgtoa/pull/212/files#diff-dc0dbe13416a77d17f112b7668fb77ba60dc51e684d2cc20e8850df204e53846L4801 seems to have broken a small link in #212 ("Get rid of Archive.org, Wikiless, Nitter, and Invidious cross-references") Signed-off-by: Sharp-tailed Grouse <sharptail@riseup.net>
The commit https://github.com/Anon-Planet/thgtoa/pull/212/files#diff-dc0dbe13416a77d17f112b7668fb77ba60dc51e684d2cc20e8850df204e53846L4801 seems to have broken a small link in #212 ("Get rid of Archive.org, Wikiless, Nitter, and Invidious cross-references") Signed-off-by: Sharp-tailed Grouse <sharptail@riseup.net>
Probably the last super large PR, unavoidable I'm afraid.
Getting rid of Archive.org , Wikiless , Nitter , Invidious (and a few others) cross-references. See #129.
This should get rid of the remains of word processors (except some tables) and also help in exporting to other formats.
Command used:
gawk -v RS='</sup>|\n' -F ': ' '{sub(/\r$/, "")} FNR==NR {if (NF==2 && $1 ~ /^[[:blank:]]*\[[0-9]+]$/) map[gensub(/^[[:blank:]]+/, "", "1", $1)]=$2; next} match($0, /\[\[[^]]+]](\[[0-9]+])/, a) && a[1] in map {$0 = substr($0, 1, RSTART+RLENGTH-length(a[1])-1) "(" map[a[1]] ")" substr($0, RSTART+RLENGTH)} ORS=RT' file file > result
Ready for final review
Doing it section by section is not convenient/useful since you'd have to isolate the section AND the references that might be used by other links. Making the whole thing complicated.
Now this is just "checking one by one" instead of "doing it manually"