实验楼

实验楼是一家专注于IT技术的在线实训平台,采用创新的“在线实验”学习模式,为学生及在职程序员提供编程、运维、测试、云计算、大数据、数据库等当前主流IT技术实践课程。 结构 课程 课程,作为实验楼的核心内容。 训练营 训练营,是涵盖具体知识的系列课程。 楼+ QQ群交流,班主任跟踪 组团学习 教学视频 会员 实验楼存在三种会员:普通会员/标准会员和高级会员。 社区 社区中包含:讨论/教程库/直播/比赛。 企校版 未体验 用户信息 用户信息主要涉及使用实验楼过程中的用户数据。 优化点 研发体系课程不完善。缺少QA相关的课程,比如:自动化测试/性能测试等 课程中的讨论功能,没有使用起来。建议:这部分可以把知识点的内容稍做整理,便于学员讨论交流 针对课程/老师进行增加打分功能,让学员可以从大量的课程中,选择认可度比较高的老师。 总结 实验楼是一个功能比较完善的在线教学的IT产品,特别是在线实验室的功能。无论是课程内容的设计和用户体验,都比较完善。关于收费方面,799RMB/年还是值得入手的。 ...

April 10, 2020 · 2 min · Yuanjie

茶道

书 书名 茶道:从喝茶到懂茶 作者 王建荣 豆瓣评分 8.1 分类 茶 In 豆瓣 茶道:从喝茶到懂茶 出版社 江苏凤凰科学技术出版社 读书方法 快速阅读 推荐指数 ★★★☆☆ 难度指数 ★☆☆☆☆ 阅读时间 20200406-20200407 问题 为什么会读这样的书 书买回来好久了,一直没有看。最近又买了一些茶叶,把书拿出来学习下,增加一些茶知识。 收获 茶分类 绿茶 红茶 乌龙茶 白茶 黄茶 黑茶 花茶(再加工茶) 泡茶的水温 嫩茶水温:80-85即可 常规茶叶:100 茶叶冲泡几次比较合适 一舤的2-3次最佳 金句 从喝茶到品人生,都是相通的。 感悟 喝茶可以锻炼人的品性,让自己慢下来。

April 10, 2020 · 1 min · Yuanjie

PM Daily

TOC 8/100 PM需要具备产品经理的能力么? 7/100 PMP证书有必要考么? 6/100 项目临近结束,如何进行需求置换? 5/100 技术型项目中的QA,是必需的么? 4/100 团队中成员效率底,如何处理? 3/100 管理绩效如何提升? 2/100 PM的权力有哪些? 1/100 PM的定义是什么? 8/100 PM需要具备产品经理的能力么? 今天在跟客户沟通需求变更,客户针对填写的需求描述不够专业,反馈需要提升下产品设计的能力 ...

April 3, 2020 · 7 min · Yuanjie

明朝那些事儿

读了半年,终于读完了。 回顾并审视明朝的发展历程,解读人心。 书 书名 明朝那些事儿(1-7) 作者 当年明月 豆瓣评分 9.2 分类 历史 In 豆瓣 明朝那些事儿 出版社 浙江人民出版社 读书方法 深度阅读 推荐指数 ★★★★★ 难度指数 ★☆☆☆☆ 阅读时间 20190625-20200123 问题 为什么会读这样的书 以前自己很少读历史类的书籍,大部分看的都是小说类。 看到很多人都推荐:以史为鉴,借由此书让自己多了解下人性。 收获 内心要强大 朱重八在失去父母,没有家了之后。在生活没有办法继续的时候,他选择了讨饭。来让自己活下去。 ...

April 1, 2020 · 1 min · Yuanjie

练字

起因 过年期间,给孩子发作业的时候,老师总是说孩子的字太乱,需要加强,有时还会有更过份的话孩子的字在班级已在是靠后的了,需要重视。 作为家长,肯定不能忍。 随即让孩子把字写好,但孩子反问爸爸,你的字都那么难看,还管我??来自灵魂的考问呀~ 所以,我要练字,给孩子做一个好榜样。我可以,你也一定可以。 ...

March 31, 2020 · 2 min · Yuanjie

转移hexo文章至Hugo

