最近忙着做一个登录公众号获取用户信息及用户分享后可以得到积分。 首先用户点击一个链接 window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=#&redirect_uri=#&response_t ...
分类:
微信 时间:
2017-07-27 12:39:10
阅读次数:
520
This is an interactive problem. You should use flush operation after each printed line. For example, in C++ you should usefflush(stdout), in Java you ...
分类:
其他好文 时间:
2017-07-27 01:01:39
阅读次数:
294
简述 >> FTP: 1. Install FTP service on Linux(Red Hat) as root user [root]# yum install ftp 2. Configure FTP as root user a) Be clear with below properti ...
分类:
其他好文 时间:
2017-07-26 22:00:00
阅读次数:
197
已解决: echo "1" > /proc/sys/net/bridge/bridge-nf-call-iptables error: failed to run Kubelet: failed to create kubelet: misconfiguration: kubelet cgroup ...
分类:
其他好文 时间:
2017-07-26 14:47:15
阅读次数:
696
1. 生成 ssh 公钥和私钥 2. 查看生成结果 3. 将公钥部署到目标客户端 4. 验证 return "SUCCESS"; ...
分类:
其他好文 时间:
2017-07-26 14:43:43
阅读次数:
167
简答 在Windows下用pip安装Scrapy报如下错误, error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat). Get it from http://aka.ms/vcpython27 打开http ...
分类:
编程语言 时间:
2017-07-26 13:44:07
阅读次数:
292
1:修改内核参数 [root@dba mnt]# vim /etc/redhat-release Red Hat Enterprise Linux Server release 4 (Tikanga) 2:修改主机名 [root@dba ~]# vim /etc/sysconfig/network ...
分类:
数据库 时间:
2017-07-26 10:43:23
阅读次数:
193
两次配置jdk失败。。原因: 1.CLASSPATH:第一个.打成了逗号。javac命令不识别。 2.jdk安装有问题。jdk安装目录下没有jre,而配置路径时需要指定jre位置。。。java命令不识别。 果然配置jdk环境不对的话,要么路径有问题,要么安装有问题。。。。。。。。 由于前端开发用到了 ...
分类:
其他好文 时间:
2017-07-26 01:49:37
阅读次数:
198
老实说,我对+ = * / % && || ==一些比较简单的运算符比较熟悉。对位运算就陌生了,主要用的少。我觉得高手用的会比较多,因为位运算速度比较快。位运算应该适用于大多数的语言,不限于c++ 1.& 如果两个相应的二进制位都为1,则该位的结果值为1;否则为0。 注:下面都用8位的 unsign ...
分类:
其他好文 时间:
2017-07-25 22:39:56
阅读次数:
231
Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer number is beautiful if and only if it is divisible by ...
分类:
其他好文 时间:
2017-07-25 22:33:41
阅读次数:
197