摘要: Redis安装 下载地址:https://github.com/MicrosoftArchive/redis/releases 下载对应的版本:这里下载Redis-x64-3.2.100 解压文件 进入Redis-x64-3.2.100目录,执行redis-server.exe redis.wind 阅读全文
posted @ 2018-09-11 22:53 Leo~Chan 阅读(614) 评论(0) 推荐(0) 编辑
摘要: Cmder是Windows下的命令行工具,用来代替Windows自带的cmd 官网:http://cmder.net/ 这里下载Full版本 https://github.com/cmderdev/cmder/releases/tag/v1.3.6 下载解压打开即可使用 如何将Cmder添加到右键菜 阅读全文
posted @ 2018-09-11 22:09 Leo~Chan 阅读(3624) 评论(0) 推荐(0) 编辑
摘要: 在虚拟机新建一个Ubuntu18.04.1-live-server-amd64当做服务器 在安装软件时报错: slave@slave:~$ sudo -s[sudo] password for slave: root@slave:~# apt install redis-serverReading 阅读全文
posted @ 2018-09-11 17:50 Leo~Chan 阅读(9394) 评论(0) 推荐(1) 编辑
摘要: 在Python3.5中安装Scrapy第三方库 安装到后面出现的这类错误: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub. 阅读全文
posted @ 2018-09-11 17:49 Leo~Chan 阅读(181) 评论(0) 推荐(0) 编辑
摘要: vim配置 下载地址:https://github.com/wklken/k-vim 安装步骤: 1. clone 到本地 2. 安装依赖包 3. 安装 移除安装 安装完成后,终端输入vim使用底部会报这样的错: The ycmd server SHUT DOWN (restart with ':Y 阅读全文
posted @ 2018-09-08 00:16 Leo~Chan 阅读(13221) 评论(1) 推荐(1) 编辑
摘要: Python2 在python中包含两种字符串类型:str和unicode,str并不是完全意义上的字符串,其实是由unicode经过编码(encode)后的字节组成的字节字符串,而unicode则是真正意义上的字符串,由字符组成。 python 在内部使用两个字节来存储一个unicode,使用un 阅读全文
posted @ 2018-08-16 20:02 Leo~Chan 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 在Ubuntu17.04下,遇到清空回收站文件时报错,提示”Failed to delete the item from the trash”,无法清空回收站。 回收站其实就是一个文件夹,存放着被删掉的文件。 Ubuntu回收站的路径: 解决方法 打开终端运行以下命令强制清空回收站目录下的所有文件: 阅读全文
posted @ 2018-08-14 22:47 Leo~Chan 阅读(2121) 评论(0) 推荐(0) 编辑