今天准备把最新的表导入自己以前的机子上做临时开发,在数据库导入的时候遇到一个问题:Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UP ...
分类:
数据库 时间:
2016-11-07 01:02:02
阅读次数:
347
https://www.moonfly.net/801.html http://www.centoscn.com/image-text/config/2015/0423/5251.html 1、查看nginx版本和安装配置 nginx -V 确认nginx的SNI支持是否开启了;TLS SNI su ...
分类:
其他好文 时间:
2016-11-06 11:43:21
阅读次数:
178
转自:http://blog.csdn.net/cnjsnt_s/article/details/5548280具体使用时需要参考:http://blog.csdn.net/codeforme/article/details/5539454 MySQL有两种常用的引擎类型:MyISAM和InnoDB ...
分类:
数据库 时间:
2016-11-05 20:09:32
阅读次数:
299
其实并不是不支持声卡驱动了。只是root用户下默认关闭。systemctl --user enable pulseaudio leafpad 编辑 /etc/default/pulseaudio 写入以下两行即可。#root下是默认关闭声卡驱动的, 开机自动开启PULSEAUDIO_SYSTEM_S ...
分类:
其他好文 时间:
2016-11-04 23:05:18
阅读次数:
319
实现功能:文章浏览量的统计显示 实现的详细:对文章的总浏览量、当天浏览量、当周浏览量、当月浏览量进行统计 实现代码位置:coreframe/app/content/stat.php 实现的详细代码: 数据库结构: 加载方式: 内容页面调用js代码 显示文章浏览量 注:页面中需要引入jQuery框架。 ...
分类:
其他好文 时间:
2016-11-04 16:40:11
阅读次数:
351
FreeTDS的软件获取:在官网上进行下载:http://www.freetds.org/ 执行以下命令: ./configure --with-tdsver=7.1 --enable-msdblib --disable-libiconvmakemake install 检查是否安装成功,输入命令: ...
分类:
其他好文 时间:
2016-11-03 16:28:21
阅读次数:
172
1.打开扩展管理器。 1.jsenhancement插件。 参考文章:http://www.cnblogs.com/dudu/archive/2011/02/27/vs2010_extension_JSEnhancements.html 在Visaul Studio 2010中写js或css代码,缺 ...
分类:
其他好文 时间:
2016-11-03 16:26:03
阅读次数:
149
因为启动dashboard报CrashLoopBackOff错误,尝试使用logs去查看日志,结果报错,错误如下: 但是使用curl http://192.168.37.130:8080却是可以访问通的 实在很奇怪, 首先怀疑是不是因为IPV6的原因导致,关闭IPV6 但再次重启服务,也还是无法访问 ...
分类:
Web程序 时间:
2016-11-03 14:02:22
阅读次数:
693
// 判断输入的字符串是否为数字,不含其它字符 func isPurnInt(string: String) -> Bool { let scan: Scanner = Scanner(string: string) var val:Int = 0 return scan.scanInt(&val) ...
分类:
编程语言 时间:
2016-11-02 17:19:27
阅读次数:
262
IntelliJ IDEA默认的Output输出缓存区大小只有1024KB,超过大小限制的就会被清除,而且还会显示【too much output to process】,可通过如下配置界面进行修改(Settings→Editor→Console),单位为KB 如果需要禁用缓存区大小限制就需要修改配... ...
分类:
其他好文 时间:
2016-11-02 00:54:15
阅读次数:
500