由于centos7安装后,YUM源服务器在国外下载比较慢,所以更换为国内YUM源 1、清空原YUM源配置文件 [root@localhost ~]#cd /etc/yum.repos.d [root@localhost yum.repos.d]# rm -rf * 2、下载阿里yum源配置文件 [r ...
分类:
其他好文 时间:
2020-12-25 11:50:31
阅读次数:
0
程序员书库(ID:OpenSourceTop)编译链接:http://www.thisprogrammingthing.com/2017/Lessons-Learned-From-Working-Effectively-With-Legacy-Code/如若不想让上图这种情况发生在自己身上请往下看吧,有本书能拯救你作为投资自己的一部分,我决定每年都阅读四本不同的编程/管理书籍来提高自己,对于第一季
分类:
其他好文 时间:
2020-12-24 12:12:13
阅读次数:
0
profile的使用 1、作用 使用profile可以对某一条sql性能进行分析 2、语法 mysql> show variables like '%profil%'; + + + | Variable_name | Value | + + + | have_profiling | YES | | ...
分类:
数据库 时间:
2020-12-23 11:52:30
阅读次数:
0
dpkg -i|--install <file.deb> 安装 dbg 包dpkg -L|--listfiles <package> 列出属于指定软件包的文件dpkg -l|--list <package> 简明列出软件包状态dpkg -r|--remove <package> 仅卸载软件dpkg ...
分类:
其他好文 时间:
2020-12-18 12:37:37
阅读次数:
2
编译源码文件为可执行文件 下载Redis源码文件 **1.进入Redis官网获取文件下载地址** 2.使用wget下载源码文件 解压源码文件 3.下载的源码文件为压缩包,使用tar命令解压源码文件 tar xzf 源码压缩包文件名 编译源码为可执行文件 4.进入解压后的文件夹执行make命令进行编译 ...
分类:
其他好文 时间:
2020-12-16 12:57:41
阅读次数:
5
最先使用是在验证用户名和密码的时候 局部钩子的使用 需要在form中使用 全局钩子的使用 这是在校验注册页面的两次密码是否一致 def clean(self): password = self.cleaned_data.get('password', '') re_password = self.c ...
分类:
其他好文 时间:
2020-12-15 12:19:08
阅读次数:
4
[root@wallet01 ~]# yum install -y perl-App-cpanminus.noarch [root@wallet01 ~]# cpanm Test::Simple --> Working on Test::More Fetching http://www.cpan.o ...
分类:
系统相关 时间:
2020-12-15 11:51:37
阅读次数:
4
# 进入diskpart DISKPART> diskpart # 查看磁盘 DISKPART> list disk # 选择磁盘号 DISKPART> select disk 2 # 清空磁盘 DISKPART> clean # 创建主分区 DISKPART> create partition p ...
分类:
其他好文 时间:
2020-12-14 13:30:42
阅读次数:
3
vue 刚拉下来的项目, npm install时 出现error:npm ERR! Unexpected end of JSON input while parsing near '…//registry.npmjs.org/ 解决方案 npm cache clean --force 重启 cac ...
分类:
Web程序 时间:
2020-12-14 13:23:48
阅读次数:
6
今天做插件开发遇到一个很奇怪问题,项目build完全正常,clean时报错,莫名其妙,报错信息如下: Information:Gradle tasks [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, : ...
分类:
移动开发 时间:
2020-12-11 12:42:03
阅读次数:
28