过去无论哪一种网站应用程式的开发语言,初学者教学中第一次会提到的起手式,八九不离十就是GET/POST Request 的取值。但是,在Node.js+
Express 的世界中,仿佛人人是高手,天生就会使用,从不曾看到有人撰文说明。这应该算是开发Web Service 的入门,在Client 与S...
分类:
Web程序 时间:
2014-06-10 20:35:04
阅读次数:
289
1.安装python
双击运行就可以了当安装好了Pyhon,记得要配置环境变量,把C:\Python27添加到PATH中2.安装pyqt默认安装就可以3.把eric4.4.2拷贝到C:\目录下,点击eric4.4.2中的install.py文件进行安装。4.Pythonw配置:您可以通过点击安装目录...
分类:
编程语言 时间:
2014-06-10 20:15:47
阅读次数:
268
首先下载lua源码包,然后分别是make,make linux,make
install注意如果没有make
install,那么在#include时,会报找不到lua.h文件的错误。网上找到一段源码:func.lua--变量定义width=1;height=2;--lua函数定义,实现加法func...
分类:
编程语言 时间:
2014-06-10 16:19:01
阅读次数:
323
1.下载npm源代码:https://github.com/isaacs/npm/tags2.
npm源代码解压到D:\npmjs目录中。 在命令提示符窗口中执行下面的操作,完成npm的安装:D:\>cd npmjsD:\npmjs>node
cli.js install -gf 另外:node c...
Vmware Player添加网络连接,
选择“Host-only”:查看网卡ip=192.168.245.132:安装samba图形管理界面:#sudo apt-get install
system-config-samba启动samba图形管理界面:#sudo system-config-sam...
分类:
其他好文 时间:
2014-06-10 11:21:57
阅读次数:
257
Binary Tree Maximum Path SumGiven a binary
tree, find the maximum path sum.The path may start and end at any node in the
tree.For example:Given the be...
分类:
其他好文 时间:
2014-06-10 10:42:58
阅读次数:
203
binary search\sort\find operations
status InsertNode(Node* root, data x, Node* father)
{
if(root==NULL)
{
if(father==NULL)
Tree empty;
else
{
if(xdata)
{
father->left=new Node//inital l...
分类:
其他好文 时间:
2014-06-10 08:09:49
阅读次数:
234
题意:求在可以一秒沿着既定方向走1到3步和向左或右转90度的情况下,从起点到终点的最短时间
思路:坑的是这机器人还有体积,所以不能走到边界,然后就是单纯的BFS
#include
#include
#include
#include
#include
using namespace std;
const int MAXN = 110;
struct node {
int x,y;...
分类:
其他好文 时间:
2014-06-10 07:59:51
阅读次数:
256
最近在使用Linux的过程中,为了方便,需要通过我的笔记本访问别的一台安装了 Ubuntu 的机器,方便起见,直接用了图形化远程登录,其中需要用到的就是 VNC。它的配置过程分为两部分,服务器端(另一台机器),客户端(我的笔记本)。
服务器端:
安装VNC服务程序:
$ sudo apt-get install vnc4server
给当前用户设置v...
分类:
其他好文 时间:
2014-06-10 07:06:25
阅读次数:
197
第一步自然是安装了,我是用Webstorm这个ide,安装分2步:
1、安装nodejs,下载Windows下的安装版本,注意是以msi为扩展名的,然后下一步,没啥好说的,下载地址如下:
32位的msi:http://nodejs.org/dist/latest/
64位的msi:http://nodejs.org/dist/latest/
2、安装WebStorm8.0.3,好像会自动找...
分类:
Web程序 时间:
2014-06-10 06:46:55
阅读次数:
283