11 2019 档案

Linux给命令设置别名
摘要:1 alias 1 alias 1 alias 1 alias alias 设置命令别名:alias 别名='命令' 1 alias ll='ls -l' 1 alias ll='ls -l' 1 alias ll='ls -l' 1 alias ll='ls -l' alias ll='ls -l 阅读全文

posted @ 2019-11-27 16:34 tuzhuo 阅读(334) 评论(0) 推荐(0)

在.slurm文件中激活Anaconda环境
摘要:超算中心使用slurm作为集群调度。原始slurm脚本如下: srun -p gpu -w g0051提交任务后报错: 很明显,第一句激活anaconda环境失败了,提示找不到conda activate可执行程序。 Google了一下,发现了这个: https://github.com/conda 阅读全文

posted @ 2019-11-23 15:04 tuzhuo 阅读(4837) 评论(0) 推荐(0)

jupyter notebook + MobaXterm Linux端远程部署
摘要:$jupyter notebook --generate-config$python In [1]: from notebook.auth import passwd In [2]: passwd() Enter password: Verify password: Out[2]: sha1:... 阅读全文

posted @ 2019-11-11 17:03 tuzhuo 阅读(2106) 评论(0) 推荐(0)

Location of Docker images in all Operating Systems (Linux, Windows, Redhat, Mac OS X)
摘要:原文:http://www.scmgalaxy.com/tutorials/location-of-dockers-images-in-all-operating-systems/ Location of Dockers images in all Operating Systems The loc 阅读全文

posted @ 2019-11-04 16:10 tuzhuo 阅读(158) 评论(0) 推荐(0)

我的Linux vim配置文件
摘要:上面那个是老配置,下面是新添加了识别python并给python代码添加前缀的功能。 而且还专门为python开发调整了将所有tab设置为4个空格,tab不再以tab符存在,具体改动为: set expandtab " 扩展tab为空格. tz@croplab,hzau 2019-11-3 阅读全文

posted @ 2019-11-03 20:36 tuzhuo 阅读(538) 评论(0) 推荐(0)

git一键push至github脚本
摘要:脚本使用说明: 通常的用法是直接命令回车(脚本环境兼容windows和linux的git): 该脚本默认的push信息是提交当天的年月日,eg:2019-10-1; 若要自定义git的push信息,只需要: eg: bash push.sh Bob-first-push bash push.sh B 阅读全文

posted @ 2019-11-03 13:20 tuzhuo 阅读(787) 评论(0) 推荐(0)