微信网页分享时不显示描述只显示地址的解决方法 参照:https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115附录5-常见错误及解决方法invalid url domain当前页面所在域名与使用的appid没有绑定,请确认正确填写绑定的域名,仅支持80(http)和443(https)两个端口,因此不需要填写端口号(一个appid可以绑定三个有效域...
算法总结1: 数组和链表必知必会(算法笔记) 数组:1. 实现一个支持动态扩容的数组2. 实现一个大小固定的有序数组,支持动态增删改操作3. 实现两个有序数组合并为一个有序数组链表实现单链表, 循环链表,双向链表,支持增删操作实现单链表反转实现两个有序的链表合并为一个有序链表实现求链表的中间结点...
The last packet successfully received from the server was 11,012 milliseconds ago. 最近在生产系统上报如下错误:### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failureThe last packet successfully received from the server was 11,...
kettle windows安装后启动spoon.bat无法启动的问题 修改spoon.bat如下语句: if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m" 为:if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_
phpexcel 因为文件格式或文件扩展名无效,请确定文件未损坏,并且文件扩展名与文件的格式匹配 $objPHPExcel = new PHPExcel();$filename = "test.xls";header('Content-Type: application/vnd.ms-excel');header("Content-Disposition: attachment;filename=\"{$filename}\"");header('Cache-Control: ...
hcache编译安装 && fatal: unable to access 'https://github.com/tobert/pcstat/': SSL connect error 1. 获取hcache源代码:wget https://github.com/silenceshell/hcache/archive/master.zipunzip master2.安装gohcache要求go的版本不得低于1.4.本次使用go1.7 wget https://dl.google.com/go/go1.7.6.linux-amd64.tar.gztar zx...
struct对齐 && gdb初步使用 struct test{ char a;//1 int b;//4 long c;//4 void* d;//1 int e;//4 char* f;//4};int main(){ struct test t1; printf(t1.f); } gcc -g test.c(需要使用-g来生成符号表)(gdb) file a.outReading sy...
php7最小化安装 && vld扩展安装并查看php代码的opcode && ast测试 最小化安装php7cd ~/software/git clone https://github.com/php/php-src.gitcd php-srcgit checkout php-7.2.13cd ../cp -r php-src php7.2cd php7.2./buildconf --force./configure --prefix={家目录}/...
mycat1.6 通过navicat导入数据的时候报错的问题 navicat连接mycat 8066端口执行时,如果执行的sql有类似如下单行注释时,会导致导入失败。SET FOREIGN_KEY_CHECKS=0;-- ------------------------------ Table structure for test-- ----------------------------DROP TABLE IF EXISTS `test...
mycat 常见配置详解 在配置多schema的时候,如果有如下问题:The content of element type "mycat:schema" must match "(schema*,dataNode*,dataHost*)".需要排查 schema.xml中:schema,dataNode,dataHost的书写顺序,我出错的原因就是,我是按照:schema,dataNode,dataHos...
php5.4 编译原理第一弹--autoconf && 最小化安装php5.4 执行./buildconf --force后,在php5.4目录下会自动生成如下文件只在 php5.4/ 存在:aclocal.m4只在 php5.4/ 存在:autom4te.cache只在 php5.4/ 存在:buildmk.stamp只在 php5.4/ 存在:configure只在 php5.4/ 存在:generated_lists只在 php5.4/ 存在:instal...
ubuntu安装source insight 安装方法:sudo apt-get install wine下载sourceInsight,以sourceInsight3为例:假设exe的位置在~目录下,则直接执行:wine SourceInsight_V3.5.76.0_Setup.1429178754.exe安装依赖包后,会跳到安装 ttf-mscorefonts-installer安装界面,使用tab切换到确认按钮,...
php 使用反射设置方法可见性 $ref_class = new ReflectionClass('class_demo'); $instance = $ref_class->newInstance(); $method = $ref_class->getmethod('method_demo');$method->setAccessible(true);$itemInfo = $method-&g...
[easy][leetcode面试] majorityElement 的js解法 Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the array is non-empty and the majority element alwa...