forked from USTC-Resource/USTC-Course
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust format of c, cpp source files: astyle --style=linux -n -U -H -…
…p -f
- Loading branch information
Showing
36 changed files
with
2,495 additions
and
1,773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
|
||
 | ||
|
||
# 中国科学技术大学课程资源 | ||
|
||
[](https://github.com/USTC-Resource/USTC-Course/stargazers) | ||
[](https://github.com/USTC-Resource/USTC-Course/network/members) | ||
[](https://travis-ci.org/USTC-Resource/USTC-Course?branch=master) | ||
|
@@ -31,6 +34,37 @@ | |
# 资料下载 | ||
[戳我(●'◡'●)](https://ustc-resource.github.io/USTC-Course) | ||
|
||
<!-- | ||
## FTP | ||
1. FTP/FTPS: | ||
- 地址:ftp.ustclug.org; | ||
- 路径:/ebook/USTC-CS-Courses-Resource; | ||
- 用户名:ftp; | ||
- 密码:ftp; | ||
2. SFTP (Secure File Transfer Protocol): | ||
- 地址:ftp.ustclug.org; | ||
- 路径:/ebook/USTC-CS-Courses-Resource; | ||
- 用户名:ftp; | ||
- 密码:ftp; | ||
3. AFP (Apple Filing Protocol) | ||
- 地址:afp://ftp.ustclug.org/; | ||
- 路径:/ebook/USTC-CS-Courses-Resource; | ||
- Connect As Guest | ||
感谢 @USTC-LUG, @[zzh1996](https://github.com/zzh1996), @[volltin](https://github.com/volltin) | ||
## HTTPS | ||
- [github 网页](#课程目录) | ||
- [DownGit](http://downgit.zhoudaxiaa.com/#/home) | ||
- [gitzip-chrome-extension](https://chrome.google.com/webstore/detail/gitzip-for-github/ffabmkklhbepgcgfonabamgnfafbdlkn) | ||
注意,建议不要直接用 GitHub 仓库的 `Download Zip`。因为网速慢,而且仓库很大,很可能下载到中途就切断连接了。 | ||
推荐用 DownGit 工具,方法很简单,在 GitHub 这里浏览网页到某个文件夹,然后将这个网页地址粘贴到 DownGit 下载即可。 | ||
--> | ||
|
||
# 课程结构 | ||
每门课程大致结构如下,有些栏目可能没有,也可以自己添加认为合理的栏目 | ||
``` | ||
|
@@ -45,7 +79,7 @@ course | |
└ README.md | ||
``` | ||
# 课程关系 | ||
 | ||
 | ||
|
||
更多信息可以下载[官网的培养方案](https://www.teach.ustc.edu.cn/education/241.html/attachment/14-215%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%AD%A6%E9%99%A2-2013) | ||
|
||
|
@@ -58,6 +92,7 @@ course | |
* [c程序设计](./c程序设计) | ||
* [代数结构](./代数结构) | ||
* [光学与原子物理](./光学与原子物理) | ||
* [images](./images) | ||
* [计算机网络](./计算机网络) | ||
* [计算机系统详解](./计算机系统详解) | ||
* [计算机与信息类](./计算机与信息类) | ||
|
@@ -93,3 +128,31 @@ course | |
* github 上不能直接上传大于 100mb 的文件。对于超过 100 mb 的文件,可以存在网盘,然后在 README 文件中贴上链接 | ||
* 文件内容的改动会使 git 重新上传, 在没有必要的情况下, 不要对二进制文件做任何更改. | ||
|
||
<!-- | ||
可以通过如下方式贡献 | ||
- 帮忙上传: 可以发给仓库维护者帮忙上传,或者提 issue | ||
- 用网页操作或者[桌面版](https://desktop.github.com/) fork and pull request. 操作方式可以参考 [这里](https://blog.csdn.net/qq_29277155/article/details/51048990) 和[这里](https://blog.csdn.net/zhangw0_0/article/details/50667891),[PR](https://blog.csdn.net/huutu/article/details/51018317) | ||
- 用命令行: 注意仓库较大,直接 clone 很慢. 可以使用 sparse-checkout, 只下载指定的目录 | ||
执行 | ||
```shell | ||
mkdir ustc-courses #文件夹名可以自己取 | ||
cd ustc-courses | ||
git init | ||
git remote add -f origin [email protected]:mbinary/USTC-CS-Courses-Resource.git | ||
git config core.sparsecheckout true | ||
echo "计算机与信息类/软件工程" >> .git/info/sparse-checkout #这里工作目录就是在那个 repo 主页下 | ||
#如果还有其他目录,都像上面一样加入即可,如 `echo "计算机与信息类/图论/slides" >> .git/info/sparse-checkout` | ||
#只需记住的是 加入的目录应该在远程仓库存在,否则报错“error: Sparse checkout leaves no entry on the working directory” | ||
git pull origin master | ||
git remote add upstream [email protected]:mbinary/USTC-CS-Courses-Resource.git | ||
``` | ||
更新内容后 | ||
```shell | ||
git fetch upstream/master | ||
git merge upstream/master | ||
``` | ||
--> | ||
|
Oops, something went wrong.