Skip to content

Files

Latest commit

41311bb · May 16, 2019

History

History
This branch is 3 commits ahead of, 42 commits behind selfteaching/the-craft-of-selfteaching:master.

markdown

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 15, 2019
Apr 8, 2019
Apr 15, 2019
Apr 15, 2019
Apr 22, 2019
May 15, 2019
Apr 8, 2019
Apr 15, 2019
May 10, 2019
Apr 15, 2019
Apr 15, 2019
May 10, 2019
Apr 18, 2019
May 16, 2019
Apr 22, 2019
May 15, 2019
May 15, 2019
Apr 22, 2019
Apr 8, 2019
Apr 8, 2019
Apr 7, 2019
Apr 8, 2019
Apr 22, 2019
Apr 8, 2019
May 3, 2019
Apr 8, 2019
May 3, 2019
May 3, 2019
Apr 15, 2019
May 15, 2019
May 8, 2019
May 10, 2019
Apr 30, 2019
Apr 15, 2019
Apr 15, 2019
Apr 18, 2019
Apr 13, 2019
Apr 15, 2019
Apr 15, 2019
Apr 9, 2019
May 10, 2019
Apr 15, 2019
Apr 15, 2019
Apr 15, 2019
Apr 15, 2019
Apr 15, 2019
May 3, 2019
Apr 15, 2019
Apr 14, 2019

the-craft-of-selfteaching

One has no future if one couldn't teach themself[1].

自学是门手艺

没有自学能力的人没有未来

作者:李笑来

特别感谢霍炬@virushuo)、洪强宁@hongqn) 两位良师诤友在此书写作过程中给予我的巨大帮助!

# pseudo-code of selfteaching in Python

def teach_yourself(anything):
    while not create():
        learn()
        practice()
    return teach_yourself(another)

teach_yourself(coding)

有兴趣帮忙的朋友,请先行阅读 如何使用 Pull Request 为这本书校对

目录

关于 .ipynb 文件转换为 .md 文件的备注:

# 需提前安装 nbconvert 插件,Terminal 下执行:
$ jupyter nbconvert --to markdown *.ipynb

而后将所有 `.md` 文件移到 `markdown/` 目录之下 —— 除 `README.md` 文件之外

`README.md` 文件复制一份到 `markdown/` 目录之下,而后编辑为当前文件

# 需使用 VSCode 批量 Find and Replace:
将所有 (https://raw.githubusercontent.com/selfteaching/the-craft-of-selfteaching/master/images/ 替换为 (https://raw.githubusercontent.com/selfteaching/the-craft-of-selfteaching/master/images/
将所有 (Part.1.A.better.teachyourself_files/ 替换为 (https://raw.githubusercontent.com/selfteaching/the-craft-of-selfteaching/master/images/
将所有 (Part.1.E.6.containers_files/ 替换为 (https://raw.githubusercontent.com/selfteaching/the-craft-of-selfteaching/master/images/
将所有 ```\n\n 替换为 ```\n
将所有	\n\n```	替换为 \n```
将所有 .ipynb) 替换为 .md)

`Part.1.E.3.controlflow.md` 文件中有过长的 output 需要编辑
`Part.1.E.7.files.md` 文件中有过长的 output 需要编辑

推荐读者在自己的浏览器上安装 Stylus 这类终端 CSS 定制插件,Chrome/Firefox/Opera 都支持 Stylus 插件。以便拥有更好的阅读体验。以下 gif 图片展示的是使用自定义 css 前后的效果:

我用的 Stylus 定制 CSS(针对 github.com)是这样的:

.markdown-body {font-family: "PingFang SC";}
strong {color:#6392BF;}
em {color: #A9312A; font-style: normal !important;}
table {font-size: 95% !important;}


.CodeMirror, pre {font-size: 90%;}
pre {
    padding: 10px 25px;
    background-color: #fafafa;
    border-left: 4px solid #dadada;
    border-radius: 10px;
}

pre code {
    background-color: #fafafa;
}

h1 code,
h2 code,
h3 code,
h4 code,
p code, 
li code,
blockquote p code, 
blockquote li code,
td code {
    background-color: #f6f6f6;
    font-size: 90%;
    color:#2e2e2e;
    padding: 4px 4px;
    margin: 0 8px;
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.2);
    border-radius: 4px;
}
}

我写的内容里,为了重点突出,特别定制了 strongem 两个元素的显示,让它们以不同的颜色展示;又因为中文并不适合斜体展示,所以,把 emfont-style 设定为 normal……


本书的版权协议为 CC-BY-NC-ND license

CC-BY-NC-ND


脚注

[1]'Themselves' or 'themself'?-- Oxford Dictionary

↑Back to Content↑