Github源代码地址:https://github.com/aimer1124/python-format-md 为什么做这个: 把原来博客的文章从Hexo转移至Hugo,但两者在MD文件头部处理不一致。 Hexo格式 1 2 3 4 5 6 7 8 9 title: 'Http-Header' tags: - API测试 - SuperTest categories: - Tool date: 2016-02-29 20:14:00 thumbnail: /img/a.png --- Hugo格式 1 2 3 4 5 6 7 8 9 --- title: 'Http-Header' tags: - API测试 - SuperTest categories: - Tool date: 2016-02-29 20:14:00 --- 暂时发现,需要处理的内容有两处: 在文件首行添加--- 删除MD文件Header中的thumbnail字段(nice to have) Function Read MD file content Create source MD file Create covert file Read MD file Save the change to MD file Make Change to the MD file Save the change to New file Add --- to the first line of the MD file Delete thumbnail in the file format Find thumbnail line Delete the line Batch to update MD files in the folder read the list in the folder make the convert to the file in the list save the new file to the new folder Day by Day Day 1 Set source md file, source.md Create convert.py as convert controller Use open(file, "r").read() to get MD file content Day 2 Make Change and save to new MD file Add --- to new MD file Delete the line with thumbnail 1 2 lines = (i for i in sourceFile if 'thumbnail' not in i ) targetFile.writelines(lines) Use readlines to convert file: list.insert(index,obj) for add --- and list.remove(obj) for delete thumbnail 1 2 3 4 5 6 7 8 9 sourceFileList = sourceFile.readlines() sourceFileList.insert(0,"---\n") for line in sourceFileList: print(line) if "thumbnail" in line: sourceFileList.remove(line) targetFile.writelines(sourceFileList) Day 3 Refactor the code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 def convert(sourceFile, targetFile): sourceFile = open(source, "r") targetFile = open(target,"w") sourceFileList = sourceFile.readlines() sourceFileList.insert(0,"---\n") for line in sourceFileList: # print(line) if "thumbnail" in line: sourceFileList.remove(line) targetFile.writelines(sourceFileList) targetFile.close() sourceFile.close() Get the list in the folder 1 2 import os sourceFileList = os.listdir(sourcePath) Convert the files 1 2 3 4 5 for fileName in sourceFileList: print("Convert file: " + fileName) target = "./target.md" convert(sourcePath + fileName, targetPath + fileName) 参考 文件读写: https://www.runoob.com/python/python-files-io.html Python List: https://www.runoob.com/python/python-lists.html Python File: https://www.runoob.com/python/os-listdir.html

March 31, 2020 · 2 min · Yuanjie

选择一个新的方向

今天在知乎看到一个问题: 一个在电气行业待了两年的人,计划转行软件相关,想问下前端开发/软件测试哪个好? 尝试回答下这个问题 没有好的方向,只有适合自己的方向。 每个人在转行的时候,大家都是比较犹豫。恰巧自己也做过转行:做了10年QA,转行PM。现在已经转行快2年了。 作为一个过来人,我认为问题主要集中在:能否放下当前的积累/能否胜任新的工作/新工作的方向究竟如何。 能否放下当前的积累(兴趣) 回想下自己当初为什么选择现在这个行业,如果能想清楚或者记起来的话,那可以考虑一个问题:自己是否会在未来或者短期再换行业呢?如果还会换,那需要慎重思考,再想一想自己究竟想要做什么。 ...

March 28, 2020 · 2 min · Yuanjie

ECS Tips

SSH 设置密钥对后,无法使用账号登录 设置使用SSH的密钥对登录后,无法正常使用账号+密码的方式进行登录 官方解释: 如果使用SSH密钥对登录Linux实例,将会禁用密码登录,以提高安全性。 参考:https://help.aliyun.com/document_detail/51792.html?spm=5176.2020520101.0.0.182e4df5e0J5S6

March 26, 2020 · 1 min · Yuanjie

一行命令连接ECS

目标:一行命令,直接连接至阿里云的ECS。不需要手动输入IP/Port/User/Pwd。 ECS 创建密钥对 打开ECS的"网络与安全"..>“密钥对” 左上角“创建密钥对”,完成密钥创建 保存生成的密钥对至本机 绑定密钥对 在生成的密钥中,点击绑定密钥对 完成密钥与实例的绑定 SSH 配制Config 修改*.pem文件的属性,支持可执行 chmod 400 *.pem 找到本机的ssh config文件,没有可直接创建,路径参考~/.ssh/config 完成config文件的配制,内容参考如下: Host aliyun HostName ECS公网IP User root Port 22 IdentityFile ~/.ssh/*.pem 连通测试 命令行打开,输入ssh aliyun,可直接连接至阿里云的ECS ...

March 25, 2020 · 1 min · Yuanjie

Flutter学习

什么是Flutter 1 Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase. 是什么 UI 组件库 做什么 使用一套代码 构建美观、本地话编译的应用程序 适用平台 mobile web desktop 使用Flutter 最佳实践Flutter 参考 Flutter官方地址 Flutter中文官方地址

March 17, 2020 · 1 min · Yuanjie