10 Commits

Author SHA1 Message Date
Ciro Santilli
51d7b85b0d bak 2022-08-04 14:01:46 +00:00
Ciro Santilli
c7efe681f2 also remove .html from internal links that have fragment 2022-08-04 13:01:45 +00:00
Ciro Santilli
b1d5e42fdc create a redirect generation system to help move non dictatorship specifics out 2022-08-04 12:01:44 +00:00
Ciro Santilli
9d3a04412a mix 2022-08-04 11:01:43 +00:00
Ciro Santilli
f6e735d5f8 film scenes 2022-08-04 10:01:42 +00:00
Ciro Santilli
2891f9ab05 fix 2022-08-04 09:01:41 +00:00
Ciro Santilli
24c4ed2a59 dontagree 2022-08-04 08:01:40 +00:00
Ciro Santilli
d8e7c947dc those against 2022-08-04 07:01:39 +00:00
Ciro Santilli
194d9bb2a2 no action for ciro 2022-08-04 06:01:38 +00:00
Ciro Santilli
4282ada9b2 fix ga v2 2022-08-04 05:01:37 +00:00
6 changed files with 118 additions and 26 deletions

View File

@@ -49,6 +49,7 @@ $(OUT_MULTIPAGE): $(IN) template_dir/*
-r asciidoctor-multipage \ -r asciidoctor-multipage \
$(OPTS) \ $(OPTS) \
'$<' '$<'
./generate-redirects
clean: clean:
rm -rf $(OUT) $(BODY) rm -rf $(OUT) $(BODY)

View File

@@ -7,7 +7,6 @@ pre{ white-space:pre }
} }
</style> </style>
<script> <script>
<!-- Google Analytics, AKA selling my soul to Google for some backlinks. -->
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
@@ -15,11 +14,10 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
ga('create', 'UA-47867706-1', 'auto'); ga('create', 'UA-47867706-1', 'auto');
ga('send', 'pageview'); ga('send', 'pageview');
</script> </script>
<!-- Google Analytics GitLab Universal + GA4 https://webapps.stackexchange.com/questions/154503/how-to-enable-universal-analytics-on-existing-google-analytics-4-property --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-DEE2HEJW9X"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-47867706-2"></script>
<script> <script>
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);} function gtag(){dataLayer.push(arguments);}
gtag('js', new Date()); gtag('js', new Date());
gtag('config', 'UA-47867706-2'); gtag('config', 'G-DEE2HEJW9X');
</script> </script>

View File

@@ -4902,6 +4902,10 @@ The Chinese army, and also one of the central intelligence agencies, notably on
As highlighted on <<the-gate-of-heavenly-peace-1995>> 1:41, the PLA were really thought of as heroes of the people, partly due to Mao-era propaganda, as their name indicates. But when they stepped into Tiananmen, some of that was lost. As highlighted on <<the-gate-of-heavenly-peace-1995>> 1:41, the PLA were really thought of as heroes of the people, partly due to Mao-era propaganda, as their name indicates. But when they stepped into Tiananmen, some of that was lost.
Chinese soldier throwing flag over own head during the Beijing 2022 Winter Olympics:
* https://www.reddit.com/r/maybemaybemaybe/comments/snkkxb/maybe_maybe_maybe/
.A Chinese soldier smashes bricks on a colleague's head during joint Chinese-<<india>> anti-terrorism exercises in Kunming in 2007. http://mil.news.sina.com.cn/2014-02-26/0954766058.html from <<sina>> give the Chinese term "油锤贯顶". https://nastyhobbit.org/details.php?image_id=370[Source]. https://sinosphere.blogs.nytimes.com/2014/02/24/military-brick-breaking-demonstrations-face-the-chop/[Better source with worse image quality]. .A Chinese soldier smashes bricks on a colleague's head during joint Chinese-<<india>> anti-terrorism exercises in Kunming in 2007. http://mil.news.sina.com.cn/2014-02-26/0954766058.html from <<sina>> give the Chinese term "油锤贯顶". https://nastyhobbit.org/details.php?image_id=370[Source]. https://sinosphere.blogs.nytimes.com/2014/02/24/military-brick-breaking-demonstrations-face-the-chop/[Better source with worse image quality].
image::{china-dictatorship-media-base}/PLA_soldier_breaking_bricks_on_head.jpg[height=400] image::{china-dictatorship-media-base}/PLA_soldier_breaking_bricks_on_head.jpg[height=400]
@@ -12319,6 +12323,9 @@ video::nPc3bSbKw28[youtube,height=400,width=600]
.https://www.youtube.com/watch?v=_VaNnC8knew (https://github.com/cirosantilli/china-dictatorship/issues/724[GitHub reupload]) <<mao-zedong>>, <<xi-jinping>>, <<nazi,hitler>>, <<stalin>> and Korean dictators Kim Il-sung and his grandson Kim Jong-un singing the popular dance-pop song https://en.wikipedia.org/wiki/Dragostea_Din_Tei[Dragostea Din Tei by O-Zone (2003)], AKA https://knowyourmeme.com/memes/numa-numa[Numa Numa due to a popular pre-YouTube meme]. Watermarked wombo.ai which refers to: https://www.wombo.ai/ and appears to be specialized for singing music video deepfakes. .https://www.youtube.com/watch?v=_VaNnC8knew (https://github.com/cirosantilli/china-dictatorship/issues/724[GitHub reupload]) <<mao-zedong>>, <<xi-jinping>>, <<nazi,hitler>>, <<stalin>> and Korean dictators Kim Il-sung and his grandson Kim Jong-un singing the popular dance-pop song https://en.wikipedia.org/wiki/Dragostea_Din_Tei[Dragostea Din Tei by O-Zone (2003)], AKA https://knowyourmeme.com/memes/numa-numa[Numa Numa due to a popular pre-YouTube meme]. Watermarked wombo.ai which refers to: https://www.wombo.ai/ and appears to be specialized for singing music video deepfakes.
video::_VaNnC8knew[youtube,height=400,width=600] video::_VaNnC8knew[youtube,height=400,width=600]
.https://www.youtube.com/watch?v=6zn-PkCGTCM Silly Xi Jinping face swap videos compilation by Mr. Kurosawa's channel
video::6zn-PkCGTCM[youtube,height=400,width=600]
[[carrie-lam]] [[carrie-lam]]
=== Carrie Lam (林鄭月娥, 2017-) === Carrie Lam (林鄭月娥, 2017-)
@@ -12540,6 +12547,9 @@ image::https://web.archive.org/web/20210322084100im_/https://i.redd.it/fhs2nt5fk
.Mao Zedong statue over rubble. TODO location/date/event. Some sources: August 2023 r/LOOK_CHINA<<reddit>> https://www.reddit.com/r/LOOK_CHINA/comments/15lgrbw/什么灾祸源头/[], August 2023 on disp.cc, possibly <<ptt>> related: https://disp.cc/b/ACG/gnVT .Mao Zedong statue over rubble. TODO location/date/event. Some sources: August 2023 r/LOOK_CHINA<<reddit>> https://www.reddit.com/r/LOOK_CHINA/comments/15lgrbw/什么灾祸源头/[], August 2023 on disp.cc, possibly <<ptt>> related: https://disp.cc/b/ACG/gnVT
image::{china-dictatorship-media-base}/Mao_Zedong_statue_over_rubble.jpg[height=800] image::{china-dictatorship-media-base}/Mao_Zedong_statue_over_rubble.jpg[height=800]
https://www.youtube.com/watch?v=dW1oF9R9RLc Red Sun In The Sky (天上太陽紅彤彤)
video::dW1oF9R9RLc[youtube,height=400,width=600]
[[the-private-life-of-chairman-mao]] [[the-private-life-of-chairman-mao]]
==== The Private Life of Chairman Mao (毛泽东私人医生回忆录) ==== The Private Life of Chairman Mao (毛泽东私人医生回忆录)
@@ -15551,11 +15561,56 @@ The seven top people of the party as of 2020, ranked in a specific order.
In 2018 they had the 13th congress. 2980 were elected for the next 5 years for it, and then in theory they vote to choose the <<president-of-the-people-s-republic-of-china>>. In 2018 they had the 13th congress. 2980 were elected for the next 5 years for it, and then in theory they vote to choose the <<president-of-the-people-s-republic-of-china>>.
ttps://www.rfi.fr/cn/中国/20130315-1票反对习近平做国家主席网民竞猜是谁 https://www.rfi.fr/cn/中国/20130315-1票反对习近平做国家主席网民竞猜是谁
The Chinese is:
* 赞成 : for
* 反对 : against
* 弃权 : abstain
[[xi-jinping-2970]] [[xi-jinping-2970]]
.Montage of the vote display board during the 12th (2013), 13th (2018) and 14th (2023) <<national-people-s-congress>> showing how <<xi-jinping>> was elected with. 2013: 2955 for, 1 against, 3 abstentions. 2018: 2970 votes for, 0 abstentions and 0 votes against. 2023: 2952 votes for, 0 abstantions, 0 against. These elections can't possibly be rigged, the Chinese people are in perfect harmony! The 2018 image image was used as the "democracy" image in the <<core-socialist-values-by-1v9ex,Core Socialist Values montage by 1v9ex>>. Sources: https://www.rfi.fr/cn/中国/20130315-1票反对习近平做国家主席网民竞猜是谁[2013], http://m.cyol.com/content/2018-03/21/content_17039285.htm[2018], https://www.telegraph.co.uk/world-news/2023/03/10/vladimir-putin-congratulates-dear-friend-xi-jinping-winning/[2023]. .Montage of the vote display board during the 12th (2013), 13th (2018) and 14th (2023) <<national-people-s-congress>> showing how <<xi-jinping>> was elected with. 2013: 2955 for, 1 against, 3 abstentions. 2018: 2970 votes for, 0 abstentions and 0 votes against. 2023: 2952 votes for, 0 abstantions, 0 against. These elections can't possibly be rigged, the Chinese people are in perfect harmony! The 2018 image image was used as the "democracy" image in the <<core-socialist-values-by-1v9ex,Core Socialist Values montage by 1v9ex>>. Sources: https://www.rfi.fr/cn/中国/20130315-1票反对习近平做国家主席网民竞猜是谁[2013], http://m.cyol.com/content/2018-03/21/content_17039285.htm[2018], https://www.telegraph.co.uk/world-news/2023/03/10/vladimir-putin-congratulates-dear-friend-xi-jinping-winning/[2023].
image::{china-dictatorship-media-base}/Xi_Jinping_elected_2970_for_0_against_in_2018.jpg[height=600] image::{china-dictatorship-media-base}/Xi_Jinping_elected_2970_for_0_against_in_2018.jpg[height=1200]
[[those-against-raise-their-hands]]
====== Those against raise their hands (不同意的请举手)
https://github.com/cirosantilli/china-dictatorship/issues/1483
Rough summary of commands used for the video creation on Ubuntu 24.10:
....
yt-dlp --merge-output-format mkv https://www.youtube.com/watch?v=aYaSyheXHfg
ffmpeg -i xi2017.mkv -s 854x480 xi2017.webm
whisper --lang zh xi2017.webm
ffmpeg -y -i xi2017.webm -vf "subtitles=filename=xi2017.srt:force_style='Fontsize=20,MarginV=240'" xi2017engsub.webm
....
[[those-against-raise-their-hands-2017]]
.https://www.youtube.com/watch?v=mLJOsj0sOR8 Those against raise their hands (不同意的请举手), October 10, 2017. https://www.youtube.com/watch?v=Fdc-m5hTRpk[Source].
video::mLJOsj0sOR8[youtube,height=400,width=600]
[[those-against-raise-their-hands-2022]]
.https://www.youtube.com/watch?v=9iMFeINLUpk Those against raise their hands (不同意的请举手) 2022. https://www.youtube.com/watch?v=aYaSyheXHfg[Source].
video::9iMFeINLUpk[youtube,height=400,width=600]
.https://www.youtube.com/watch?v=-Sg50edXPdM Al Capone hits a homerun scene from the film The Untouchables (1987)
video::-Sg50edXPdM[youtube,height=400,width=600]
.https://www.youtube.com/watch?v=Yg48GsMJeaE Comittee meeting scene from the film The Death of Stalin (2017)
video::Yg48GsMJeaE[youtube,height=400,width=600]
.https://www.youtube.com/watch?v=SCbat53DgSc Those against raise their hands Xi Jinping remix by Ciro Santilli
video::SCbat53DgSc[youtube,height=400,width=600]
.https://www.youtube.com/watch?v=qB7ahtnwCrE Those against raise their hands joke video by Mr. Kurosawa's channel. Video is edited so that everyone disagress and at the Xi says "they will be missed".
video::qB7ahtnwCrE[youtube,height=400,width=600]
Announced at:
* https://mastodon.social/@cirosantilli/114511641933313877
* https://x.com/cirosantilli/status/1922977763541033384
[[president-of-the-people-s-republic-of-china]] [[president-of-the-people-s-republic-of-china]]
====== President of the People's Republic of China (中华人民共和国主席) ====== President of the People's Republic of China (中华人民共和国主席)
@@ -22678,13 +22733,11 @@ see also: <<why-is-ukraine-the-west-s-fault-by-john-mearsheimer-2015,Why is Ukra
TODO migrate all into this README. TODO migrate all into this README.
. link:censorship.md[Censorship] . https://github.com/cirosantilli/china-dictatorship/blob/master/CONTRIBUTING.md
. link:media.md[Media] . https://github.com/cirosantilli/china-dictatorship/blob/master/media.md
. link:dissidents.md[Dissidents] . https://github.com/cirosantilli/china-dictatorship/blob/master/dissidents.md
. link:movements.md[Movements against the Dictatorship] . https://github.com/cirosantilli/china-dictatorship/blob/master/movements.md
. link:images/[Images] . https://github.com/cirosantilli/china-dictatorship/blob/master/policies.md
. link:policies.md[Policies] . https://github.com/cirosantilli/china-dictatorship/blob/master/stack-overflow-profile.md
. link:stack-overflow.md[Stack Overflow]
. link:stack-overflow-profile.md[Stack Overflow profile]
. Personal . Personal
.. link:communities-that-censor-politics.md[Communities that censor politics] .. https://github.com/cirosantilli/china-dictatorship/blob/master/communities-that-censor-politics.md

View File

@@ -62,7 +62,7 @@ if (isComment) {
const quoteArray = []; const quoteArray = [];
const noQuoteArray = []; const noQuoteArray = [];
for (const line of titleAndBody.split('\n')) { for (const line of titleAndBody.split('\n')) {
// Remove some speical chars to remove at mention spam possibilities. // Remove some special chars to remove at mention spam possibilities.
const l = line.replace(/[@#]/g, "") const l = line.replace(/[@#]/g, "")
quoteArray.push('> ' + l); quoteArray.push('> ' + l);
noQuoteArray.push(l); noQuoteArray.push(l);
@@ -188,6 +188,7 @@ try {
//}) //})
} else { } else {
// Update labels. // Update labels.
if (author !== 'cirosantilli') {
console.log('before octokit.rest.issues.update') console.log('before octokit.rest.issues.update')
await octokit.rest.issues.update({ await octokit.rest.issues.update({
owner: payload.repository.owner.login, owner: payload.repository.owner.login,
@@ -196,7 +197,7 @@ try {
labels: Array.from([...labels, ...newLabels]) labels: Array.from([...labels, ...newLabels])
}) })
console.log('after octokit.rest.issues.update') console.log('after octokit.rest.issues.update')
html_url = payload.issue.html_url }
} }
// Get the latest news from duty-machine. // Get the latest news from duty-machine.
// Can't do fetches anymore they were DMCA'ed. // Can't do fetches anymore they were DMCA'ed.

39
generate-redirects Executable file
View File

@@ -0,0 +1,39 @@
#!/usr/bin/env bash
set -eu
for fromto in \
'CONTRIBUTING.md https://github.com/cirosantilli/china-dictatorship/blob/master/CONTRIBUTING.md' \
'censorship.md https://github.com/cirosantilli/china-dictatorship/blob/master/censorship.md' \
'communities-that-censor-politics.md https://github.com/cirosantilli/china-dictatorship/blob/master/communities-that-censor-politics.md' \
'dissidents.md https://github.com/cirosantilli/china-dictatorship/blob/master/dissidents.md' \
'flg-organ-harvesting= flg-organ-harvesting' \
'funded- funded-by-cia' \
'high-mountain-and-running-river https://ourbigbook.com/cirosantilli/high-mountain-and-flowing-water' \
'images https://github.com/cirosantilli/china-dictatorship-media' \
'media.md https://github.com/cirosantilli/china-dictatorship/blob/master/media.md' \
'overlook-human-rights-for-profitac overlook-human-rights-for-profit' \
'policies.md https://github.com/cirosantilli/china-dictatorship/blob/master/policies.md' \
'schinese-characters-are-insane chinese-characters-are-insane' \
'stack-overflow-profile.md https://github.com/cirosantilli/china-dictatorship/blob/master/stack-overflow-profile.md' \
'stack-overflow.md stack-overflow' \
'white-snow-in-sunny-spring https://ourbigbook.com/cirosantilli/white-snow-in-sunny-spring' \
do
from="${fromto%% *}"
to="${fromto#* }"
cat <<EOF > "out/multipage/$from.html"
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Redirecting...</title>
<link rel="canonical" href="$to"/>
<meta http-equiv="refresh" content="0;url=$to" />
</head>
<body>
<h1>Redirecting...</h1>
<a href="$to">Click here if you are not redirected.</a>
<script>location='$to'</script>
</body>
</html>
EOF
done

2
push
View File

@@ -32,7 +32,7 @@ function multipage-fixup() (
find "$1" -name '*.html' ! -name 'index.html' | xargs perl -lapi -e ' find "$1" -name '*.html' ! -name 'index.html' | xargs perl -lapi -e '
s/<h[2-6] id="/<h2 id="/g; s/<h[2-6] id="/<h2 id="/g;
s/href="README.html"/href="index-split"/g; s/href="README.html"/href="index-split"/g;
s/(href="(?![^"]+:\/\/)[^"]+).html"/\1"/g; s/(href="(?![^"]+:\/\/)[^"]+).html(#[^"]*)?"/\1\2"/g;
' '
# Not possible, it is identical to other lists actually... # Not possible, it is identical to other lists actually...
# s/(<div class="paragraph nav-footer">)/<h2>Table of contents<\/h2>\1/g; # s/(<div class="paragraph nav-footer">)/<h2>Table of contents<\/h2>\1/g;