技巧
来自宇宙岛的海龟
这个作者很懒,什么都没留下…
展开
-
Git常用设置
目录设置姓名和邮箱设置代理取消代理设置姓名和邮箱git config --global user.name “”git config --global user.email “@163.com”设置代理国内Git虽然没有屏蔽,但用 git clone 时,网速大部分都在20KiB/s以下,可以设置代理方式加速命令行执行:git config --global http.proxy s...原创 2019-12-15 13:14:08 · 188 阅读 · 0 评论 -
怎么用Git上传上G的超大文件
Download and install the Git command line extension. Once downloaded and installed, set up Git LFS and its respective hooks by running:git lfs installYou’ll need to run this in your repository di...翻译 2019-11-21 20:45:59 · 1152 阅读 · 0 评论 -
怎么将多个文件的内容进行合并(Talk is cheap, show me the code)
import osdef readfile(path): # 读取文件夹下所有的文件 files = os.listdir(path) file_list = [] for file in files: # 遍历文件夹 if not os.path.isdir(file): file_list.append(path + '/'...原创 2019-11-11 14:58:47 · 336 阅读 · 0 评论