File System
Stability: 3 - Stable
文件系统模块是一个简单包装的标准
POSIX 文件 I/O 操作方法集。您可以通过调用require('fs')来获取该模块。文件系统模块中的所有方法均有异步和同步版本。
文件系统模块中的异步方法需要一个完成时的回调函数作为最后一个传入形参。
回调函数的构成由您调用的异步方法所决定,通常情况下回调函数的第...
百度了许久都没有满意的解决方案,现在终于搞定了。其实,只要 ul 的父元素 css 样式设了 text-align: center; 然后 ul 设了 display: inline-block; li 再设 display: inline; 就可以了。多简单的事儿,我只要这个简单的效果,但网上一堆...
分类:
其他好文 时间:
2015-02-23 23:38:25
阅读次数:
206
如果你能说对下面这个语句的正确输出,那么恭喜你,这篇文章就不用看了~
List nums = Arrays.asList(1,1,null,2,3,4,null,5,6,7,8,9,10);
System.out.println("sum is:"+nums.stream().filter(num -> num != null).distinct().
mapToInt(num ->...
分类:
编程语言 时间:
2015-02-23 22:31:19
阅读次数:
270
using System.Reflection;using System.Windows;using System.Windows.Controls;using System.Windows.Navigation;namespace HC{ /// /// MainWindow.xam...
oracle026
系统改变号(SCN)的详解
SCN 系统改变号,是通过某些函数把时间产生某个数;确保数据文件的一致性,比较先后,新旧;
为什么使用时间产生数字,因为在比较时间的比较慢,而用数字就相对的块点,就像shared pool 比较sql的
使用算出的hash值进行比较。
select dbms_flashback.get_system_change_numbe...
分类:
其他好文 时间:
2015-02-23 17:57:03
阅读次数:
239
oracle024
oracle的存储结构
存储结构——表的存储结构
表空间:由一个或多个文件组成,表空间的空间容量就是多个文件大小的总和
表和数据文件建立一个中间层,表空间中有许多表。
select * from DBA_TABLESPACES;
系统级别:
SYSTEM:orale的自身的信息就是数据字典,数据字典表就放在system表空间中
...
分类:
数据库 时间:
2015-02-23 17:54:46
阅读次数:
206
/**
* 蟠桃记
* 每天吃掉桃子总数一半多一个
*/
import java.util.*;
public class acm2013 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while(in.hasNextInt()){
int d...
分类:
其他好文 时间:
2015-02-23 15:33:42
阅读次数:
170
来自:http://blog.csdn.net/gongzhe2011/article/details/27351853using System.Windows.Forms;using System.Threading;using System;namespace Threaddemo1{ p...
自定义 HTTP 处理程序,从IHttpHandler继承,在写System.Web.HttpContext.Current.Session["Value"]的时 候,没有问题,但想将这个Session写到某个变量时或判断是否为空时 如:HttpContext.Current.Session["Va...
分类:
Web程序 时间:
2015-02-23 10:49:03
阅读次数:
160
During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdoms in China ---- they were Qi, Chu, Yan, Han, Zhao, Wei and Qin. Ying Zheng was the king of the kingdom Qin. Through 9 years of wars, he finally conquered all six o...
分类:
编程语言 时间:
2015-02-23 09:42:05
阅读次数:
254