准备发布自己写的python1. 首先为模块创建一个文件夹mkdir nester2. 在新建文件夹中创建一个名为"setup.py"的文件在这个文件包含有关发布的元数据.编辑这个文件,增加下面代码:from distutils.core import setupsetup( name = 'nes...
分类:
编程语言 时间:
2014-08-23 15:15:51
阅读次数:
206
本文译至:http://www.tecmint.com/how-to-setup-nfs-server-in-linux/
在本教程中,让我们看看如何安装和配置NFS服务器和如何在NFS服务器和客户端之间共享文件。虽然我已经在CentOS
6.5 32位版本上测试这些步骤,它也可以在RHEL /Scientific Linux
6.x上工作。
场景
NFS S...
分类:
系统相关 时间:
2014-08-23 10:00:40
阅读次数:
331
Android adb setup for ubuntu connect the device to ubuntu, use command $sudo lsusb will display like: mean: Spreadtrum device idVendor 1782 ?idProduct 5d24 1, touch the file: ~/.android/adb_usb.in...
分类:
移动开发 时间:
2014-08-23 03:36:20
阅读次数:
249
安装apache[root@centos64x64ctyun]#tarzxfhttpd-2.2.17.tar.gz[root@centos64x64ctyun]#cdhttpd-2.2.17[root@centos64x64httpd-2.2.17]#./configure--prefix=/application/apache2.2.17--enable-deflate--enable-expires--enable-headers--enable-modules=most--enable-so--wi..
分类:
数据库 时间:
2014-08-22 18:10:59
阅读次数:
233
【问题现象】MCS出来的虚拟机无法被删除【环境】VDA:Win7SP1Enterprise32bitDDC:XenDesktop5.6MachineType:Pool-Randomly【问题分析及处理】1.将虚拟机先从桌面组中移除并将其置成维护模式。2.右键删除虚拟机并从ActiveDirectory中删除。界面开始停留在删除vm的进度条中,如下..
分类:
其他好文 时间:
2014-08-22 18:04:09
阅读次数:
571
1.首先下载64位版本的DEV C++http://sourceforge.net/projects/orwelldevcpp/files/Setup%20Releases/2.采取默认安装即可,安装完成后如果开发c程序,那么一次点击 File-Source,记得保存文件时选择后缀为.c的3.编译时...
分类:
编程语言 时间:
2014-08-22 17:40:39
阅读次数:
242
使用CCTexture2D来创建动画效果,前提资源是有一张合成的大图
下面看具体的做法:
CCSprite* heroSprite = CCSprite::create();
heroSprite -> setAnchorPoint(ccp(0.35,0.3));
heroSprite -> setPosition(ccp(heroSprite -> getContentSize().wi...
分类:
其他好文 时间:
2014-08-22 16:22:19
阅读次数:
212
Step1:下载并安装 py2exe-0.6.9.win32-py2.7.exe和pywin32-217.win32-py2.7.exe(我使用的是Python2.7.3版本)step2: 建文件setup.py。这里setup的参数可以使用windows也可以是console。区别在于你想要在.....
分类:
其他好文 时间:
2014-08-22 16:08:08
阅读次数:
166
背景:pip安装一直不成功,很多模块用pip安装都不行,只好到github下载zip安装c:\Document and settings\> python e:\scrapy-0.24\setup.py install结果失败,提示[err2] no such file or directory: ...
分类:
其他好文 时间:
2014-08-22 15:56:18
阅读次数:
235
JD安装说明:*****Eclipse 插件安装*****1. 在网上搜索并下载jdeclipse_update_site.zip2. Eclipse -> Install New Software -> Add3. 随便输入一个名字,比如JD。在下面的路径中选择zip包所在位置。点击安装4. Wi...
分类:
编程语言 时间:
2014-08-22 12:26:26
阅读次数:
188