手动敲了一遍计算pi的示例:http://www.gtan.com/akka_doc/intro/getting-started-first-scala.html有个笔误,花了半个小时定位。 1 [Torstani@sparkb5-i ~/akka_example/pi]$ cat src/Pi.s...
分类:
其他好文 时间:
2014-12-10 22:45:51
阅读次数:
186
Install libaioMySQL depends onthe libaio library. If you have not the libaio installed on your system, then install it first.apt-get install libaio1If...
分类:
数据库 时间:
2014-12-10 15:42:59
阅读次数:
213
译文:http://www.cnblogs.com/Bce-/category/573301.html原文:http://www.asp.net/mvc/overview/getting-started/getting-started-with-ef-using-mvc/creating-an-en...
分类:
Web程序 时间:
2014-12-10 14:09:33
阅读次数:
157
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:
其他好文 时间:
2014-12-10 14:03:26
阅读次数:
144
P8 Visible Lattice PointsTime Limit:1000ms, Memory Limit:65536KBDescriptionA lattice point (x, y) in the first quadrant (x and y are integers greater ...
分类:
其他好文 时间:
2014-12-10 13:55:56
阅读次数:
169
策略模式定义了算法族,分别封装起来,让它们之间可以互相替换,此模式让算法的变化独立于使用算法的客户Interfaceusing System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ...
分类:
其他好文 时间:
2014-12-10 12:29:32
阅读次数:
161
Learn how to import data into your MongoDB and then use Express to serve a simple Node.js API.Import data into MongoDB:For exmaple, you have an data.j...
分类:
数据库 时间:
2014-12-10 07:03:17
阅读次数:
227
/****date:2014.12.08*****/
/***顺序栈的基本操作***/ /*** Last in First out ( LIFO ) ***/
顺序栈:使用地址连续的内存单元依次保存栈中的数据,可以定义一个指定大小的结构数组来作为栈;栈底元素序号为0,栈顶元素序号为Top;
栈内元素遵循“后进先出“(LIFO)原则;只能在栈的一端进行操作,即在栈顶位置对栈内元素进行操作。
...
分类:
其他好文 时间:
2014-12-10 00:36:00
阅读次数:
242
主要内容:链表头插法和尾差法
#include
//typedef int data;
typedef struct node
{
char data;
struct node* next;
}linklist;
/* method 1 insert node as first element */
linklist* CreateList1()
{
char ch;
linkl...
分类:
编程语言 时间:
2014-12-10 00:33:45
阅读次数:
224
本文介绍了如何创建一个model。并且介绍了用Entity Framework 的Code First方法持久化数据。
分类:
Web程序 时间:
2014-12-10 00:22:29
阅读次数:
253