1、下载oracle11ghttp://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html2、系统环境free-h文件方式添加swap交接分区ddif=/dev/zeroof=/swapfilebs=1Mcount=2048&&mkswap/swapfile&&swapon/swapfile3、检查系统没有安装的依赖包..
分类:
数据库 时间:
2014-09-04 19:22:20
阅读次数:
313
这个是我认为小内存处理中比较靠谱的方式——zram。它就像压缩饼干一样,虽然小小一块饼干看起来不大(zram的压缩页面占用内存),但是一喝水,感觉立马饱了(释放一个页面的内容)。
1.简介
2.如何使能
3.工作流程
4.还有什么能做的?
简介:
zram就是在发生swap事件的时候,不把要置换的页面置换到外部存储中,手机中的外部存储就是EMMC,电脑中的外部存...
分类:
其他好文 时间:
2014-09-04 17:01:59
阅读次数:
407
#虚拟网络拓扑的json数据 def topodata #@vnic = Vnic.all #flash.now[:notice] = 'Message sent!' #flash.now[:alert] = 'Message sent!' simple_json = { nodes:...
分类:
Web程序 时间:
2014-09-04 16:42:29
阅读次数:
299
We've got a large system that's loosely bound to its data source (Navision) via Unity - we're getting the opportunity to swap it out and have our own ...
分类:
系统相关 时间:
2014-09-04 09:32:57
阅读次数:
299
#虚拟网络拓扑json数据 def topodata #@vnic = Vnic.all #flash.now[:notice] = 'Message sent!' #flash.now[:alert] = 'Message sent!' @vnic = { nodes: [{ name...
分类:
Web程序 时间:
2014-09-04 01:32:07
阅读次数:
240
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For e...
分类:
其他好文 时间:
2014-09-03 21:13:57
阅读次数:
142
C语言中,数组名作为参数传递给函数时,退化为指针,sizeof对指针操作结果应该是4。例子如下:#includeusing namespace std;void Swap_arr(char* charArr){ int len = sizeof(charArr); cout usin...
分类:
编程语言 时间:
2014-09-03 21:01:47
阅读次数:
197
浙大acm,第一题 Calculate a + b Input The input will consist of a series of pairs of integers a and b,separated by a space, one pair of integers per line. Output For each pair of input integers a ...
分类:
编程语言 时间:
2014-09-03 06:16:56
阅读次数:
260
题目链接:uva 12338 - Anti-Rhyme Pairs
题目大意:给定若干个字符串,每次询问两个字符串的最长公共前缀。
解题思路:本来应该将每个字符串连接起来做后缀数组,但其实可以直接把一个字符串看成是一个字符,然后排序了就对应是SA数组,然后处理height即可。然后根据后缀数组的性质,字符串i和j的最长公共前缀长度即为rank[i]+1~rank[j]之间height的...
分类:
其他好文 时间:
2014-09-02 22:54:05
阅读次数:
292
import java.util.Scanner;
public class Test1 {
//1,两个变量里的数字进行交换,不依赖第三个变量
int a ;
int b;
public void swap(int a ,int b){
a = a + b;
b = a - b;
a = a - b;
System.out.println("交换后"+"a:"+a+",...
分类:
其他好文 时间:
2014-09-02 21:27:45
阅读次数:
208