码迷,mamicode.com
首页 >  
搜索关键字:welcome to emergency mode    ( 12137个结果
tcp.cc
ns2-tcp-tcp.cc 1 /* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */ 2 /* 3 * Copyright (c) 1991-1997 Regents of the U...
分类:其他好文   时间:2014-09-28 13:22:43    阅读次数:301
php 共享内存
共享内存主要用于进程间通信php中的共享内存有两套扩展可以实现1、shmop 编译时需要开启--enable-shmop 参数实例: $shm_key = ftok(__FILE__, 't');/** 开辟一块共享内存 int $key , string $flags , int $mode ,....
分类:Web程序   时间:2014-09-28 02:16:10    阅读次数:200
Python学习-17.Python中的错误处理(二)
错误是多种多样的,在 except 语句中,可以捕获指定的异常修改代码如下: 1 import io 2 3 path = r'' 4 mode = 'w' 5 6 try: 7 file = open(path,mode) 8 str = file.read() 9 p...
分类:编程语言   时间:2014-09-28 02:08:20    阅读次数:352
vi的常用快捷键
vi可分为三种操作状态,分别是命令模式(Command mode)、插入模式(Insert mode)和末行模式(Last line mode) Insert的切换→Command mode,按Esc键 离开vi及存文件  在Command mode下,可按冒号“:”键入入Last line mode,例如:  :w filename (输入“w filename”,将文章存入指定...
分类:其他好文   时间:2014-09-27 17:45:00    阅读次数:241
Python学习-10.Python函数定义(二)
在Python中定义函数的时候,可以使用参数默认值的方式定义函数例子:1 def welcome(who,state='is',action='talking'):2 print(who,state,action)调用函数:1 welcome('Tom')输出Tom is talking1 ...
分类:编程语言   时间:2014-09-27 16:33:59    阅读次数:195
字符串翻转
将字符串翻转,如下: 输入:Hi Welcome to cricode 输出:cricode to Welcome Hi #include #include #include using std::cout; using std::endl; using std::string; using std::stack; void main() { string...
分类:其他好文   时间:2014-09-27 13:09:29    阅读次数:175
animation-fill-mode: none | forwards | backwards | both; 检索或设置对象动画时间之外的状态。
这几天在手机微信分享页面时,有用到css3动画,现将其一些属性列举出来,方便以后学习查找。 动画的一些属性: animation-name: none | [ , none | ]*;定义一个或多个动画名称。 animation-duration: [,]*; 指定对象动画的持续时间 。 animation-timing-function: linear | eas...
分类:其他好文   时间:2014-09-27 11:33:29    阅读次数:1057
ASP.NET定制简单的错误处理页面
通常Web应用程序在发布后,为了给用户一个友好界面和使用体验,都会在错误发生时跳转至一个自定义的错误页面,而不是ASP.net向用户暴露出来的详细的异常列表。简单的错误处理页面可以通过web.config来设置以下为引用的内容:<customErrors mode="RemoteOnly" defa...
分类:Web程序   时间:2014-09-26 21:21:48    阅读次数:203
限制<input />只能录入阿拉伯数字
<input id="item" style="IME-MODE: disabled; WIDTH: 15px; HEIGHT: 10px"? onkeyup="this.value=this.value.replace(/\D/g,‘‘)" onafterpaste="this.value=this.value.replace(/\D/g,‘‘)" maxlength="5" size=...
分类:其他好文   时间:2014-09-26 11:36:09    阅读次数:171
Hibernate注解:一对多外键关联
情形:两个表,cms_mode是主表,cms_model_field是子表,cms_model_field的model_id字段关联到cms_model的主键。## Source for table cms_model#DROP TABLE IF EXISTS `cms_model`;CREATE ...
分类:系统相关   时间:2014-09-26 10:05:59    阅读次数:237
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!