摘要: tar 怎么归档文件: https://blog.csdn.net/kongqz/article/details/4208798 不压缩: tar -cf out.tar ./dir 压缩: tar -cjf out.tar.bz ./dir (bzip) tar -czf out.tar.gz . 阅读全文
posted @ 2019-01-07 17:10 ys_song 阅读(1783) 评论(0) 推荐(0) 编辑
摘要: 不用工具,$(())只能做整数运算。 浮点数需要用bc. bc设结果的小数点后位数: https://blog.csdn.net/houzhizhen/article/details/80653347 阅读全文
posted @ 2019-01-05 13:53 ys_song 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 【多行变一行】 sed ‘s/\n/ /g’ file 是不可以的。 但一行变多行的时候,sed ‘s/ /\n/g’ file是可以的。 这是因为sed默认只按行处理,末尾的\n不处理。 可以修改为awk来处理。 https://blog.csdn.net/hjxhjh/article/detai 阅读全文
posted @ 2019-01-05 13:27 ys_song 阅读(1885) 评论(0) 推荐(0) 编辑
摘要: 1 计算机字体的相关知识 宋体是最常用的中文字体。目前我在word里就主要用宋体。 Office安装的时候是用的系统字体,还是自带字体包? 操作系统的字体: https://jingyan.baidu.com/article/5d368d1e3b41963f61c0576a.html 可知,offi 阅读全文
posted @ 2018-12-21 15:12 ys_song 阅读(1683) 评论(0) 推荐(0) 编辑
摘要: mpi跑程序,需要每个节点都安装吗? 不需要的,是通过设置节点共享目录: /home,/opt,/share等。 The classic NFS approach to a shared directory is to export a directory from the master node 阅读全文
posted @ 2018-12-20 23:14 ys_song 阅读(3750) 评论(0) 推荐(0) 编辑
摘要: 怎么将照片制作成pdf? 1. mac下: https://jingyan.baidu.com/article/215817f7e822a21eda1423a4.html 2. 也可以备忘录进行扫描,直接连成pdf。 3. vlc字幕乱码的解决: http://skyah.blog.163.com/ 阅读全文
posted @ 2018-12-18 08:31 ys_song 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 编辑器的缺点,从word复制的格式会丢失。 使用ueditor,来转换成html,再插入。 阅读全文
posted @ 2018-12-11 19:03 ys_song 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 六维空间有acrobat的破解版: http://bt.neu6.edu.cn/thread-1084862-1-1.html macos自带preview 10.0, for high sierra preview基于Quartz for pdf render, 而gnuplot需要的xQuart 阅读全文
posted @ 2018-12-11 10:49 ys_song 阅读(655) 评论(0) 推荐(0) 编辑
摘要: ntfs for Mac可以在希捷官网上下载。 also here: 链接:https://pan.baidu.com/s/14L1QFDBSCVX8SHvDGNNp7Q 密码:tx2t 但不支持西数移动硬盘,其他的u盘是没有问题的。 软件卸载: App cleaner and uninstalle 阅读全文
posted @ 2018-12-10 08:58 ys_song 阅读(135) 评论(0) 推荐(0) 编辑
摘要: fortran被集成在gcc中,而macOS本身不提供gcc而是clang,因而借助brew安装,或者直接在gcc网站上下载: https://gcc.gnu.org/wiki/GFortranBinaries clang和gcc的对比优势:https://www.zhihu.com/questio 阅读全文
posted @ 2018-12-02 20:51 ys_song 阅读(1395) 评论(0) 推荐(0) 编辑