Firefly是免费、开源、稳定、快速扩展、能 “热更新”的分布式游戏服务器端框架,采用Python编写,基于Twisted框架开发。它包括了开发框架和数据库缓存服务等各种游戏服务器基础服务,节省大量游戏开发的工作时间,真正做到让使用者把精力放在游戏玩法逻辑上。用它可以搭建自定义的分布式架构,只需要...
分类:
其他好文 时间:
2014-06-27 19:45:37
阅读次数:
277
sql语句联合查询详解2011-03-01 18:58:22|分类:mysql|举报|字号订阅例子:person表和user表没有约束person表:user表:有以下几种关联1.UNION格式:查询语句UNION [ALL] 查询语句[UNION [ALL] 查询语句][…n]说明:ALL选项表示...
分类:
数据库 时间:
2014-06-27 19:28:42
阅读次数:
233
查询所有用户的表,视图等select * from all_tab_comments; 2. 查询本用户的表,视图等select * from user_tab_comments; 3. 查询所有用户的表的列名和注释select * from all_col_comments; 4. 查询本用...
分类:
数据库 时间:
2014-06-27 19:09:21
阅读次数:
278
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.时间复杂度O(n^3),最大全1子矩阵,利用直方图求解,可以参考对...
分类:
其他好文 时间:
2014-06-26 15:08:46
阅读次数:
164
11. View the Exhibit and examine the structure of the PRODUCTS table.All products have a list price.You issue the following command to display the tot...
分类:
其他好文 时间:
2014-06-26 15:01:01
阅读次数:
326
pip是一个安装和管理 Python 包的工具 , 是easy_install的一个替换品。本文将详细说明 安装 pip 的方法和 使用 pip 的一些基本操作如安装、更新和卸载 python 包。在线文档地址:http://pip.readthedocs.org/en/latest/index.....
分类:
编程语言 时间:
2014-06-26 14:57:11
阅读次数:
234
马上进入工作自动化:[root@localhost ~]# cat svn_bbs.py import os,sys,commands,subprocess import re,timesvnUrl = "svn://xxx"svnExportCmdPre = "svn export svn://....
分类:
编程语言 时间:
2014-06-26 14:41:11
阅读次数:
227
用的windows操作系统,真是蛋疼啊,等赚了钱,我真要买一台苹果或者换个12寸的小本,用ubuntu,所以一下命令都是windows的,真心蛋疼啊,为什么没有自动补完啊首先,随便下个django。然后,进入命令行,进入django的文件夹键入如下命令 django>python setup.py....
分类:
其他好文 时间:
2014-06-26 13:10:11
阅读次数:
210
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.Analysis: 这个题简单的版本是判断两个单词是不是anagram,一...
分类:
其他好文 时间:
2014-06-26 12:47:48
阅读次数:
144
6 Python和Nginx
6.1 介绍FastCGI
FastCGI(Fast Common Gateway Interface)是基于CGI上的改进,是CGI的一种演变产物。尽管目的是保持相同的,FastCGI在CGI上提供了重大的提升,通过建立起下面的原则。
l 代替对于每个请求孵化一个新进程,FastCGI采用持久化进程,伴随着能够处理多个请求的能力。...
分类:
编程语言 时间:
2014-06-26 12:06:54
阅读次数:
242