38 Commits

Author SHA1 Message Date
Ciro Santilli
54a5acf0c1 bump package version 2021-07-21 18:52:46 +01:00
Ciro Santilli
a1a86df66b Rename intermediate file README.body.html -> body.html to try and prevent inclusion in NPM package, so invasive 2021-07-21 18:52:13 +01:00
Ciro Santilli
d269023ce8 grandma wong 2021-07-17 23:58:33 +01:00
Ciro Santilli
16b8dda951 core values license 2021-07-15 09:10:12 +01:00
Ciro Santilli
468590548a core values up 2021-07-15 09:06:33 +01:00
Ciro Santilli
b761a2b6c7 Core_socialist_values.jpg 2021-07-15 09:04:52 +01:00
Ciro Santilli
928199a62a action bug 2021-07-13 12:56:31 +01:00
Ciro Santilli
372645612e meant to be used automation 2021-07-12 09:47:20 +01:00
Ciro Santilli
45b99fac87 better description 2021-07-11 12:05:59 +01:00
Ciro Santilli
26a0334a9b core socialist values 2021-07-06 11:55:25 +01:00
Ciro Santilli
d191dd49d6 anonymous middle fingers 2021-07-01 18:21:59 +01:00
Ciro Santilli
554fec0ed8 bug2 2021-06-30 08:42:52 +01:00
Ciro Santilli
7b0368e9ee bug 2021-06-30 08:41:24 +01:00
Ciro Santilli
13b7c7864c OK, comments should work now 2021-06-30 08:39:34 +01:00
Ciro Santilli
ae6d92f4f8 quick issue_comment trial 2021-06-30 08:30:25 +01:00
Ciro Santilli
e4dee73cfc woke global times 2021-06-28 15:30:14 +01:00
Ciro Santilli
2ab961ad17 more food 2021-06-28 14:29:09 +01:00
Ciro Santilli
ece35cb8d7 uyghur knives 2021-06-23 20:07:52 +01:00
Ciro Santilli
dd7840ac37 to 11 2021-06-23 19:19:05 +01:00
Ciro Santilli
e3258da4a7 george floyd protests 2021-06-21 19:17:35 +01:00
Ciro Santilli
11aea9b147 so pro-ccp dude 2021-06-21 14:41:32 +01:00
Ciro Santilli
64346d95b1 we-dont-hire-blacks-by-aaron-dewitt-2020 2021-06-21 13:35:22 +01:00
Ciro Santilli
12f6100c7e improve programthink 2021-06-20 10:26:24 +01:00
Ciro Santilli
2aa6c1147a dual use bread 2021-06-19 19:52:16 +01:00
Ciro Santilli
74f1be90ea add some scarfolk images 2021-06-18 10:40:25 +01:00
Ciro Santilli
77bca3f15b improve shitpost 2021-06-18 08:42:31 +01:00
Ciro Santilli
261e2c7ce7 stuff 2021-06-17 09:16:25 +01:00
Ciro Santilli
06e4e2396f leiroc issue 2021-06-07 11:22:15 +01:00
Ciro Santilli
953302f143 stack-exchange-lost-freedom-of-speech.md 2021-06-07 11:07:13 +01:00
Ciro Santilli
5f31cd9bf0 黑科技 2021-06-05 01:00:00 +00:00
Ciro Santilli
f576931f77 Baidu baike censorship screenshot 2021-06-03 01:00:00 +00:00
Ciro Santilli
2f15814657 xi porn begin 2021-05-28 01:00:00 +00:00
Ciro Santilli
0dcf692c47 radio jamming 2021-05-27 03:00:02 +00:00
Ciro Santilli
9e6e49df61 contributing 2021-05-27 02:00:01 +00:00
Ciro Santilli
e6aaf66091 french nazi 2021-05-27 01:00:00 +00:00
Ciro Santilli
d7f3b546ad Hitler has only got one ball 2021-05-23 03:00:02 +00:00
Ciro Santilli
e983afb0bd better action 2021-05-23 02:00:01 +00:00
Ciro Santilli
b341695cd9 harry harrison 2021-05-23 01:00:00 +00:00
16 changed files with 38307 additions and 290 deletions

View File

