出现的问题:
[2015-07-29 16:47:08 - K_wechat] Installation error: INSTALL_FAILED_VERSION_DOWNGRADE
[2015-07-29 16:47:08 - K_wechat] Please check logcat output for more details.
[2015-07-29 16:47:09 - K_we...
分类:
移动开发 时间:
2015-07-29 17:14:06
阅读次数:
385
4.1 Implement a function to check if a binary tree is balanced. For the purposes of this question, a balanced tree is defined to be a tree such that t...
分类:
其他好文 时间:
2015-07-29 13:46:49
阅读次数:
99
[user] name=yulongdong email=dongyl0501@gmail.com[core] editor=vim whitespace=trailing-space,space-before-tab,tab-in-indent[commit] template=~/.ssh/.gitmsg.template[color] ui=auto status=auto branch=auto[rerere] enabled=0[merge] tool=vimdiff[alias] co=check..
分类:
其他好文 时间:
2015-07-29 10:26:42
阅读次数:
140
用python的代码实现range相关的功能.#!/usr/bin/envpython
defr(start,end=None,step=1):
ifstep>0:
ifnotend:
start,end=0,start
check=lambdax,y:x<y
elifstep<0:
check=lambdax,y:x>y
else:
raiseValueError("range()stepargumentmustnotbezero")
tmp=[]
whi..
分类:
编程语言 时间:
2015-07-29 06:38:07
阅读次数:
318
今天学习了一下微信企业号发送消息的接口,发现在发送含有中文字符的信息时,微信接口响应错误,错误信息为:
invalid charset. please check your request, if include \uxxxx will create fail!
但是,在不包含中文字符的事情,却没有什么问题。其实错误信息已经很明确,是因为包含了\uxxxx这个Unicode编码导致无法解析...
分类:
微信 时间:
2015-07-28 13:04:21
阅读次数:
1202
$sudo apt-get update //update$sudo apt-get install tasksel //install tasksel$sudo tasksel //check t...
分类:
Web程序 时间:
2015-07-27 22:45:31
阅读次数:
119
Problem A. Poetry ChallengeTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100500/attachmentsDescriptionLet’s check another challe...
分类:
其他好文 时间:
2015-07-27 20:35:38
阅读次数:
252
项目中遇到客户的需求变化,要验证某个数据的正确性,判断输入的两位字符,第一位是数字16进制的,第二位是I、O、Q、U除外的字母(A到Z)。本来对js不熟练,网上参考了一下js正则验证的规则,使用正则表达式完成了这个验证。 1 function check() { 2 va...
分类:
Web程序 时间:
2015-07-27 18:03:17
阅读次数:
132
Contrallor里面加验证信息及对省市进行初始化: if?(results.hasErrors())?{
?
?????????????List<Item>?provinceList?=?itemListComponent.getProvinceList();
????????? model....
分类:
其他好文 时间:
2015-07-27 16:54:54
阅读次数:
120
1.在客户端上创建脚本/usr/local/nagios/libexec/check_disk.shvim/usr/local/nagios/libexec/check_disk.sh写入如下内容:(client上)#!/bin/bash#!/bin/bashrow=`df-h|wc-l`foriin`seq2$row`doava=`df-h|sed-n“$i”p|awk‘{print$4}’`u_per=`df-h|sed-n“$i”p|sed-n“s/\%/..
分类:
移动开发 时间:
2015-07-27 16:51:10
阅读次数:
141