之前对于erlang的进程字典了解的不够清楚,只是知道put()、get()函数,即存值和取值,而每个put、get中都有自己的一对Key——Value(键值对)与之对应。一个Key对应一个Value.在erlang中,启动进程节点之后,进程字典的put、get的值是对缓存的处理,而对数据库的操作,...
分类:
其他好文 时间:
2014-04-29 22:52:14
阅读次数:
521
随着互联网业务对性能需求日益强烈,作为Key/Value存储的Redis具有数据类型丰富和性能表现优异的特点。如果能够熟练地驾驭它,不管是把它用做缓存还是存储,对很多大型应用都很多帮助。新浪作为世界上最大的Redis使用者,体会到了Redis为高并发在线业务带来的好处,但同时也遇到了很多挑战,新浪为...
分类:
其他好文 时间:
2014-04-29 21:36:19
阅读次数:
671
public abstract
classAsyncTaskextendsObjectjava.lang.Object?android.os.AsyncTaskClass
OverviewAsyncTask enables proper and easy use of the UI thread. ...
分类:
移动开发 时间:
2014-04-29 21:05:32
阅读次数:
748
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;namespace 计算字符{ class
Program { ...
分类:
其他好文 时间:
2014-04-29 20:45:02
阅读次数:
446
Mindjet.MindManager2012.v10.0在应用个别模板时提示“参数错误”,然后自动关闭。
解决办法:
如果是win7系统,可以进入C:\Users\(用户名)\AppData\Local\Mindjet\MindManager\10\Library\ENU\Templates,
可...
今天想探索一下cocos2dx的内存管理,我们就先从CCObject开始吧class
CC_DLL CCObject : public CCCopying{public: // object id, CCScriptSupport need
public m_uID unsigned i...
分类:
其他好文 时间:
2014-04-29 18:51:08
阅读次数:
575
{使用一般处理程序动态生成验证码}1.新建WebSite项目,添加一般处理程序命名为yzm.ashx,添加如下代码:
public void ProcessRequest(HttpContext context) {
//将context.Response.ContentType = "text/p...
分类:
Web程序 时间:
2014-04-29 18:33:35
阅读次数:
501
package com.szy.service;import
android.app.IntentService;import android.content.Intent;import
android.util.Log;public class ExampleIntentService exten...
分类:
其他好文 时间:
2014-04-29 18:02:50
阅读次数:
432
简单记录:模糊查询的select语句的拼写 public List
GetWhereStudent(string name, string sub, string isG) { List lt = new List();
str...
分类:
Web程序 时间:
2014-04-29 17:17:34
阅读次数:
864
一个是解决在onActivityResult中判断requestCode的问题,第二个是让调用代码的地方就知道我是如何处理对方activity的返回的。
首先我们有一个ResultActivityAdaptor,这个就封装了我的主要的逻辑public class ResultActivityAdap...
分类:
移动开发 时间:
2014-04-29 17:11:25
阅读次数:
550