@@ -1,6 +1,6 @@
---
name: shitpost屎帖子
about: "None of the above, 我是小粉红,要说狗屎。习近平是我的大师傅,习万岁,希特勒万岁!!!卐卐卐卐卐卐卐卐卐 https://github.com/cirosantilli/china-dictatorship/tree/bc6c3b893fe5e59c402c54bd47fe3d9fe76bc563#shitpost"
about: "None of the above, 我是小粉红,我有小鸡鸡要说狗屎。傻逼NMSL。习近平是我的大师傅,习万岁,希特勒万岁!!!卐卐卐卐卐卐卐卐卐 https://github.com/cirosantilli/china-dictatorship/tree/bc6c3b893fe5e59c402c54bd47fe3d9fe76bc563#shitpost"
title: ''
labels: shitpost
assignees: ''

View File

@@ -2,6 +2,8 @@ name: Issue
on:
issues:
types: [opened]
issue_comment:
types: [created]
jobs:
Issue:
runs-on: ubuntu-20.04

4
.gitignore vendored
View File

@@ -1,5 +1,5 @@
/README.html
/README.body.html
/body.html
/out
# NPM README
@@ -22,3 +22,5 @@ tmp.*
/china_dictatorship/README.html
node_modules
GitHub-Chinese-Top-Charts

View File

