verbal advantage level 1 1-20
word 1-10word 1: paraphrase 改写,重说Try to paraphrase the question before you answer it. word 2: ostensible 表面的,假装的The ostensible reason for his absence was illness. word 3: digress 偏离,离题His essay digress from the main subject. word 4: uncanny 神秘的,离奇的She bears an uncanny resemblance to Dido. word 5: candor 坦诚,直率I was surprised at his candor. word 6: morose 郁闷的,坏脾气的After weeks of futile job-hunting, he became morose. word 7: adept 熟练的,擅长的As a composer he proved himself adept at large dramatic...
Google Docs导出pdf中文很难看,粗体不显示的问题
Google Docs 导出 pdf 中文很难看,粗体不显示的问题最近在用 Google Docs 写简历,但是在导出 pdf 的时候发现中文字体并没有像编辑一样美观,变得非常扭曲和丑陋。而且粗体也没有显示。 1. 如何选择华文宋体点击左上角File, language选项中选择中文(中国)就可以在字体栏看到华文宋体。 2. 选择您的设备一定一定要用电脑打开 Google Docs 网页版,实测 ipad(air 5)打开的网页里面并不能看见宋体字体选项,而且在预览打印里也不能正确渲染字体。 3. 预览打印点击左上角File,然后选择Print,会出现预览界面。然后点击保存,所见即所得。 4. 总结 使用电脑打开网页 语言选择中文 预览打印
洛谷P1789【Mc 生存】插火把
【Mc 生存】插火把题目链接 题目描述话说有一天 linyorson 在“我的世界”开了一个 $n \times n$ 的方阵,现在他有 $m$ 个火把和 $k$ 个萤石,分别放在 $(x_1, y_1) \sim (x_m, y_m)$ 和 $(o_1, p_1) \sim (o_k, p_k)$ 的位置,没有光并且没放东西的地方会生成怪物。请问在这个方阵中有几个点会生成怪物? P.S. 火把的照亮范围是: 12345|暗|暗| 光 |暗|暗||暗|光| 光 |光|暗||光|光|火把|光|光||暗|光| 光 |光|暗||暗|暗| 光 |暗|暗| 萤石: 12345|光|光| 光 |光|光||光|光| 光 |光|光||光|光|萤石|光|光||光|光| 光 |光|光||光|光| 光 |光|光| 输入格式输入共 $m + k + 1$ 行。第一行为 $n, m, k$。第 $2$ 到第 $m + 1$ 行分别是火把的位置 $x_i, y_i$。第 $m + 2$ 到第 $m + k + 1$ 行分别是萤石的位置 $o_i,...
Docker learn
Docker Learn 1summary of https://www.docker.com/101-tutorial/ The command you should run1docker run -d -p 80:80 docker/getting-started then Open your browser to http://localhost tipsBuilding the App’s Container Image Create a Dockerfile run command docker build -t getting-started . “-t” is to tag the image and “getting-started” is the name of the image. The “.” means to find Dockerfile in current directory. Starting an App Container run docker run -dp 3000:3000 getting-started “-d” means...
关于 Vscode 连不上服务器的问题
关于 Vscode 连不上服务器的问题在网络中找了好多方法都不管用,具体问题是 XShell 能够通过 ssh 连接云服务器的,但是 vscode 一直连不上,会显示“连接的管道不存在”,我解决问题的方法是打开 ssh 的 config 所在的目录,具体是C:\Users\user\.ssh,里面有一个文件叫known_hosts,把里边的关于云服务器公网 ip 那一行删掉就行了。具体原因应该是我更换过很多次服务器的系统,然后那边的这个信息重置了,但是 vscode 在使用第一次下载的东西连接,所以导致连接不上。
mysql更改角色权限并实现备份
接上一篇接着写如何更改角色权限并实现备份。如果你在备份 mysql 时遇到这个报错: 1mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces 并且知道 mysql root 的密码, 登录 mysql root 账号 1mysql -uroot -p 更改角色权限。这里的单引号不能删除,只需要把 user1 改成需要的用户名就行 1GRANT PROCESS ON *.* TO 'user1'@'localhost'; 备份数据库。这里需要退出 mysql 在根目录里执行。username 换成自己角色名,dbname 换成需要备份的数据库名称。 1mysqldump -u username -p dbname > backup.sql
重置 mysql root 密码
重置 mysql root 密码这可能是建站以来遇见的最大的一次困难了,因为建站的时候直接使用了宝塔然后一键部署,我今天突发奇想既然网站已经搭建好,我已经不需要宝塔了,然后就进行了宝塔的卸载。这就是噩梦的开始。显然仅卸载宝塔对网站没有任何影响。但是之前我用到过宝塔的数据库备份功能,所以我打算重新去写数据库备份的脚本。就当我兴致冲冲去运行脚本的时候,mysql 就报错了,说我的角色权限不足,不能备份数据库里的数据。 1mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces 这里提到为什么我不知道 root 密码,因为一键部署的话他是会给你创一个新的角色然后去使用数据库,这就导致了他在给我数据库密码的时候只给了我这个角色的名称和密码,具体 root...
新的开始
简单记录一下博客搭建过程 很早以前就有了搭建博客的想法,也有用过 react 写过博客前端页面,但是很快我就知道了这不是短时间工程。所以我去寻找现成的模板。 显然我需要一个服务器。我去搜了并且决定是阿里云服务器,因为大学生使用很长时间几乎是免费(这不是广告)。试错了很多,也跟着教程做了几个实验,基本是熟悉了服务器的操作。 虽然但是,我还是使用了 AWS(也是白嫖)。具体申请条件就请去官网看吧,毕竟时时都在变化。 总之我会继续完善这个博客的,毕竟现在的时间实在是太宝贵了。
POV of Oppenheimer
Oppenheimer (film)After watching the Oppenheimer, I can’t tell that what I am feeling. First of all, it must be clear that the conversation I will talk is not about any country, any government, any things in reality. What I will talk is just about the film. Yes, the film is extremely good. The sound, the actors, the music. I found that some Oppenheimer’s personality is just the same as mine. We both pursue the high end technology, think about how to change the world. I don’t deny...