一个计算机技术爱好者与学习者

0%

整理自:慕课网

helloworld工程的搭建

技术及工具

node.js + mongodb(工具mongoose) + express + jade + moment.js + npm + jquery + bootstrap + grunt

我靠,那么多!淡定,暂时,咱们这个工程只要 node.js + express + jade 。

准备工作

下载安装node.js

工程结构

1
2
3
4
5
6
helloworld/
-node_modules/
-bower_components/
-views/
-index.jade
-app.js

上两张图,直观感受下:
![工程结构][1]
![工程结构][2]

阅读全文 »

什么是 Markdown

Markdown 是一种方便记忆、书写的纯文本标记语言,用户可以使用这些标记符号以最小的输入代价生成极富表现力的文档:譬如您正在阅读的这份文档。它使用简单的符号标记不同的标题,分割不同的段落,粗体 或者 斜体 某些文字,更棒的是,它还可以

书写一个质能守恒公式[^LaTeX]

$$E=mc^2$$

高亮一段代码[^code]

1
2
3
4
5
6
7
@requires_authorization
class SomeClass:
pass

if __name__ == '__main__':
# A comment
print 'hello world'

高效绘制 流程图

1
2
3
4
5
6
7
8
st=>start: Start
op=>operation: Your Operation
cond=>condition: Yes or No?
e=>end

st->op->cond
cond(yes)->e
cond(no)->op
阅读全文 »