@@ -2,7 +2,7 @@
Forbidden:
- at mention @cirosantilli (or other unsubscribed users) unless there is moderation need.
- don't at mention @cirosantilli (or other unsubscribed users) unless there is moderation need.
If Ciro unsubscribed from a thread, it means that he does not want to reply there anymore.
@@ -10,15 +10,9 @@ Forbidden:
- don't close your tickets, only @cirosantilli can decide open/close status.
Don't vandalize your titles and post bodies after posting, only @cirosantilli can do that. Remember that every new issue generates a useless notification to Ciro Santilli who watches the repo, so don't try to hide your shit after you've crapped it.
Don't vandalize your titles and post bodies after posting, only @cirosantilli can do that.
- [Evil West](https://cirosantilli.com/china-dictatorship#evil-west) posts are OK, but they *must* explain why you think a dictatorship would better solve the problem.
Further rationale at: https://cirosantilli.com/china-dictatorship#bias
- generate lots of notifications that don't teach people anything new.
Notably, Ciro will follow this repository at all times, and therefore creating new issues mean generating a notification to Ciro.
- don't create more than one boring shitpost issues
If you want to create one shitpost, even if boring and stupid to vent your rage, fine, Ciro doesn't have any problem with that and is happy to help.
@@ -38,6 +32,10 @@ Forbidden:
But as long as you follow our [shitiquette](https://en.wikipedia.org/wiki/Etiquette), you should be fine.
- [Evil West](https://cirosantilli.com/china-dictatorship#evil-west) posts are OK, but they *must* explain why you think a dictatorship would better solve the problem.
Further rationale at: https://cirosantilli.com/china-dictatorship#bias
- swearing/being very aggressive on a [`not-shitpost`](https://cirosantilli.com/china-dictatorship#shitpost) post.
Keep in mind that [Ciro's Chinese sucks](https://cirosantilli.com/china-dictatorship#does-ciro-santilli-speak-chinese), so he may not get the full nuance of your comment, especially if you use a ton of [slang](https://cirosantilli.com/china-dictatorship#slang).
@@ -48,7 +46,7 @@ Forbidden:
On `shitpost` posts however, you can be as aggressive as you want.
- if you create an issue and then block cirosantilli, you will be blocked too in return. The label is: https://github.com/cirosantilli/china-dictatorship/labels/op-blocked-ciro[op-blocked-ciro]
- if you create an issue and then block cirosantilli, you will be blocked too in return. The label is: [op-blocked-ciro](https://github.com/cirosantilli/china-dictatorship/labels/op-blocked-ciro)
Punitive measures, from least serious to most serious:

View File

@@ -2,7 +2,7 @@
OUT = README.html
HEAD = head.html
BODY = README.body.html
BODY = body.html
FOOT = foot.html
MEDIA =

File diff suppressed because it is too large Load Diff

View File

@@ -37,7 +37,7 @@ for await (const line of rl) {
images.add(match[1]);
}
}
images = getRandom(Array.from(images), 20);
images = getRandom(Array.from(images), 30);
full_images = []
for (const image of images) {
const url = `https://raw.githubusercontent.com/cirosantilli/china-dictatorship-media/master/${image}`;
@@ -47,13 +47,22 @@ for (const image of images) {
// Prepare reply body.
const payload = github.context.payload;
const titleAndBody = payload.issue.title + '\n\n' + payload.issue.body;
const isComment = payload.comment !== undefined;
let titleAndBody;
let author;
if (isComment) {
titleAndBody = payload.comment.body;
author = payload.comment.user.login;
} else {
titleAndBody = payload.issue.title + '\n\n' + payload.issue.body;
author = payload.issue.user.login;
}
const quoteArray = [];
for (const line of titleAndBody.split('\n')) {
// Remove some speical chars to remove at mention spam possibilities.
quoteArray.push('> ' + line.replace(/[@#]/g, ""));
}
const replyBody = `Hi ${github.context.payload.issue.user.login},
const replyBody = `Hi ${author},
${quoteArray.join('\n').substring(0,40000)}
@@ -61,14 +70,20 @@ ${full_images.join('\n\n')}
`;
// Label handling.
const labels = new Set(payload.issue.labels.map(label => label.name));
const newLabels = new Set();
let labels;
let newLabels;
if (!isComment) {
labels = new Set(payload.issue.labels.map(label => label.name));
newLabels = new Set();
const shabiWords = [
'shabi',
'shadiao',
'傻',
'傻',
'沙雕',
'智障',
'垃圾',
'啥b',
'stupid',
];
for (const word of shabiWords) {
if (new RegExp(word, 'i').test(titleAndBody)) {
@@ -79,6 +94,10 @@ for (const word of shabiWords) {
const fuckMotherWords = [
'cnm',
'操你妈',
'fuck.*\\b(mom|mum|mother)\\b',
'尼玛',
'去你吗',
'草泥马',
]
for (const word of fuckMotherWords) {
if (new RegExp(word, 'i').test(titleAndBody)) {
@@ -89,6 +108,7 @@ for (const word of fuckMotherWords) {
const motherDiedWords = [
'nmsl',
'你妈死',
'司马',
]
for (const word of motherDiedWords) {
if (new RegExp(word, 'i').test(titleAndBody)) {
@@ -96,10 +116,24 @@ for (const word of motherDiedWords) {
break;
}
}
const meantToBeUsedWords = [
'技术',
]
for (const word of meantToBeUsedWords) {
if (new RegExp(word, 'i').test(titleAndBody)) {
newLabels.add('meant-to-be-used');
break;
}
}
const shitpostWords = [
'fuck',
'shit',
'bitch',
'垃圾',
'婊子',
'恶心',
'操你',
'丑',
];
for (const word of shitpostWords) {
if (new RegExp(word, 'i').test(titleAndBody)) {
@@ -114,6 +148,7 @@ if (newLabels.size > 0) {
newLabels.add('op-does-not-know-what-shit-is');
}
}
}
// Make the request.
try {
@@ -125,12 +160,15 @@ try {
issue_number: payload.issue.number,
body: replyBody,
});
if (!isComment) {
// Update labels.
await octokit.issues.update({
owner: 'cirosantilli',
repo: payload.repository.name,
issue_number: payload.issue.number,
labels: Array.from([...labels, ...newLabels])
});
}
} catch (error) {
core.setFailed(error.message);
}

36956
body.html Normal file

File diff suppressed because it is too large Load Diff

38
description Executable file
View File

@@ -0,0 +1,38 @@
#!/usr/bin/env bash
printf "Chinese \"Communist\" \"Dictatorship\" \"facts\". 中国《共产主义》《独裁统治》的《事实》。住在中国真名用户的网友请别给星星不然你要被警察请喝茶。Friends who live in China and have real name on account, please don't star this repo, or else the police might pay you a visit. Home to the mega-FAQ, news compilation, restaurant and music recommendations. 常见问答集新闻集和饭店和音乐建议。Heil Xi 卐. 习万岁。冠状病毒审查郝海东新疆改造中心六四事件法轮功 996.ICU709大抓捕巴拿马文件邓家贵低端人口西藏骚乱"
printf '大陆修宪香港恶法台湾武统朝鲜毁约美中冷战等都是王沪宁愚弄习思想极左命运共同体的大策划中共窃国这半个多世纪所犯下的滔天罪恶前期是毛泽东策划的中期6.4前后是邓小平策划的,后期是毛的极左追随者三朝罪恶元凶王沪宁策划的。王沪宁高小肆业因文革政治和情报需要保送“学院外语班“红色仕途翻身,所以王的本质是极左的。他是在上海底层弄堂长大的,因其本性也促成其瘪三下三滥个性,所以也都说他有易主“变色龙”哈巴狗“的天性。大陆像王沪宁这样学马列政治所谓"法学"专业的人在除朝鲜古巴所有国家特别是在文明发达国家是无法找到专业对口工作必定失业唯独在大陆却是重用的紧缺“人才”6.4后中共信仰大危机更是最重用的救党“人才”。这也就是像王沪宁此类工农兵假“大学生”平步青云的原因,他们最熟悉毛泽东历次运动的宫庭内斗经验手段和残酷的阶级斗争等暴力恐怖的“政治学”。王沪宁能平步青云靠他这马毛伪“政治学”资本和头衔,不是什么真才实学,能干实事有点真才实学的或许在他手下的谋士及秘书班子中可以找到。王沪宁的“真才实学”只不过是一个只读四年小学的人,大半辈子在社会上磨炼特别是在中共官场滚打炼出的的手段和经验而已,他和习近平等保送的工农兵假“大学生”都一样,无法从事原“专业”都凭红资本而从政。六四学运期间各界一边倒支持学生,王沪宁一度去法国躲避和筹谋,他还加入了反学运签名,成为极少有的反学运者仕途突显,在六四和苏联垮台后中共意识形态危机,江泽民上台看上唯一能应急的王沪宁聚谋士泡制的"稳定统一领导"和之后的"新权威"谬论。左转被邓小平南巡阻止后,王策划顺邓经济改革却将政治改革逐步全面终止和倒退,泡制“三个代表”为极左转建立庞大牢固的红色既得利益集团。因此六四后各重大决策和危机难题都摆在中共中央政策研究室王沪宁桌面上,使王沪宁成了此后中共三朝都无法摆脱的幕后最有决策性实权的人,中共中央政策研究室是王为其野心巨资经营几十年,聚众谋士的间谍情报汇总研究的特务机关和策划制定决策重要机构与基地,王沪宁本人和决定其仕途关键的首任岳父及家属就有情报工作背景。中央政研室重要到王沪宁入常后为了死抓这中共情报与决策大权,宁可放弃国家副主席和中央党校校长。后再加个除习外唯他担任的中共几核心领导小组之一的“不忘初心牢记使命”主题教育工作小组组长。此后他把持的舆论必将以宣传“不忘初心牢记使命”为主,打造众所周知的所谓“习思想”其实是”王思想“。王自从主导中央政研室开始决策后,策划中止邓小平的与美妥协路线回归毛极左的反美路线。帮助前南斯拉夫提供情报打落美机放中使馆引发炸使馆事件,以此掀起六四后唯一的全国大规模游行并借此反美而起家。后又帮江泽民提供法轮功会是超过中共组织的情报,策划决策镇压迫害开始并没有把矛头指向江的法轮功群体,策划决定阻止党内外近三十年来平反六四的呼声。'
printf '长江证券'
printf '黄牛数据分析'
printf '致远'
printf '黑皮书'
printf '马拉松程序员'
printf '易支付'
printf '英语台词'
printf '文字匹配'
printf '美团点评各业务线提供'
printf '知识库团队共享'
printf '阿里云高精Excel识别'
printf '德讯 ·吉特胡布'
printf '薄熙来'
printf '黑科技'
printf '习近平讲话模拟器'
printf '习近平音源'
printf '黑马程序员MySQL数据库'
printf '玉米杂草数据集'
printf '销售系统开发'
printf '疫情期间网民情绪识别比赛'
printf 996icu
printf '996 icu'
printf 学习强国
printf 预测结果导出
printf 赖伟林
printf 刺杀小说家
printf 购物商场
printf 英语词汇量小程序
printf 联级选择器
printf Bitcoin
printf 区块链
cat GitHub-Chinese-Top-Charts/README.md |
grep -P '^\|\d' |
cut -d\| -f4 |
./description-filter 63000

8
description-filter Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
perl -CSDA -pe 'use utf8;s/:[a-zA-Z0-9]+/ /g' |
perl -CSDA -pe 'use utf8;s/[、,,—【】。;()!->|:《》『』「」… ̄ノ·‘’!@#$%^&*()_\+\-=\/\\;:[\]{}.,`~'"'"'" \x{200D}\x{10000}-\x{1FFFF}\x{2B00}-\x{2BFF}\x{25A0}-\x{25FF}\x{2600}-\x{26FF}\x{2700}-\x{27BF}\x{1F300}-\x{1F5FF}]+/ /g' |
perl -CSDA -pe 'use utf8;s/https? +//i' |
perl -CSDA -pe 'use utf8;s/[a-zA-Z0-9 ]{32,}//g' |
tr -d '\n' |
sed 's/ / /' |
LC_CTYPE=en_US.UTF-8 awk "{print substr(\$0,1,${1:-10});exit}"

View File

@@ -25,5 +25,5 @@
"scripts": {
"prepublishOnly": "cp README.adoc README.md;make"
},
"version": "0.0.71"
"version": "0.0.72"
}

7
push
View File

@@ -23,10 +23,11 @@ if git -C "$gh_pages_dir" commit -m "$(git log -1 --format="%H")"; then
fi
# GitLab pages
gl_pages_dir=out/gl-pages
out_dir=out/
gl_pages_dir="${out_dir}/gl-pages"
if [ ! -d "$gl_pages_dir" ]; then
mkdir -p "${gl_pages_dir}/public"
git clone --branch gl-pages --depth 1 git@gitlab.com:cirosantilli/china-dictatorship.git remote get-url origin "$gl_pages_dir"
mkdir -p "${out_dir}"
git clone --branch gl-pages --depth 1 git@gitlab.com:cirosantilli/china-dictatorship.git "$gl_pages_dir"
fi
make MEDIA=https://gitlab.com/cirosantilli/china-dictatorship-media/-/raw/master OUT="${gl_pages_dir}/public/index.html"
cp .gitlab-ci.yml "${gl_pages_dir}"

View File

@@ -16,7 +16,7 @@ with open(path.join(this_directory, 'README.adoc')) as f:
setup(
name='china-dictatorship',
version='0.0.71',
version='0.0.72',
description='2018新疆改造中心1989六四事件1999法轮功 2019 996.ICU, 2018包子露宪2015 710律师劫2015巴拿马文件 邓家贵2017低端人口2008西藏骚乱',
long_description=long_description,
# Otherwise upload fails with: "The description failed to render in the default format of reStructuredText."

View File

@@ -0,0 +1,38 @@
**反中国共产党常见问答集 China FAQ: https://github.com/cirosantilli/china-dictatorship**
[Homepage](http://cirosantilli.com/) | [StackOverflow 2.0](https://github.com/cirosantilli/write-free-science-books-to-get-famous-website) | [Necromancer #1 in 2019-07](https://data.stackexchange.com/stackoverflow/revision/300735/1283496/users-with-most-necromancer-badges-at-a-given-date?Date=2019-07-15)
Upvote these posts you believe in freedom of speech like me:
- [Can I post images from Tiananmen Square Protests on my profile page?](https://meta.stackexchange.com/q/366163/200117)
- [Can I say that a major politician is "disgusting as a person"?](https://meta.stackexchange.com/a/366164/200117)
Since 2015, I have been uploading images that criticize the Chinese government here, because I believe that this **saves lives and prevents human rights violations**. I also believe that these have strong meta support in:
- [Can you have a username that is censored in a dictatorship?](https://meta.stackoverflow.com/q/349131/895245)
- [Are political avatars and profiles OK?](https://meta.stackoverflow.com/q/267368/895245)
However, when you try to ask if you can make fun or criticize specific points of dictatorships like the Chinese government in 2021, many people in the Stack Exchange community simply refuse to give a clear yes or no answer:
- if they said no, they would be considered evil for supporting an evil dictatorship
- if they said yes, then this would allow you to post images that some people living in said dictatorship find distressing (Chinese media calls this "[to hurt the feelings of the Chinese people](https://en.wikipedia.org/wiki/Hurting_the_feelings_of_the_Chinese_people)"), and like good Liberals we must strive to please *everyone*
The key question is:
> Do we have to be nice to dictators and their supporters?
So their tendency is to:
- say anything that is not suitable for work should not be allowed. But they don't really enforce it for China, because that would imply helping a dictatorship.
- say deciding allowed and non allowed topics is too hard. "Sure, I'm all for human rights, but I don't have the time to say yes/no right now"
- close/delete the discussions asking such questions, e.g.: https://meta.stackexchange.com/q/361493/200117 (Is Winnie-the-Pooh allowed or not?)
Imagine if a legal system also "refused to give any clear and specific guidelines, rather deciding everything on a one-by-one basis".
Wait. No need to imagine. China is the perfect example of that! They claim endlessly to obey [rule of law](https://en.wikipedia.org/wiki/Rule_of_law). But in practice, every decision can be a one-by-one basis by those in power with hidden rules if there is enough interest.
See also https://cirosantilli.com/china-dictatorship/#politically-incorrect
**The only political image that you can safely post on Stack Exchange**
![](https://i.stack.imgur.com/W0Ktv.jpg)

View File

@@ -1,6 +1,6 @@
This was Ciro's Stack Overflow profile around Q1 2021, archive: https://web.archive.org/web/20210225035540/https://stackoverflow.com/users/895245/ciro-santilli-trump-ban-is-bad After censorship: https://archive.vn/9E8yh
Opinions and content are my own.
Opinions are my own.
China FAQ: https://github.com/cirosantilli/china-dictatorship