-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathparticipate.html
More file actions
637 lines (473 loc) · 22 KB
/
participate.html
File metadata and controls
637 lines (473 loc) · 22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
<!DOCTYPE html>
<html>
<head>
<title>如何协作参与品葱备份计划 – 品葱备份计划</title>
<meta charset="utf-8" />
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'>
<meta name="twitter:domain" content="https://PincongBackup.github.io">
<meta name="author" content="品葱备份计划" />
<meta property="twitter:title" content="如何协作参与品葱备份计划" />
<link rel="shortcut icon" href="./favicon.ico">
<link rel="alternate" type="application/rss+xml" title="品葱备份计划" href="./atom.xml" />
<link rel="canonical" href="https://pincongbackup.github.io/" />
<link rel="stylesheet" href="./static/lib/bootstrap.3.3.7.min.css">
<link rel="stylesheet" href="./static/lib/font-awesome.4.3.0.min.css">
<link rel="stylesheet" href="./lib/pc.style.css">
</head>
<body class="body">
<div class="nav_bg">
<div class="nav_bar">
<div class="row">
<div class="col-md-12" id="navbar">
<a href="./" class="col-lg-3 visible-lg" id="logo" style="background-image: url(./static/pc.logo.png); height: 100%; top: -1px; margin-right: 1em;"></a>
<div class="col-xs-3 hidden-lg text-center" style="width: 110px;">
<a href="./">
<img style="width:90px; height: 40px; max-width: unset;" src="./static/pc.logo.png">
</a>
</div>
<div class="col-sm-1 col-xs-1 mid nav-item" style="top: -2px;">
<a href="./" style="position: relative; top: -5px;">
首页
</a>
</div>
<div class="col-sm-1 col-xs-1 mid nav-item" style="top: -2px;">
<a href="./tags.html" style="position: relative; top: -5px;">
标签
</a>
</div>
<div class="col-sm-1 col-xs-1 mid nav-item" style="top: -2px;">
<a href="./atom.xml" style="position: relative; top: -5px;">
RSS
</a>
</div>
<div class="col-sm-1 col-xs-1 mid nav-item" style="top: -2px;">
<a href="./about.html" style="position: relative; top: -5px;">
关于
</a>
</div>
<div class="col-sm-1 col-xs-1 mid nav-item" style="top: -2px;">
<a href="./search.html" style="position: relative; top: -5px;">
搜索
</a>
</div>
</div>
</div>
</div>
</div>
<div class="container" id="content">
<style type="text/css">
blockquote p {
font-style: normal !important;
color: #333;
font-size: 13px;
font-weight: 500;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Noto Sans CJK SC, WenQuanYi Micro Hei, Arial, sans-serif !important;
}
</style>
<div style="height: 30px;margin-top: 15px;">
<div
id="translateLink"
class="btn-gray"
style="float: right; font-size: 11px; cursor: pointer; margin-right: 15px;"
onclick="TongWen.transAuto()"
>
简繁转换
</div>
</div>
<script src="./static/lib/tongwentang/tongwen_core.js"></script>
<script src="./static/lib/tongwentang/tongwen_table_s2t.min.js"></script>
<script src="./static/lib/tongwentang/tongwen_table_t2s.min.js"></script>
<script src="./static/lib/tongwentang/tongwen_table_ps2t.min.js"></script>
<script src="./static/lib/tongwentang/tongwen_table_pt2s.min.js"></script>
<div class="row">
<div class="col-xs-12 col-md-9">
<div id="post-details">
<span>
<div class="article-entry">
<div class="post-title title" style="font-size: 25px !important; padding: 5px;margin-top: 20px;">
<span itemprop="name">如何协作参与品葱备份计划</span>
</div>
<div style="margin-bottom: 45px;">
<h2 id="需要的基本技能">需要的基本技能</h2>
<ul>
<li>熟悉使用 Markdown 基本标记语法</li>
<li>熟悉 Markdown 文本编辑器(可选项):这些工具适用于对 Markdown 语法不熟悉的协作者
<ul>
<li><a href="https://typora.io">Typora</a></li>
<li><a href="https://code.visualstudio.com/">VS Code</a></li>
<li>html 转成 markdown:浏览器插件「<a href="http://ksria.com/simpread/">简悦</a>」</li>
</ul>
</li>
<li>熟悉 GitHub 平台使用(可选项)</li>
<li>熟悉 Git 工具使用(可选项)</li>
</ul>
<h2 id="协作步骤说明">协作步骤说明</h2>
<ol>
<li>
<p>注册并登录 <a href="https://github.com/">GitHub</a> 帐号</p>
</li>
<li>
<p>访问 <a href="https://github.com/PincongBackup/PincongBackup.github.io">品葱备份计划</a> GitHub页面</p>
</li>
<li>
<p>点击进入 <a href="https://github.com/PincongBackup/PincongBackup.github.io/tree/master/_p">_p</a> 文件夹,创建备份品葱问题的 Markdown 文件</p>
<blockquote>
<p>文件命名规则:原问题的问题id + 扩展名 <code class="highlighter-rouge">.md</code>,如 <code class="highlighter-rouge">3684.md</code>。</p>
</blockquote>
<p>共有三种方式:</p>
<p><img src="images/step3.png" alt="step3" /></p>
<ul>
<li>
<p>第一种:点击 <strong>Create new file</strong> 在线编辑</p>
<p><img src="images/step3-1.png" alt="step3-1" /></p>
<ol>
<li>在 <code class="highlighter-rouge">_p/</code> 后面的框内输入文件名,如 <code class="highlighter-rouge">3684.md</code>。</li>
<li>在下方 <code class="highlighter-rouge">Edit new file</code> 空白区域以 markdown 语法编辑文章</li>
<li>点击 <code class="highlighter-rouge">Preview</code> 可预览效果</li>
</ol>
</li>
<li>
<p>第二种:<strong>Upload files</strong></p>
<p><img src="images/step3-2.png" alt="step3-2" /></p>
<ol>
<li>点击 <code class="highlighter-rouge">Upload files</code></li>
<li>从本地将编辑好的 markdown 格式备份文档上传</li>
</ol>
</li>
<li>
<p>第三种:使用 Git</p>
<p>请参考 <a href="https://git-scm.com/book/zh/v2">Git 教程</a></p>
</li>
</ul>
</li>
<li>
<p>进入 <a href="https://github.com/PincongBackup/PincongBackup.github.io/tree/master/_answers">_answers</a> 文件夹,备份问题的回答,方法同 <code class="highlighter-rouge">3</code></p>
<blockquote>
<p>文件命名规则:问题id + <code class="highlighter-rouge">/</code> + 回答id(若无法获取,可自定义)+ 扩展名 <code class="highlighter-rouge">.md</code>,如 <code class="highlighter-rouge">3684/3691.md</code>。</p>
<p>(请在 <code class="highlighter-rouge">_answers</code> 后面的输入框内输入,问题id 和 <code class="highlighter-rouge">/</code> 输入后将自动变为文件路径的一部分)</p>
</blockquote>
</li>
<li>
<p>提交 <strong>commit changes</strong></p>
<p>在下方填写 commit changes ,简单说明提交的修改是什么</p>
<p><img src="images/step5.png" alt="step5" /></p>
</li>
<li>
<p>创建 <strong>pull request</strong> 拉取请求</p>
<p>点击 <strong><code class="highlighter-rouge">Creat Pull requests</code></strong>,将刚才新建并进行的分支修改提交到 master 主项目,发起拉取请求</p>
<p><img src="images/step6.png" alt="step6" /></p>
</li>
<li>
<p>编辑 pull 请求</p>
<p>点击 <strong><code class="highlighter-rouge">Create pull request</code></strong> 之后,在新的页面 <strong>open a pull request</strong> 中编辑请求说明</p>
<p><img src="images/step7-1.png" alt="step7-1" /></p>
<p>检查分支与 master 是否存在冲突,若无冲突,则可以合并,经创建者同意,可把分支新增内容加入到 master 主项目中。</p>
<p>如下图,显示 <strong>This branch has no conflicts with the base branch</strong>,则表示提交的分支请求和 master 无冲突。</p>
<p><img src="images/step7-2.png" alt="step7-2" /></p>
</li>
<li>
<p>合并请求同意后,会显示紫色</p>
<p><img src="images/step8.png" alt="step8" /></p>
</li>
</ol>
<h2 id="协作的文档编辑格式要求">协作的文档编辑格式要求</h2>
<ol>
<li>
<p>每个品葱问题的备份,开头都需要说明标题、提问日期和时间(使用 <a href="https://zh.wikipedia.org/wiki/ISO_8601">ISO 8601</a> 格式,只需精确到日期)、标签、赞同数量、反对数量、关注者数量、关于问题的评论。格式如下:</p>
<pre><code>---
title: 海外的中文媒体、论坛哪些值得信任?
date: 2017-09-15T22:17:59.756-05:00
tags:
- 政治
- 媒体传媒
- 社交网络
- 舆论
upvote: 3
downvote: 0
follow: 15
comments:
- 这是一条评论
- 另一条评论
---</code></pre>
<p>空白模板:</p>
<pre><code>---
title:
date:
tags:
upvote:
downvote:
follow:
comments:
---</code></pre>
<p>其中必填项是 标题 (<code class="highlighter-rouge">title</code>) 和 提问日期和时间 (<code class="highlighter-rouge">date</code>) ,提问时间如无法获取,可参考前后两个问题的提问时间</p>
</li>
<li>
<p>每个问题回答的备份,开头都需要说明 回答日期和时间(格式同提问日期和时间)、回答者的uid、回答者的用户名、回答者的用户自我介绍、回答者的用户头像、赞同数、反对数、评论。格式如下:</p>
<pre><code>---
date: 2017-09-16T10:23:18.600-05:00
user_id:
user_name: 机械牛A
user_intro: 努力提高姿势水平
user_avatar: /static/upload/thumb/small50-u-thumb-11696b84c91035851a307f29fb3723d39ee293be024.png
upvote: 33
downvote: 0
comments:
- 这是一条评论
---</code></pre>
<p>空白模板:</p>
<pre><code>---
date:
user_id:
user_name:
user_intro:
user_avatar:
upvote:
downvote:
comments:
---</code></pre>
<p>全部都是可选项</p>
<p>如果 回答日期和时间 (<code class="highlighter-rouge">date</code>) 留空,将自动默认为问题的提问时间</p>
</li>
<li>
<p>正文小标题,使用 h2 或 h3。</p>
</li>
<li>
<p>图片使用 <a href="https://sm.ms">https://sm.ms</a> 、 <a href="https://imgur.com">https://imgur.com</a> 或 <a href="https://img9.top/">https://img9.top/</a> 图床平台生成链接,或者内嵌 base64 字符串 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/data_URIs">DataURL</a>。</p>
</li>
</ol>
<h2 id="我能在哪里寻找到零散的旧品葱内容">我能在哪里寻找到零散的旧品葱内容?</h2>
<ul>
<li>
<p>Google WebCache
在搜索框中输入 <code class="highlighter-rouge">site:www.pin-cong.com</code> <a href="https://www.google.com/search?q=site:www.pin-cong.com">定向搜索</a>,然后点击 <code class="highlighter-rouge">▼查看快照</code></p>
</li>
<li>
<p><a href="https://web.archive.org/web/sitemap/pin-cong.com">Internet Archive (archive.org)</a></p>
</li>
<li>
<p><a href="http://archive.fo/">archive.fo (原 archive.is、archive.today)</a></p>
</li>
<li>
<p><a href="https://t.me/pincongessence">telegram 品葱搬运工</a></p>
</li>
<li>
<p><a href="https://pincong.rocks/topic/品葱备份">新品葱的品葱备份相关话题</a></p>
</li>
<li>
<p>自己的私人笔记、存档(可能)</p>
</li>
<li>
<p>自己的屏幕截图(可能)</p>
</li>
</ul>
<blockquote>
<p>内容修改自 <a href="https://github.com/Terminus2049/Terminus2049.github.io/blob/master/_posts/2018-04-01-how-to-participate-in-terminus.md">如何协作参与端点星计划</a></p>
</blockquote>
<style>
.article-entry a {
color: #036bd8;
}
</style>
</div>
</div>
</span>
</div>
</div>
<div class="col-xs-12 col-md-3 sidebar" style="padding-bottom: 45px;">
<div class="subs_wrap" style="margin:40px 0px 10px 0;color: #888;height: 70px;font-size: 13px;">
<div style="margin-bottom: 15px;">
<span class="badge" style="position: relative;background: #881622;border-radius: 3px;padding: 1px 2px;left: 1px;top: -2px;">
热
</span>
邮箱订阅,定期获取最新的翻墙软件
<div style="margin-top: 5px;">
<input class="textinput textInput form-control" id="sub_email" placeholder="E-mail" type="email" style="width: 75%;float: left; height: 30px;" disabled />
<span class="subs_submit btn btn-cancel pull-right disabled" style="height: 30px;padding: 4px 9px;">
提交
</span>
</div>
</div>
</div>
<div class="user-detail-right-action">
<div class="user-detail-action-title btn-gray">
<a style="color: #999;" href="./tags.html">热门话题 »</a>
</div>
<div class="user-detail-action-cnt" id="hot-topics">
</div>
</div>
<div class="user-detail-right-action" style="padding:50px 0 20px 0;">
<div class="user-detail-action-title btn-gray">
<a style="color: #999;">专栏文章 »</a>
</div>
<div class="user-detail-action-cnt">
<div class="user-detail-item" style="padding: 0px;">
<div class="tags-post-title">
<a target="_blank" href="./p/63899/">
如何连上隐形网路(I2P)?
</a>
<a target="_blank">
<span style="font-size: 10px;color: #999;">@乱弹</span>
</a>
</div>
</div>
<div class="user-detail-item" style="padding: 0px;">
<div class="tags-post-title">
<a target="_blank" href="./p/106972/">
逃离深圳 逃离中国 也许这才是我们的硬伤
</a>
<a target="_blank">
<span style="font-size: 10px;color: #999;">@品大萝卜</span>
</a>
</div>
</div>
<div class="user-detail-item" style="padding: 0px;">
<div class="tags-post-title">
<a target="_blank" href="./p/125442/">
【每日微博谈】八月二十四 寿光大水
</a>
<a target="_blank">
<span style="font-size: 10px;color: #999;">@Daa</span>
</a>
</div>
</div>
<div class="user-detail-item" style="padding: 0px;">
<div class="tags-post-title">
<a target="_blank" href="./p/127958/">
Reddit有人反映在品葱上注册失败/注册成功后帐号失踪
</a>
<a target="_blank">
<span style="font-size: 10px;color: #999;">@Pana Max</span>
</a>
</div>
</div>
<div class="user-detail-item" style="padding: 0px;">
<div class="tags-post-title">
<a target="_blank" href="./p/85201/">
毛澤東思想
</a>
<a target="_blank">
<span style="font-size: 10px;color: #999;">@粗鄙</span>
</a>
</div>
</div>
<div class="user-detail-item" style="padding: 0px;">
<div class="tags-post-title">
<a target="_blank" href="./p/147946/">
ZZ: 得知越来越多女大学生被包养价值观开始动摇怎么办?
</a>
<a target="_blank">
<span style="font-size: 10px;color: #999;">@sprint</span>
</a>
</div>
</div>
<div class="user-detail-item" style="padding: 0px;">
<div class="tags-post-title">
<a target="_blank" href="./p/76015/">
「自古以來」的「中華民族」
</a>
<a target="_blank">
<span style="font-size: 10px;color: #999;">@粗鄙香蕉</span>
</a>
</div>
</div>
<div class="user-detail-item" style="padding: 0px;">
<div class="tags-post-title">
<a target="_blank" href="./p/128381/">
中国式军训:迷彩崇拜与威权国家的上行下效
</a>
<a target="_blank">
<span style="font-size: 10px;color: #999;">@风之轻语</span>
</a>
</div>
</div>
</div>
</div>
<div class="right-foot btn-gray">
<a class="btn-gray" target="_blank" href="./protocol/">
品葱行为倡议
</a>
▫ © 2018-2019 品葱备份计划
▫
<a target="_blank" class="btn-gray" href="https://github.com/PincongBackup/PincongBackup.github.io/issues">
反馈/改进
</a>
▫
<a class="btn-gray" target="_blank" href="./atom.xml">
RSS
</a>
▫
<a class="btn-gray" target="_blank" href="https://github.com/PincongBackup/PincongBackup.github.io/#镜像">
免翻墙访问本站
</a>
▫
<a class="btn-gray" target="_blank" href="https://github.com/PincongBackup/PincongBackup.github.io/issues">
新人提问
</a>
▫
<a class="btn-gray" target="_blank" href="https://github.com/PincongBackup/PincongBackup.github.io/issues">
管理公示区
</a>
</div>
</div>
<script>
window.baseUrl = "."
</script>
<script src="./lib/node-append-polyfill.js"></script>
<script src="./lib/sidebar.min.js"></script>
</div>
</div>
<div class="wrapper-footer">
<a href="https://github.com/PincongBackup/PincongBackup.github.io" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 43px; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor" class="octo-body"></path>
</svg>
</a>
<style>
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out
}
@keyframes octocat-wave {
0%,
100% {
transform: rotate(0)
}
20%,
60% {
transform: rotate(-25deg)
}
40%,
80% {
transform: rotate(10deg)
}
}
@media (max-width:500px) {
.github-corner:hover .octo-arm {
animation: none
}
.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out
}
}
</style>
<footer class="footer">
</footer>
</div>
<a href="#top">
<div class="to-top glyphicon glyphicon-chevron-up"></div>
</a>
<a href="./tags.html">
<div class="to-feed glyphicon glyphicon-list hidden-xs" style="left:60px;"></div>
</a>
<a href="./">
<div class="to-feed glyphicon glyphicon-home hidden-xs"></div>
</a>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/aahan/pygments-github-style@master/jekyll-github.min.css">
</body>
</html>