Life was like a box of chocolates, you never know what you're gonna get. 人生就像一盒巧克力,结果往往出人意料。 Compared to the uncertainties in life, I would rather say ...
分类:
其他好文 时间:
2017-08-27 10:00:48
阅读次数:
168
http://www.cnblogs.com/chen74123/archive/2017/08/23.html http://www.cnblogs.com/chen74123/archive/2017/08/24.html http://www.cnblogs.com/chen74123/arc ...
分类:
其他好文 时间:
2017-08-27 09:58:35
阅读次数:
134
在vi中,如果编译时没有clipboard属性,将vi中的内容拷贝到系统剪切板有些麻烦。可以用如下的方法,查看vi 是否支持系统剪切板的功能: 如果如上所示,不支持系统剪切板功能,可以如下在.vimrc中的设置,解决问题: 对于Linux ,需要安装xsel ,命令如下: xsel是很小的软件,大概 ...
分类:
其他好文 时间:
2017-08-27 01:01:37
阅读次数:
158
使用的是AndEngine ES2。在github上可以搜索到。将所有的包下载下来在同一个工作区间即可。只是会有一些错误。 1.将org.andengine.examples.HullAlgorithmExample.Java文件中 import org.andengine.entity.primi ...
分类:
其他好文 时间:
2017-08-27 01:01:22
阅读次数:
128
1.downloading and installing on ubuntu linux First, You shoud confirm that python is installed, and pip too; if python is not installed, you can use f ...
分类:
其他好文 时间:
2017-08-27 00:17:37
阅读次数:
241
相信很多人可能都遇到过下面这些异常: "Parameter 'xxx' not found. Available parameters are [...]" "Could not get property 'xxx' from xxxClass. Cause: "The expression 'xx ...
分类:
其他好文 时间:
2017-08-27 00:15:45
阅读次数:
255
在一个m行n列二维数组中,每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。请完成一个函数,输入这样的一个二维 数组和一个整数,判断数组中是否含有该整数。 使用Step-wise线性搜索。 ```python def get_value(l, r, c): return l[r... ...
分类:
其他好文 时间:
2017-08-27 00:14:37
阅读次数:
153
业内: GET:获取数据 POST:提交数据 上传单个数据: request.POST.get(‘’name名‘’) 上传多选数据: request.POST.getlist('name名') 上传文件:obj = request.FILES.get('name名') obj.chunks() -生 ...
分类:
Web程序 时间:
2017-08-26 23:35:24
阅读次数:
384
#usr/bin/env/python3 # -*- coding: utf-8 -*- #编写购物车 class account(object): def __init__(self): self.cash=50000.0 self.__stocklist=[] def get(self): re... ...
分类:
其他好文 时间:
2017-08-26 23:34:51
阅读次数:
207