The rich material and exquisite craftsmanship make it hard to put my hands. While it is true that Hermes bag stands clearly above all the other luxury...
分类:
其他好文 时间:
2014-08-20 11:45:46
阅读次数:
387
lnmp的架构lnmp架构为:linux+nginx+mysql+php/perl/python,我们将只用linux(rhel6.5)+nginx+mysql+php构建企业web架构环境:RHEL6.5iptables-Fselinuxisdisabled注意:在搭建lnmp环境前,必须检测系统内部不能存在相关的软件:(纯净搭建)#rpm-qa|grepphp#rpm-qa|grephttpd#rpm-q..
分类:
其他好文 时间:
2014-08-20 10:39:36
阅读次数:
518
九九乘法表,forainrange(1,10):
forbinrange(1,a+1]:
print"%sx%s=%s"%(a,b,a*b),
print"\n"
分类:
编程语言 时间:
2014-08-20 10:35:56
阅读次数:
237
%%%% mosaic
clc;
clear all;
addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm');
Image=imread('4.jpg');
Image=double(Image);
size_info=size(Image);
height=size_info(1)...
分类:
其他好文 时间:
2014-08-20 10:33:26
阅读次数:
244
上篇博客学习的内容,在这个cocos2d-js-v3.0-rc2版本发布后,感觉又有点过时了。(cocos js项目结构又改变了!)1、下载cocos2d-js-v3.0-rc2的这个版本的包2、点击执行setup.py,确保安装了python,并且配置到了环境变量的path中。运行正常的话:看cm...
分类:
Web程序 时间:
2014-08-20 10:27:46
阅读次数:
326
一.安装sudo pip install virtualenv二.创建虚拟环境virtualenv (--no-site-packages [虚拟环境名称] 如,创建**ENV**的虚拟环境virtualenv ENV默认情况下,虚拟环境会依赖系统环境中的site packages,就是说系统中已经...
分类:
编程语言 时间:
2014-08-20 10:23:36
阅读次数:
239
使用条件判断,可以让make根据运行时的不同情况选择不同的执行分支。条件表达式可以是比较变量的值,或是比较变量和常量的值。
一、示例
下面的例子,判断$(CC)变量是否"gcc",如果是的话,则使用GNU函数编译目标。
libs_for_gcc = -lgnu
normal_libs=
foo: $(objects)
ifeq($(CC),gcc)
$(C...
分类:
数据库 时间:
2014-08-20 09:20:46
阅读次数:
271
系统环境是win7(64bit)+python3.4(64bit)+numpy1.82+vs2012
1.如果用sourceforge上编译好的32bit的exe安装,会提示‘python version ** required,which was not found in the registry’.
原因是安装的python是64bit的吧(不确定),但是注册表里确实没有,
2.自...
分类:
其他好文 时间:
2014-08-20 09:20:16
阅读次数:
314
Python 对LinkedIn用户联系人的地址进行地理编码...
分类:
编程语言 时间:
2014-08-20 08:10:36
阅读次数:
240
(1)创建scrapy项目 scrapy?startproject?getblog ????(2)编辑 items.py #?-*-?coding:?utf-8?-*-
#?Define?here?the?models?for?your?scraped?items
#
#?See?documentation?i...
分类:
编程语言 时间:
2014-08-20 07:06:56
阅读次数:
262