运行完上边的这个命令之后,你就可以知道你的系统中都少什么库,下边就是安装缺少的库的方法
If you encounter configure: error: libdb_cxx headers missing
提示少libdb_cxx头,这个时候运行下边令命安装db的C++开发库
sudo apt-get install libdb5.1++-dev
./configure --with-incompatible-bdb
Submitted by admin on 2017, September 3, 9:44 PM
运行完上边的这个命令之后,你就可以知道你的系统中都少什么库,下边就是安装缺少的库的方法
If you encounter configure: error: libdb_cxx headers missing
提示少libdb_cxx头,这个时候运行下边令命安装db的C++开发库
sudo apt-get install libdb5.1++-dev
./configure --with-incompatible-bdb
Submitted by admin on 2017, August 8, 8:14 PM
http://www.jianshu.com/p/53cccae3c443
Submitted by admin on 2017, August 8, 8:14 PM
http://studygolang.com/articles/650
Submitted by admin on 2017, July 25, 10:00 PM
用 sendfrom 函数,第一个参数指定账号,第二个参数指定发送地址,第三个参数指定发送金额,例如:
bitcoin-cli sendfrom "MyAccount" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.01
Submitted by admin on 2017, July 19, 1:02 PM
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
Submitted by admin on 2017, June 26, 8:11 PM
In file included from progname.c:26:0:
cd /tmp/libiconv-1.14/srclib
vi stdio.in.h
找到这行内容:
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
替换成:
#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16) _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); #endif
注意:结尾的#endif也要包括。
Submitted by admin on 2017, June 16, 11:21 PM
Submitted by admin on 2017, June 16, 1:08 PM
define('FORCE_SSL_LOGIN', true);
define('FORCE_SSL_ADMIN', true);
//WordPress SSL at 2016/12/29 update add_filter('get_header', 'fanly_ssl'); function fanly_ssl(){ if( is_ssl() ){ function fanly_ssl_main ($content){ $siteurl = get_option('siteurl'); $upload_dir = wp_upload_dir(); $content = str_replace( 'http:'.strstr($siteurl, '//'), 'https:'.strstr($siteurl, '//'), $content); $content = str_replace( 'http:'.strstr($upload_dir['baseurl'], '//'), 'https:'.strstr($upload_dir['baseurl'], '//'), $content); return $content; } ob_start("fanly_ssl_main"); } }
https://zhangzifan.com/wordpress-ssl-link.html