在 Oracle 網站上,有個簡單的 UDP 程式範例 ---Lesson: All About
Datagrams,這個程式和前一個程式基本上是差不多的,差別在於,它是由 client 先送個 request 給 server 端,server
端接收到後,回應訊息給 client 端,下面是 O...
分类:
其他好文 时间:
2014-06-02 22:14:48
阅读次数:
212
By reducing your bookmarks to show only the
icons, you can access more of them from the Bookmarks bar. This works great for
sites with recognizable fa...
分类:
其他好文 时间:
2014-06-02 17:39:03
阅读次数:
276
一、函数指针
//
// main.c
// L01Helloc
//
// Created by zj on 14-6-1.
// Copyright (c) 2014年 zj. All rights reserved.
//
#include
void sayHello(){
printf("Helloc C\n");
}
void sayHello1(int i){...
分类:
其他好文 时间:
2014-06-01 15:48:23
阅读次数:
261
Remove ElementGiven an array and a value,
remove all instances of that value in place and return the new length.The order
of elements can be changed. ...
分类:
其他好文 时间:
2014-06-01 12:29:11
阅读次数:
190
事务就是一个逻辑工作单元的一系列步骤。事务是用来保证数据操作的安全性
事务的特征:
Atomicity(原子性)
Consistency(稳定性,一致性)
Isolation(隔离性)
Durability(可靠性)
【事务只针对对数据数据产生影响的语句有效】
show engines //查看mysql锁支持的数据引擎
MyISAM不支持事物,InnoDB支持事物
默认...
分类:
数据库 时间:
2014-06-01 09:39:13
阅读次数:
320
从官网下载了ExtJs的3.2版本的SDK,包含了代码依赖的详细说明、文档、范例和其他文件。其中,adapter和resources文件是Ext正常运行所必须的,其他的仅在开发过程中使用到。
Adapter:支持把Ext和其他代码库一同使用的文件
build:用于自定义构建ext-all.js的文件
docs:文档中心(仅当运行在服务器上时能够正常访问)
examples:大量令人印象深刻...
分类:
Web程序 时间:
2014-06-01 09:35:59
阅读次数:
372
title:
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.
Find the sum of all the primes below two million.
翻译:
10以下的质数的和为2 + 3 + 5 + 7 = 17。
请求出200,0000以下所有质数的和。
import math,time
d...
分类:
其他好文 时间:
2014-06-01 09:12:31
阅读次数:
239
[root@localhost ~]# su - oracle
[oracle@localhost ~]$ sqlplus '/as sysdba'
SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 22 17:10:52 2014
Copyright (c) 1982, 2009, Oracle. All rights re...
分类:
数据库 时间:
2014-06-01 09:02:31
阅读次数:
802
【题目】
Given a collection of integers that might contain duplicates, S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.
The solution set must not contain duplicate subsets.
For example,
If S = [1,2,2], a solution ...
分类:
其他好文 时间:
2014-06-01 08:51:06
阅读次数:
292
今天学习到表的增操作,写个博客总结一下,PS:下面所有的注释都是我在电脑上全部操作完成后,再复制到记事本上添加的。至于在执行的时候可不可以那样添加注释,就有待考证了。
选择库
mysql> show databases;#查看目前有哪些数据库存在
+--------------------+
| Database |
+--------------------+
| inf...
分类:
数据库 时间:
2014-06-01 05:34:00
阅读次数:
453