先看看游戏规则 angular.module("ezstuff",[]).directive("ezClock",function(){ return { restrict : "E", template : "", link : function(scope,element,attrs...
分类:
其他好文 时间:
2015-07-06 17:22:23
阅读次数:
106
1?备份参数文件
$ORACLE_HOME$/dbs
2?按照RAMN备份时的路径复制文件及备份
要求完全按照原服务器路径来
3?删除旧库
SYS@orcl>shutdown?immediate;
SYS@orcl>startup?mount?restrict;
SYS@orcl>drop?dat...
分类:
数据库 时间:
2015-07-06 01:33:36
阅读次数:
309
线程同步-互斥锁
1.初始化互斥锁pthread_mutex_init()
int pthread_mutex_init(pthread_mutex_t *restrict mutex, const pthread_mutexattr_t *restrict attr);
例:
pthread_mutex_t mutex;
pthread_mutex_init(&mut...
分类:
编程语言 时间:
2015-07-04 21:02:33
阅读次数:
195
1、strcpy(p2, c2 ); -------warning:Implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' // 使用strcpy(char *restrict ....
分类:
移动开发 时间:
2015-07-01 00:55:49
阅读次数:
191
1.连接Óracle:sqlplus username/password@sid [as sysdba]SQL>startup force [nomount/mount/open/force/restrict]SQL>shutdown [normal/transactional/immediate/...
分类:
数据库 时间:
2015-06-26 10:53:07
阅读次数:
289
在MySQL中,InnoDB引擎类型的表支持了外键约束。? [CONSTRAINT?symbol]?FOREIGN?KEY?[id]?(index_col_name,?…)
REFERENCES?tbl_name?(index_col_name,?…)
[ON?DELETE?{RESTRICT?|?CASCADE?|?S...
分类:
数据库 时间:
2015-06-25 17:51:10
阅读次数:
194
删除和更新时对应的操作是一样的1 Restrict禁止删除被引用的行 (不能将约束检查推迟到事物的晚些时候)2No Action如果存在任何引用行,则抛出错误,如果不声明任何行为则No Action就是缺省行为 (允许约束检查推迟到事物的晚些时候)3Cascade在删除一个被引用的行时,引用他的行被...
分类:
数据库 时间:
2015-06-24 12:47:03
阅读次数:
2595
与互斥量一样使应用程序在获取读写锁时避免陷入永久阻塞状态。这两个函数是#include #include int pthread_rwlock_timedrdlock(pthread_rwlock_t *restrict rwlock, ...
分类:
其他好文 时间:
2015-06-23 19:57:37
阅读次数:
155
freopen是被包含于C标准库头文件中的一个函数,用于重定向输入输出流。该函数可以在不改变代码原貌的情况下改变输入输出环境。C99函数声明:FILE *freopen(const char * restrict filename, const char * restrict mode, FILE ...
分类:
其他好文 时间:
2015-06-23 17:14:29
阅读次数:
105
angular.module('myApp', []) .directive('myDirective', function() { return { restrict: 'A', replace: true, scope: { ...
分类:
Web程序 时间:
2015-06-15 18:36:54
阅读次数:
129