代码改变世界

五线谱

2019-05-09 12:05 by Weiweim, 6206 阅读, 0 推荐, 收藏, 编辑
摘要:五线谱是一种音乐语言,可以用来记录几乎任何形式的音乐。 五线谱中记录的最主要的东西就是音符,一个音符表达一个单音,每一个音符都具有绝对的音高。 (也就是说五线谱上的同一个音符在不同乐器上演奏出来的音高是相同的(忽略调校的差异)。) 现在常用的谱号只有四种:高音谱号、中音谱号、次中音谱号和低音谱号 高 阅读全文

中央C-高低音谱号里的中央C和其它音节

2019-05-09 11:16 by Weiweim, 20566 阅读, 0 推荐, 收藏, 编辑
摘要:高音谱号规定,从五线谱的“下加一线”开始为中间音C(即标准音1),依次定义其它音节。 低音谱号规定,从五线谱的“上加一线”开始为中央音C,依次定义其它音节。 我们可以看到,通过音谱号结合加线,可以定义从超低音1到超高音1共29个音节,这些音节足够平常的乐曲使用! 很明显,通过合并高音谱的下加一线和低 阅读全文

使用管道copy同一文件至多个目录下

2018-05-23 23:30 by Weiweim, 731 阅读, 0 推荐, 收藏, 编辑
摘要:目标: 可以用 cp 命令与 echo命令、管道、xargs 命令一起使用: 试试阅读 cp、 echo 和 xargs 的 man 页面来找出所有有用和高级的用法信息: 阅读全文

refusing to merge unrelated histories

2018-04-04 12:56 by Weiweim, 148 阅读, 0 推荐, 收藏, 编辑
摘要:git需要添加一句代码,在git pull,这句代码是在git 2.9.2版本发生的,最新的版本需要添加--allow-unrelated-histories 阅读全文

Viewing A Specific Commit_12

2018-03-25 23:51 by Weiweim, 183 阅读, 0 推荐, 收藏, 编辑
摘要:Too Much Scrolling The last few quizzes in the previous section had you scrolling and scrolling through the patch output just to get to the right comm 阅读全文

Viewing File Changes_11

2018-03-25 23:22 by Weiweim, 230 阅读, 0 推荐, 收藏, 编辑
摘要:Viewing Changes We know that git log will show us the commits in a repository, and if we add the --stat flag, we can see what files were modified and 阅读全文

Changing How Git Log Displays Information_10

2018-03-25 22:03 by Weiweim, 267 阅读, 0 推荐, 收藏, 编辑
摘要:Let's think about some of these questions: the SHA - git log will display the complete SHA for every single commit. Each SHA is unique, so we don't re 阅读全文

Outro_9

2018-03-25 21:36 by Weiweim, 237 阅读, 0 推荐, 收藏, 编辑
摘要:我们使用git init来创建自己的仓库, 使用git clone来复制现有仓库, 并使用git status来确定仓库的状态, 现在,你可能想直接跳转进行提交,因为没有提交的仓库并不是很有用, 但在我们开始之前,学会查看提交对我们生成自己的提交会很有帮助 因此让我们来学习如何查看现有提交, git 阅读全文

Determine A Repo's Status_8

2018-03-25 13:21 by Weiweim, 372 阅读, 0 推荐, 收藏, 编辑
摘要:Working with Git on the command line can be a little bit challenging because it's a little bit like a black box. I mean, how do you know when you shou 阅读全文

Clone_An_Existing_Repo_7

2018-03-25 07:06 by Weiweim, 349 阅读, 0 推荐, 收藏, 编辑
摘要:Why Clone? First, what is cloning? to make an identical copy What's the value of creating an identical copy of something, and how does this relate to 阅读全文