打算远程工作的原因

上周被问到打算远程工作的原因,竟然就只说了自由度较高,可以在自己开发效率较高时间段工作这个原因。。稍认真想想,主要原因如下: 父母日渐年迈,在家会比较安心 不用通勤,节约上下班时间 自由度相对较高,可以打造更适合自己的工作环境 第1点还是最主要的。21年连续两个长辈过世,心情很不好。 第2点是节省时间。如果是全职坐班,要是公司稍远一些上下班通勤时间都要2个多小时不止。在广州时,一开始住的地方是在距离当时上班的公司不到10分钟路程附近找到的,结果一年左右该公司就搬到了另外地方,坐车也要近1个小时,但由于搬家麻烦,就一直住了好几年。上家公司也是很不容易找到的附近的公司,骑单车10来分钟就到,结果后面也是搬到了更远的地方,来回差不多要2个小时,挺是郁闷。 第3点是提高效率。 坐班时,有时较晚睡觉了,早上依然得早起,中午没什么精神打算多睡半个小时也不行,只能喝喝咖啡提提神,精神或者状态不好有时确实会影响效率;还有个人喜欢在偏静的环境中工作,有时晚上反而状态更好,坐班一般环境还是较为嘈杂,有时可能很专注在开发或者深入考虑一些问题,结果这边开个会,那边帮助处理下问题,那边发个版本,一下子思路就打断了。 当然还有其他考虑,大还是上面3个较为主要。

VOCABULARY – TEST 7

题目 The hunters tried to cleave a path through the jungle. The workers in the construction site were sweltering in the heat. His political career was blighted by the scandal. Her affected mannerisms made us all sick. The bleak countryside attracted only the hardiest of settlers. Psychologists study the complexities of the human psyche. Her […]

Running MyBatis Generator With Maven

Running MyBatis Generator With Maven MyBatis Generator (MBG) includes a Maven plugin for integration into a maven build. In keeping with Maven’s configuration by convention strategy, including MBG in a Maven build can be very simple. The minimum configuration is shown below: <project …> … <build> … <plugins> … <plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-maven-plugin</artifactId> <version>1.4.0</version> </plugin> … […]

遭遇kthreaddk

刚才突然发现网站打开很慢,一直在转,不知道哪里出了问题,赶紧登录服务器,发现服务器上执行命令也要好一会才出结果,top一下,发现CPU飙到300%多,而且一直维持在这么高,执行的命令是kthreaddk。 百度了一下,呃,挖矿病毒,不过都是kthreaddi,这个是kthreaddk,难道是升级版? 继续百度一下处理方案, 好像也没有特别简明和确切的。 都是查看一下,删除文件以及kill进程: ls -l /proc/[pid]/exe — 这里pid就是top命令最左侧列的数值,即进程ID(process identifier ) sudo kill -9 [pid] 使用ls命令查看的时候,也都是后面有(deleted)标识,并且相关目录也是为空。 kill后随机又出现一个新的同样是执行kthreaddk命令的进程,CPU又是飙升不降。 crontab -l 命令或者 crontab -e 命令似乎没有什么信息。 后来一通搜索后懵懵懂懂的就认为是gitlab的问题,有了方向就好办了,由于gitlab是使用docker来运行的,直接 docker stop gitlab, 停止后居然CPU就恢复正常了,意外之喜。那么后面怎么办?要不要删掉实例重新创建? 由于打算研究一下,于是重启实例,居然没事了。好吧,有惊无险糊里糊涂的处理了病毒问题,也不知道会不会再出现,只能有碰到再继续研究了。 另外,登录gitlab后,在右侧问号图标处下拉菜单选择help可以查看当前gitlab版本。

VOCABULARY – TEST 6

题目 The viper was ensnared and put in a cage. Her heart was frigid as the weather outside. The ferry to France will leave from quay 6 at 4:35 p.m. Causing much discontent, his regime didn’t remain in power for long. He continued to hew at the gigantic tree with his axe. We should all […]

Redis cluster 官方文档(选摘)

Redis cluster tutorial This tutorial tries to provide information about the availability and consistency characteristics of Redis Cluster from the point of view of the final user, stated in a simple to understand way. Note this tutorial requires Redis version 3.0 or higher. Redis Cluster 101 Redis Cluster provides a way to run a Redis […]

volatile 以及同步相关内容

volatile Fields The Java programming language allows threads to access shared variables (§17.1). As a rule, to ensure that shared variables are consistently and reliably updated, a thread should ensure that it has exclusive use of such variables by obtaining a lock that, conventionally, enforces mutual exclusion for those shared variables. The Java programming language provides […]

TypeScript 学习(一)

TypeScript Documentation TypeScript for the New Programmer What is JavaScript? A Brief History JavaScript (also known as ECMAScript) started its life as a simple scripting language for browsers. At the time it was invented, it was expected to be used for short snippets of code embedded in a web page — writing more than a […]

VOCABULARY – TEST 5

题目 The entrance to the cave was through a large cleft in the rock. A) 绳索 B) 栈道 C) 圆洞 D) 裂缝 His guile earned him the contempt of the other villagers. A) 恐吓 B) 奸诈 C) 骚扰 D) 乞讨 The shirt gaped open to reveal his chest. A) 掉下 B) 破洞 C) 敞开 D) […]

2022. Convert 1D Array Into 2D Array

题目 You are given a 0-indexed 1-dimensional (1D) integer array original, and two integers, m and n. You are tasked with creating a 2-dimensional (2D) array with m rows and n columns using all the elements from original. The elements from indices 0 to n – 1 (inclusive) of original should form the first row […]