Thank IT

以应用为导向的个人博客。日拱一卒,功不唐捐,以此共勉。

0%

查看系统支持的 shell 与默认的 shell 1 2 3 4 docker run -it centos bash docker ps -a docker start b4809e7f9e71 docker exec -it b4809e7f9e71 bash 查看当前系统支持的 shell cat /etc/shells 1 2 3 4 /bin/sh /bin/bash /usr/bin/sh /usr/bin/bash Mac 系统上 cat /etc/shells 1 2 3 4 5 6 7 8 9 10 11 # List of acceptable sh
阅读全文 »

应用场景 当我们开发完某项功能,合并到 develop 分支后,其他人又提交了他们的代码。本来准备要上线了,这时由于某些原因,项目经理表示要撤回我们提交的代码,这个功能这次不上线了。这时候 git revert 就派上用场啦。 准备工作 我们来创建一个提交历史做实验。 首先创建一个 repo 1 2 3 mkdir git-revert-merge-commit cd git-revert-merge-commit git init 在 master 分支新建两个文件 file1, file2,提交。 1 2 3 4 echo 'file1' > file1 git add
阅读全文 »

参考这个总结 Octave 教程 octave 中取矩阵内容的符号 矩阵A为 1 2 3 4 5 6 7 8 9 A(1, 3) 取第一行,第三列的数值,ans=3 A(1:2,1:2) 取第一第二行,第一第二列 ans = 1 2 4 5 A(1:4) 按顺序,取第一个到第四个的数值 [1, 4, 7, 2] A(2) ans = 4 A(:) A的全部内容,[1 4 7 2 5 8 3 6 9]
阅读全文 »

New words and expressions archaeologist(英) / archeologist (美) n. 考古学家 archaeology / archeology 考古学 “arch(a)” = ancient archaic 古代的 archaic words archaic civilizations “(o)logy” = to study -ist“人” archaeology archaeologist biology biologist 生物学 geology geologist 地质学 psychology psychologist 心理学 phy
阅读全文 »

New words and expressions equal He equaled the world record. 平了世界纪录 Nobody equals him in strength. = Nobody matches him in strength. 相匹敌 In English she has no equal in her class 在 … 无敌 be / stand head and shoulders above sb. be much better than others 明显超过他人,鹤立鸡群 In computer programming, Susan is
阅读全文 »

New words and expressions spot a big red spot 斑点 a spot on one’s reputation 污点 A leopard won’t change its spots. 本性难移 spot of sth 有一点 a spot of bother 有点小麻烦 You seem to be having a spot of bother with your car, can I help? a scenic spot 旅游景点 A great many of scenic spots are being spoilt by th
阅读全文 »

Lab Tests Online 旨在帮助病人或家庭护理员更好地了解众多的临床检验项目,这是作为日常护理及诊断和治疗各种疾病的一部分。如果您是一位医学专业人士,通过这个网站可以快速获取相关知识,及时了解实验室最新进展。 默沙东诊疗手册是一个涵盖了医学所有领域成千上万主题的广泛医学信息来源。它们作为免费的公众服务提供给医疗专业人士和普罗大众。
阅读全文 »